当前位置:网站首页>Notes on using GST launch
Notes on using GST launch
2022-07-20 10:22:00 【UeFan】
In today's tx2 Connect the camera ( Microsoft's camera ), You can directly use the following instructions :
gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink
later , Connect the camera to the notebook (macbook pro,parallel Use in ubuntu), The corresponding device route , You will also report mistakes. , Then I tried autovideosink Switch to xvimagesink perhaps ximagesink Neither. , Will report some different errors , such as
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
later , Turn to this article https://blog.csdn.net/meng_tianshi/article/details/80142005, It says
ffmpegcolorspace : Plug in for color conversion Filter for converting multiple color formats , Camera device video data is usually used YUV Color format , The monitor usually uses RGB Color format
So use the following code , It's on my computer , The camera is finally working
gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! autovideosink
P.S. gst-launch、gst-launch-0.1、gst-launch-1.0 I'm all over it ... As for those that can be installed differently , This remains to be studied ...
边栏推荐
猜你喜欢
Mikrotik ROS soft route setting Internet access mode (II)
zabbix 自动发现并监控ceph osd
系统安全和运用
Network Security Learning (XVIII) single arm routing, ICMP, layer 3 switching
论文笔记:Self-critical Sequence Training for Image Captioning
Mikrotik ROS软路由设置上网方式(二)
论文笔记:Knowing When to Look: Adaptive Attention viaA Visual Sentinel for Image Captioning# Knowing Whe
【资源记录】VAE 学习笔记
进程间通信之消息队列(内附相关可执行代码)
第三次实验 ospf
随机推荐
DHCP第一次静态实验
网络安全学习(十四)IP协议
MySQL Galera cluster configuration
使用 gst-launch 小记
Lombok配合Logback实现最简单的日志输出
網絡安全學習(十七)VlAN
网安学习(二十)ACL
Migrate KVM virtual machine to openstack environment, and prompt invaliddiskinfo disk info file is invalid QEMU img FAI
网络安全学习(十三)数据链路层
RedHat 7 replace Yum source
DHCP service and configuration
传输层协议
Nanjing University calculation method (numerical analysis) final review notes
Unity practical framework (I) scenario management framework
CEPH detailed mon_ osd_ max_ split_ count
ZABBIX chart Chinese garbled
黑马程序员定时器
重载(Overload) 与 重写(Override)的区别
Mikrotik ROS soft route setting Internet access mode (III)
MariaDB Tutorial