Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.2 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.2 KB

VideoEncoder

A java tool and daemon to encode videos in web-ready forms using ffmpeg.

The video encoder takes any video supported by ffmpeg and converts it to a small ("low-Q") version, with maximum width of 640 pixels as well to a version with maximum width 1200 pixels. Moreover, the encoder generates a video element and a javascript page including the information.

Usage over the command line

See the help page.

See the sample daemon config to see how to configure the encoder-daemon.

Installation

First install ffmpeg.

Download the source code and compile with maven.

git clone https://github.com/polx/VideoEncoder.git mvn package

You obtaine a videoEncoder.jar in the target directory which is the main java file.

You can then invoke the video-encoder using the help page.

Or invoke the encode daemon using: java -classpath target/videoEncoder.jar net.hoplahup.polx.videoencoder.EncodeDaemon

License

Under Apache License 2.0. Feel free to request more permissive licenses.