A suite of tools to diddle with multimedia stuff and things.
FFmpeg was depricated, and replaced with Libav, but I have notes added here.
- Resize a video for YouTube, using FFmpeg
- Convert an image into a video, using FFmpeg
- Force commandline application non-interactivity for FFmpeg, so that you can paste a large script with multiple instances of FFmpeg and not have your script halt on the first FFmpeg it sees. 2009-03-27 - Tested and works.
Hard-code subtitles with
converting a movie into images ∞
ffmpeg -i filename.ogg filename-images%d.png
Btw, you can convert the images back to a movie with:
ffmpeg -f image2 -i filename-images%d.png filename.ogg
for YouTube videos ∞
ffmpeg -i filename.mpg -ar 22050 filename.flv
correcting bad audio sync ∞
ffmpeg -i filename.mpg -ar 22050 -async 1 filename.flv
Tested and works on 2009-01 on PCLinuxOS 2007