gst 测试摄像头命令

Posted wx610213d5aa4a5

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gst 测试摄像头命令相关的知识,希望对你有一定的参考价值。

二、不显示图像的

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=300 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc maxperf-enable=true MeasureEncoderLatency=true ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v


gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=300 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc maxperf-enable=true MeasureEncoderLatency=true ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v



gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=300 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc maxperf-enable=true MeasureEncoderLatency=true ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v


gst-launch-1.0 v4l2src device=/dev/video3 num-buffers=300 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc maxperf-enable=true MeasureEncoderLatency=true ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v


gst-launch-1.0 v4l2src device=/dev/video4 num-buffers=300 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc maxperf-enable=true MeasureEncoderLatency=true ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v

正常如下:显示

gst

以上是关于gst 测试摄像头命令的主要内容,如果未能解决你的问题,请参考以下文章

英伟达jetson盒子gst-inspect-1.0多个进程解包解编码单个海康摄像头rtsp流报错:Error (453): Not Enough Bandwidth(海康限制)

英伟达jetson盒子gst-inspect-1.0多个进程解包解编码单个海康摄像头rtsp流报错:Error (453): Not Enough Bandwidth(海康限制)

Gstreamer 录制带音频的视频

PyQt5 + Gstreamer

DeepStream系列之命令行pipeline帧率检测

DeepStream系列之命令行pipeline帧率检测