Found a way to abuse HTTP Live Streaming to do movie night-type live streams without the need for RTMP. You can make ffmpeg remux a video file to an HLS live event playlist in real-time. It's synced between all people watching and you only need an HTTP server to host it.
-
Show this thread
-
It's also a lot easier to do adaptive bitrate streaming compared to my previous nginx-rtmp setup. There is even a plug-and-play library for sharing the mpegts segments via webtorrent.
1 reply 0 retweets 0 likesShow this thread -
wrote a python PoC to do this. it works, but i'd like to be able to encode the segments ahead of time and have another script to "cast" the HLS VOD playlist as a live event (with DASH) also: took all annoyance out of dealing with files with multiple audio/subtitle trackspic.twitter.com/awzMzjwuMD
1 reply 0 retweets 0 likesShow this thread
WIP: Feed it a path to a video file. It gives you the ffmpeg command to stream it using HLS. Make the resulting .ts + m3u8 files available over HTTP, then point your media player/<video> tag at the .m3u8. Enjoy your IRC movie night. https://donk.sh/d/mja0mj7omx.py
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Meiklejohnian absolutist. free speech as in free-for-everyone.
mutuals: