Skip to content

gilbertw1/video-hls-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-hls-converter

A simple scala program that uses ffmpeg to convert videos to multivariant hls

Prerequisites

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

Getting Started

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

About

A simple scala program that uses ffmpeg to convert videos to hls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published