您好,感谢您的阅读,
我无法弄清楚我的 gstreamer 管道应该是什么样子,以便使用 RTP 和 UDP 将我的 Blackmagic decklinksrc 视频从一台 Ubuntu 机器发送到同一网络上的另一台机器。
要在本地查看视频,我使用以下管道: gst-launch-0.10 decklinksrc mode=11 connection=0 !ffmpeg色彩空间!xvimagesink 同步=假
这在我的本地设置的两台机器上都可以正常工作。请注意,模式 11 是 1080i 59.94FPS。
这是主机和客户端的粗略管道:
客户(首先开始):
gst-launch-0.10 udpsrc port=6100 caps="application/x-rtp, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2,width=(string)1920, height=(string)1080,colorimetry=(string)BT709-2, depth=(string)8" ! rtpvrawdepay ! xvimagesink
主持人:
gst-launch-0.10 decklinksrc mode=11 connection=0 ! tee ! queue ! ffmpegcolorspace ! rtpvrawpay ! udpsink host=xx.xx.xxx.xx port=6100 tee0. ! queue ! xvimagesink sync=false
我尝试了各种参数,并且尝试了多个端口,但都没有运气。每次两台机器输出:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ..
Setting pipeline to PLAYING ...
New clock: GstSystemClock
任何有助于解释不同属性的信息(例如 rtpvrawpay)都值得赞赏。如果你知道我做错了什么,那就更好了!
谢谢,兰迪