HTTP Live Streaming with on-the-fly encoding of any video file for Web/Apple TV/iPhone/iPad/iPod
HTTP Live Streaming with on-the-fly encoding of any video file for Apple TV, iPhone, iPad, iPod, Mac Safari and other devices that support HTTP Live Streaming. Also supports Android and normal desktop browsers through the use of mediaelement.js
hls-vod
is a server application lets you stream your whole video collection on-demand, regardless of format, to your iOS devices, playable from Safari, working with AirPlay as well. It does this by invoking ffmpeg/VLC on the fly through the command line, and presenting a web based GUI for playback.
Version 1.0 is out with simpler usage 🎉
npm i -g hls-vod
hls-vod --root-path /path/to/my/videos
hls-vod --transcoder-path /path/to/ffmpeg --root-path /path/to/my/videos
hls-vod --transcoder-type vlc --root-path /path/to/my/videos
hls-vod --transcoder-type vlc --transcoder-path /usr/bin/vlc --root-path /path/to/my/videos
hls-vod
supports both VLC and ffmpeg as streaming backend. ffmpeg gives the best performance and best format/codec support, in my experience. Thumbs and audio is not implemented for VLC.
--root-path PATH - Root path allowed to read files in. Defaults to current directory.
--cache-path PATH - Where to write transcoded video cache. Defaults to OS temp dir.
--transcoder-type vlc|ffmpeg - Defaults to ffmpeg.
--transcoder-path PATH - Will use ffmpeg or vlc in PATH if not specified.
For more arguments run it without arguments: hls-vod