USB Camera interfacing with IMX8M QUAD EVKB

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

USB Camera interfacing with IMX8M QUAD EVKB

757 Views
Manikandan
Contributor II
Hello,
I'm trying to interface the Sony FCB (camera) with IMX8M QUAD EVKB. but i'm getting some error as followed
 
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000267362
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
 
But..!  i'm able to interface a another USB camera ( small web camera like one) with IMX8M QUAD EVKB
I have attached both the camera output please find the attachment
what will be the problem ?
Do i need to use any particular plugin ?
 
please help me to get resolve this
Thank you
 
 
0 Kudos
2 Replies

747 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

  You need to pay attention to the video output format of the camera. It seems that the image output formats of your two cameras are different, so the command parameters of gstreamer are also different. You can search on google:

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.

You can get a lot of experience sharing. 

for example:

https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/205

 

Hope this information is helpful to you.

Have a nice day!

B.R,

weidong

 

0 Kudos

757 Views
Manikandan
Contributor II

Screenshot from 2021-02-04 17-29-37.png

Screenshot from 2021-02-04 17-30-21.png

  

0 Kudos