gst-1.0工具
1)查看videosink(如果不想精确指定可以使用autovideosink)
gst-inspect-1.0 | grep videosink
2)播放相机数据
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! videoconvert ! autovideosink
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! videoconvert ! autovideosink
gst-launch-1.0 v4l2src device=/dev/video5 ! 'video/x-raw,format=YUY2,width=1920,height=1536' ! videoconvert ! fpsdisplaysink video-sink=xvimagesink sync=false