use gstreamer to stream decklinkvideosource into transport stream

g.roelant at telenet.be g.roelant at telenet.be
Fri Aug 12 15:49:39 UTC 2016


ok, thanks this works....

in order to send this ts to a dvb-s2 transmitter in gnuradio, this stream has to be in constant bit rate (CBR)
is this feature already provided?


----- Oorspronkelijk bericht -----
Van: "Tim Müller" <tim at centricular.com>
Aan: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Verzonden: Vrijdag 12 augustus 2016 17:23:33
Onderwerp: Re: use gstreamer to stream decklinkvideosource into transport stream

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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list