use gstreamer to stream decklinkvideosource into transport stream

Tim Müller tim at centricular.com
Fri Aug 12 15:23:33 UTC 2016


On Fri, 2016-08-12 at 15:38 +0200, g.roelant at telenet.be wrote:

Hi,
 
> gst-launch-1.0 decklinkvideosrc device-number=2 connection=HDMI
> mode=11 ! video/x-raw,format=I420,width=1920
> ,height=1080,profile=main ! x264enc tune=zerolatency byte-stream=true 
> bitrate=10000 threads=2 ! h264parse config-interval=1 ! rtph264pay !
> udpsink host=127.0.0.1 port=5000
> WAARSCHUWING: foutieve pijplijn: kon decklinkvideosrc0 niet verbinden
> met x264enc0
>  
> gstreamer can not connect decklinkvideosrc0 to x264enc0

Try just

  decklinkvideosrc device-number=2 connection=HDMI mode=11 !
videoconvert ! x264enc ! video/x-h264,stream-format=byte-
stream,profile=main ! ...


no need to specify a caps filter if you specify the mode already. Also
there's no "profile" field in raw video caps (you will need to put
filtercaps after x264enc to force a profile).

Note that I'm not sure if x264enc will handle interlaced input
correctly (there might be some code missing that looks at the incoming
video stream and configures the encoder properly for interlaced input).

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list