A simple scala program that uses ffmpeg to convert videos to multivariant hls
Compile/Install ffmpeg Ubuntu (WARNING: Takes a loooong time!)
$ scripts/install-ffmpeg-ubuntu.sh
Install ffmpeg osx (requires homebrew)
$ scripts/install-ffmpeg-osx-requires-homebrew.sh
Compile
$ sbt compile
Test
$ sbt test
Run
$ sbt run <in-dir> <out-dir> <bitrates>
Package (Create Jar)
$ sbt one-jar
Run Jar:
$ java -jar video-hls-converter.jar <in-dir> <out-dir> <bitrates>
$ java -jar video-hls-converter.jar videos hls 128,256