Hi all,
I test it on imx6qsabresd and version is 3.14.28-1.0.1.
I change the display output to HDMI and type command "gst-launch-1.0 imxv4l2src device=/dev/video1 ! 'video/x-raw, capture-mode=5, format=(string)NV12, width=1920, height=1080, framerate=(fraction)30/1' ! imxv4l2sink".
When I exit, gstreamer tell me the frame rate only at 15fps.
Is there anyone know how to fix it?
In the BSP default, /dev/video1 is the second camera.
Hi Terry,
Could you share what is coming from your /dev/video1? Are you sure this source supports a 1080p resolution? If not, it means that you are scaling the image in software which could explain the low framerate.
Could you try changing the pipeline to use a fakesink instead of the imxv4l2sink. This would tell if the problem comes form the source or the sink or the conversion in between.
Regards,
Gary
Hi /dev/video1 is ov5640 mipi, capture-mode=5 is 1080p30 sensor mode.
I check the function camera_callback in Mxc_v4l2_capture.c and it runs at 30fps.
So I think the problem is not from sensor.
I use fakesink but does not come out any more information.
I'm not familiar with gstreamer, can you give me more information?
Thank you.
Regards,
Terry
Please try /dev/video17, /dev/video18 or /dev/video19.
You can ls /dev/video* to get all video device.
Hi all,
Thanks for your reply.
I find out the solution from here.
Re: MIPI Camera preview half fps in Yocto 3.14.28_1.0.1patch
I need replace imxv4l2sink to autovideosink.
It looks like the problem comes from imxv4l2sink but i still doesn't know the root cause.