Full HD camera input using gstreamer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Full HD camera input using gstreamer

Jump to solution
2,966 Views
zhencongtee
Contributor III

Hi all,

I am trying to input the camera input in full HD format using gstreamer, and i come across the below thread:

How to set imx6 camera resolution with gstreamer

I tried to set the capture mode to 5 (1920x1080), but gstreamer returns me error below:

root@imx6qsabresd:~# gst-launch mfw_v4lsrc capture-mode=5 ! mfw_v4lsink

MFW_GST_V4LSRC_PLUGIN 3.0.11 build on Jun 17 2014 15:53:58.

ov5640 initial set to VGA 30fps

ERROR: v4l2 capture: slave not found!

MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Jun 17 2014 15:53:52.

Setting pipeline to PAUSED ...

ov5640 initial set to VGA 30fps

Set ov5640 mode to 1080P

ov5640 frame rate is 30fps

mxc_v4l2_s_param: vidioc_int_s_parm returned an error -22

ERROR: Pipeline doesn't want to pause.

Setting pipeline to NULL ...

Total rendered:0

Freeing pipeline ...

[--->FINALIZE v4l_sink

Some of the print out above about the video resolution setting to the camera is done by me into the ov5640 camera driver so that i can make sure what resolution setting is used by the camera.

Is it gstreamer really cannot take in full HD camera input? or is there anything i missed out that need to be done so that gstreamer can take in full HD camera input?

Thank you.

Regards,

Zhen Cong Tee

Labels (3)
1 Solution
1,597 Views
Yuri
NXP Employee
NXP Employee
0 Kudos
3 Replies
1,597 Views
Yuri
NXP Employee
NXP Employee

   The imx6qsabresd board has two embedded cams : MIPI cam and parallel cam.
Only one of them support the full HD.

Please take a look at the following threads :

VPU performance: CSI-2 MIPI camera vs. USB camera


CPU load when streaming full HD camera input to full HD HDMI display

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,597 Views
zhencongtee
Contributor III

Hi Yuri,

I had make some background study on the IPU parallel input and MIPI input.

Basically the camera ov5640 supports 8 bit data bus, so, in order to take in one pixel, it needs to take 3 cycle. This will exceed the bandwidth that is set in the IPU (as in reference manual).

I believe that is why parallel bus camera does not support 1080p resolution.

MIPI 1080p at 30fps, in the other hand, will not exceed the bandwidth.

Do you agree with my statement above?

Thank you.

Regards,

Zhen Cong Tee

0 Kudos
1,598 Views
Yuri
NXP Employee
NXP Employee

Yes :-)

0 Kudos