GST_DEBUG=3 gst-launch-1.0 filesrc location=video_capture.mjpg ! jpegparse ! v4l2jpegdec ! imxvideoconvert_g2d ! "vide
o/x-raw,format=BGRx" ! queue ! waylandsink
Setting pipeline to PAUSED ...
====== V4L2DEC: 1.26.6 build on Feb 4 2026 05:41:58. ======
Pipeline is PREROLLING ...
0:00:00.174983569 1329 0xffff94000f00 WARN v4l2 gstv4l2object.c:2566:gst_v4l2_object_get_streamparm:<v4l2jpegdec0:src> VIDIOC_G_PAR
M failed
0:00:00.175175153 1329 0xffff94000f00 WARN v4l2 gstv4l2object.c:5596:gst_v4l2_object_probe_caps:<v4l2jpegdec0:src> Failed to probe
pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
0:00:00.175557403 1329 0xffff94000f00 ERROR v4l2videodec gstv4l2videodec.c:731:gst_v4l2_video_dec_negotiate:<v4l2jpegdec0> not negotiated
0:00:00.175599487 1329 0xffff94000f00 ERROR v4l2videodec gstv4l2videodec.c:960:gst_v4l2_video_dec_loop:<v4l2jpegdec0> Failed to setup captur
e queue
0:00:00.182720416 1329 0xffff94000d70 WARN baseparse gstbaseparse.c:3748:gst_base_parse_loop:<jpegparse0> error: Internal data stream er
ror.
0:00:00.182794291 1329 0xffff94000d70 WARN baseparse gstbaseparse.c:3748:gst_base_parse_loop:<jpegparse0> error: streaming stopped, reas
on not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstJpegParse:jpegparse0: Internal data stream error.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.26.6.imx/libs/gst/base/gstbaseparse.c(3748): gst_base_parse_loop (): /GstPipeline:pipeline0/GstJpegParse:jpegparse0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
не работает аппаратный v4l2jpegdec
root@imx95-15x15-lpddr4x-frdm:~# GST_DEBUG=3 gst-launch-1.0 filesrc location=video_capture.mjpg ! jpegparse ! jpegdec ! imxvideoconvert_g2d ! "video/x-
raw,format=BGRx" ! queue ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.055033058 1315 0xffff80000d70 FIXME videodecoder gstvideodecoder.c:1193:gst_video_decoder_drain_out:<jpegdec0> Sub-class should impl
ement drain()
0:00:00.075600763 1315 0xffff80000d70 WARN video-info video-info.c:817:gst_video_info_to_caps: invalid matrix 0 for RGB format, using RGB
0:00:00.298103834 1315 0xffff80000be0 WARN wlwindow gstwlwindow.c:546:gst_wl_window_new_internal: init surface_state fail, fallback to
scale=1 fullscreen (1920x1048)
работает, но медленно. Возможно надо на железе делать scale 4k to 1080p