M3U8 Live Stream To FB Live

croznut CROZNUT at GMAIL.COM
Tue Jan 30 23:20:51 UTC 2018


So I'm just learning GStreamer and am wanting to stream live video on a
schedule to Facebook Live. 

I have the script that auto creates a FB live post.

But what I'm trying to figure out is how to pull in a M3U8 stream feed and
push it through gstreamer and out to FB Live.

I can do it all day long on FFMPEG, but can't seem to figure it out for
Gstreamer.

Here is the test code that I have that sends bars and tones... but how do i
change this to accept an M3U8 source and push to FB Live? (I've just started
going through the gstreamer guide)

gst-launch-1.0 flvmux name=mux streamable=true ! rtmpsink location="$url"
videotestsrc is-live=true !
"video/x-raw,width=1280,height=720,framerate=30/1" ! identity sync=true !
x264enc bitrate=2500 key-int-max=60 ! video/x-h264,profile=high ! h264parse
! queue ! mux. audiotestsrc is-live=true ! audio/x-raw,rate=44100,channels=2
! identity sync=true ! voaacenc bitrate=128000 ! queue ! mux.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list