M3U8 Live Stream To FB Live

Tim Müller tim at centricular.com
Tue Feb 6 09:00:50 UTC 2018


On Tue, 2018-01-30 at 16:20 -0700, croznut wrote:

Hi,

To play an HLS stream properly you need playbin or playbin3.

What you could do is have two pipelines: 1) playbin(3) for playback,
and 2) one for encoding/streaming, and then bridge the two pipelines
with inter{audio,video}{sink,src}, something like this:

  gst-launch-1.0 playbin3 uri=http://...m3u8 \
                          video-sink=intervideosink \
                          audio-sink=interaudiosink \
   intervideosrc ! videoconvert ! queue ! xvimagesink \
   interaudiosrc ! audioconvert ! queue ! pulsesink

But instead of the sinks you put your encoding/muxing/streaming
pipeline that you already have.

Cheers
 -Tim

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


More information about the gstreamer-devel mailing list