简体   繁体   English

gst-launch-1.0 错误管道:无法将 queue2 链接到 videoconvert0

[英]gst-launch-1.0 erroneous pipeline: could not link queue2 to videoconvert0

I am trying to send a video source to three outputs: multicast, filesystem, and (resized video) display with gst-launch-1.0 .我正在尝试将视频源发送到三个输出:多播、文件系统和(调整大小的视频)显示gst-launch-1.0

This is the command,这是命令,

gst-launch-1.0   videotestsrc  !  x264enc  !  tee name=t  \
  t.  !  queue  !  rtph264pay  !  udpsink host=224.1.1.1 port=20000 auto-multicast=true  \
  t.  !  queue  !  h264parse  !  splitmuxsink location=./vid%02d.mkv max-size-time=10000000000  \
  t.  !  queue  !  videoconvert  !  videoscale  !  video/x-raw,width=100  !  autovideosink

and this is the error,这是错误,

WARNING: erroneous pipeline: could not link queue2 to videoconvert0

Your problem is that you are sending h264 stream to videconvert that rather expects raw video.您的问题是您正在将 h264 stream 发送到 videconvert 而不是期望原始视频。 So you would just add decoding:所以你只需添加解码:

gst-launch-1.0 -e videotestsrc ! video/x-raw,width=640,height=480,framerate=30/1 ! queue ! x264enc ! tee name=t    t. ! queue ! rtph264pay ! udpsink host=224.1.1.1 port=20000 auto-multicast=true     t. ! queue ! h264parse ! splitmuxsink location=./vid%02d.mkv max-size-time=10000000000     t. ! queue ! h264parse ! avdec_h264 ! videoconvert ! videoscale ! video/x-raw,width=100 ! autovideosink

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Queue.dequeue 挂在 Tensorflow 输入管道中 - Queue.dequeue hanging in Tensorflow input pipeline 使用双链接列表构建学生列表队列 - Building a Queue of student lists with a Double link list 只要一个完成并在队列中启动下一个作业,Python多个子进程就会有一个池/队列恢复输出 - Python multiple subprocess with a pool/queue recover output as soon as one finishes and launch next job in queue jQuery“队列”方法中的功能只能执行一次? - The function in jquery “queue” method could be executed only once? Resque:必须将作业放入队列。 无法为类Worker推断队列 - Resque: Jobs must be placed onto a queue. No queue could be inferred for class Worker Python服务器,作业队列,启动多处理作业 - Python Server, Job Queue, Launch Multiprocessing Job 如何将多个对象链接到队列 - How to link multiple objects to Queue 在 Java 中使用 Link 实现队列 - Implementing queue using Link in Java SocketException 无法对套接字执行操作,因为系统缺少足够的缓冲区空间或队列已满 - SocketException An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 可以将两个数组标记为一个队列吗? - Could two arrays be labeled as a single queue?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM