Skip to content

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

License

Notifications You must be signed in to change notification settings

polx/VideoEncoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published