ffmpeg is a powerful tool to convert multimedia formats. Working with
ffmepg generally walks along the routine below:
- checking information of the original file (bit rate, frame size, etc.):
$ ffmpeg -i input.ogv
- converting to expected format:
$ ffmpeg -i input.ogv output.flv
There are two
ffmpeg options impacting the size of output:
-b and
-ab. The former is bit rate (
bit/s), and the latter is audio bit rate (
bit/s). `
-b 128k' is correct syntax. Other interesting options are:
- -threads specifying how much ffmpeg threads
- -loglevel specifying information dumped (fatal is a good choice.)
- -target automatically setting related options with respect to this option (dvd, ntsc-dvd, pal-dvd, etc.)
- -bufsize setting video buffer verifier buffer size (in bits)
- -r setting frame rate (Hz value, fraction or abbreviation), (default = 25)
- -s setting frame size-aspect setting aspect ratio
- -sameq using same video quality as source (implies VBR---variable bit rate).
The user manual lists all about
ffmpeg usage:
http://www.ffmpeg.org/ffmpeg.html
Here is showing how to join multimedia files:
http://www.ffmpeg.org/faq.html#SEC27
One can download a static-compiled program here:
http://ffmpeg.gusari.org/static/
Use
ogmrip to rip light media content.