NOTE: This repository has been archived and is no longer supported—use it at your own risk. This repository may depend on out-of-date libraries with security issues, and security updates will not be provided. Pull requests against this repository will also not be merged.
Master repo to compile ffmpeg for veda & veda subsidiaries
There wasn't a good, universal *nix solution to compiling ffmpeg on various node, ingest, and worker machines. It's simple and should work for most local and AWS instances, assuming the running of a *nix machine.
This won't compile a full-flavored version of ffmpeg, this is just for what we use (and might use later) at edX. You'll get mp3, mp4, and theora, as well as the basic HLS encoder.
If you're interested in ffmpeg, and want something that's a little more functional for general and workaday use: https://trac.ffmpeg.org/wiki/CompilationGuide
NOTE: 'Impolite' full compilation isn't currently working with terraform - though the script will run if run manually.
So We've backed off into a 'polite' build, using a (known, tested) static build for EC2 instances and a brew-based install for Darwin machines
This will check for an extant ffmpeg install, and install if the global command ffmpeg
returns something that doesn't look like ffmpeg.
from v_videocompile import VideoCompile
F = VideoCompile(
compile_dir=${optional directory}
)
F.drun()
from v_videocompile import VideoCompile
F = VideoCompile(
compile_dir=${optional directory}
)
F.run()
This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here: http://ffmpeg.org/releases/ffmpeg-3.1.1.tar.bz2
08.2016/@edx