你好,感謝您的閱讀,GStreamer的管道與udpsrc decklinksrc視頻採集卡和udpsink使用RTP
我有麻煩搞清楚我的GStreamer的管道應該是什麼樣子,從一個Ubuntu的送我的Blackmagic decklinksrc視頻機器到另一個使用RTP和UDP的同一網絡上。
要在本地觀看視頻,請使用以下管道: gst-launch-0.10 decklinksrc mode = 11 connection = 0! ffmpegcolorspace! xvimagesink sync = false
這對我的本地設置在兩臺機器上都很好。請注意,模式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)理解。如果你知道我做錯了什麼,甚至更好!
感謝, 蘭迪