Hi,
I try to decode a Mjpeg USB camera with v4l2jpegdec.
Usb camera can output 1920x1080 and 1280x720 at 30fps
gst-launch-1.0 -v v4l2src device=$device ! image/jpeg,width=1280,height=720,framerate=30/1 ! v4l2jpegdec ! fakesink
is working
gst-launch-1.0 -v v4l2src device=$device ! image/jpeg,width=1920,height=1080,framerate=30/1 ! v4l2jpegdec ! fakesink
shows an error:
gst_v4l2_memory_group_new: buffer size 3110400 is smaller then negotiated size 3133440, this is usually the result of a bug in the v4l2 driver or libv4l.
I guess that's because v4l2-ctl shows at my coda960 mjpeg decoder
Format Video Capture:
Width/Height : 1920/1088
That 1088 pixels height leads to that error in my opinion.
Cause Coda960 encoder gets 1080 pixels, 8 pixels less than programmed, resulting in a wrong negotiated buffer size.
Any idea, how I can solve that issue?
Thanks!
Hi Jakob
what bsp used in the case, may be recommended to try latest nxp linux from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y
Documentation
Best regards
igor