FFMPEG Recipes

Not exactly "an FFMPEG cookbook", more like a collection of recipes scrawled on the back of old envelopes.

Extract the audio from a bunch of MPEG-4 movies

Extract audio from an MPEG-4 stream and re-encode it as MP3

Re-encode audio to MP3 with a selected bitrate

Convert MPEG-4 AVI files to MPEG-4 streams

Concatenate 100% compatible videos that have already been split into parts

Merge video and audio held into 2 MPEG-4 streams into a single MPEG-4 stream

De-interlace, rescale and encode as silent H264/MPEG-4

Overlay two video camera streams on top of each other

Determine which (video) frames in a soundtrack contain peaks

Split into chunks each starting on a keyframe

After the chunks in the previous example have been split, you can copy them into subdirectories and join each subdirectory back into a video with:

Rescale old-school PAL TV programmes.