万事须己运,他得非我贤。这篇文章主要讲述gst 测试摄像头命令相关的知识,希望能为你提供帮助。
【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
正常如下:显示
文章图片
推荐阅读
- 过了35岁还有必要学习linux吗
- Nginx使用X-Frame-Options防止被iframe跨域
- centos7离线安装htop
- JMeter性能测试中如何使用“用户参数”实现参数化
- LINUX学习第十九天
- mac下将python2.7改为python3
- 软件分享(网页监测及IIS重启工具)
- WordPress(WooCommerce你的订单已禁用)
- WordPress”wp-admin”重定向到用户帐户登录