Not exactly "an FFMPEG cookbook", more like a collection of recipes scrawled on the back of old envelopes.
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.
DVD Ripping
This one isn't ffmpeg
, it's HandBrakeCLI
. I don't want to do any cropping, rescaling and de-interlacing directly from the DVD. I want to just get the video onto my filesystem so I can do all the processing without the inconvienience of an optical disc going "Viiirt, viiirt, vit vit vit, viiiiir".
So this is the quickest and easiest way I can get a (far too big) copy off of the disc.
If you want a smaller (or even bigger) working copy, you may want to tweak the --quality
value.