HTML5 video in Scala or Java with Xuggle
Introduction
If you are looking for information to use free libraries to convert and resize video files within a Scala or Java project, you may probably have cross the road of an open source project called Xuggle .
This library is written in Java but is using native code from ffmpeg (another open source project) for the many video and audio codecs.
-
This tutorial will guide you to:
- build the Xuggle project on Debian Linux
- write a sample class in Java and Scala to use Xuggle
- resize a video and resample its audio
- convert common video/audio formats to HTML5 video