Camera stream format conversion

roland.hsiao roland.hsiao at viscovery.com
Wed May 3 07:59:25 UTC 2017


Hi

Currently we'd like to apply camera to evaluation on Nvidia Tx1 platform. We
need gstreamer to transform the video format to yuv420.

Camera 1 supports RGB32, YUV411.
I tried these command, but it shows v4l2src0: Internal data flow error.
Please help me correct it.
1. gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,
format=(string)RGBA, width=1920, height=1080' ! videoconvert !
'video/x-raw,format=I420' ! filesink location=dump.yuv
2. gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,
format=(string)RGBA, width=1920, height=1080' ! videoconvert ! xvimagesink

Camera 2 supports RGB bayer 
I tried this command, but it shows v4l2src0: Internal data flow error.
Please help me correct it.
gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-bayer, width=1280,
height=720' ! bayer2rgb ! videoconvert ! xvimagesink

Any suggestion is highly appreciated.

Roland



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Camera-stream-format-conversion-tp4682899.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list