AnsweredAssumed Answered

imxv4l2videosrc capabilities imx6q

Question asked by ieio on May 21, 2018
Latest reply on May 30, 2018 by ieio

Hi I am trying to use a camera in RGB888 but when I try to get the stream with:

root:~# gst-launch-1.0 -e -v imxv4l2videosrc device=/dev/video0 ! 'video/x-raw,format=(string)RGB' ! imxipuvideosink

I got:

WARNING: erroneous pipeline: could not link imxv4l2videosrc0 to imxipuvideosink0

If I do not force capfilters:


root@:~# gst-launch-1.0 -e -v imxv4l2videosrc device=/dev/video0 ! imxipuvideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)UYVY\,\ width\=\(int\)400\,\ height\=\(int\)240\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstImxIpuVideoSink:imxipuvideosink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)UYVY\,\ width\=\(int\)400\,\ height\=\(int\)240\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1"
Setting pipeline to PLAYING ...

 

it chooses format UYVY, and actually I can see an image, but the colors are not correct.

I do not understand why, has anyone an aswer for this? 

Outcomes