这个带有一个接收器的gstreamer流水线可以工作:
gst-launch-1.0 udpsrc port=5600 do-timestamp=true ! application/x-rtp,media=video,clock-rate=90000,encoding-name=H264 ! queue ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink这条管道,有2个接收器,也可以工作:
gst-launch-1.0 videotestsrc ! tee name=t ! queue ! autovideosink t. ! queue ! autovideosink但这条有两个水槽的管道却停滞不前:
gst-launch-1.0 udpsrc port=5600 do-timestamp=true ! application/x-rtp,media=video,clock-rate=90000,encoding-name=H264 ! queue ! rtph264depay ! h264parse ! tee name=t queue ! avdec_h264 ! autovideosink t. ! queue ! avdec_h264 ! autovideosink为什么?
版本信息:
$ gst-launch-1.0 --version
gst-launch-1.0 version 1.16.2
GStreamer 1.16.2
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0谢谢!
发布于 2021-09-02 07:38:10
! tee name=t queue !
tee和queue之间缺少!。
https://stackoverflow.com/questions/69019144
复制相似问题