Changes the file container (e.g., MKV to MP4) while re-encoding. ffmpeg -i input_file.mkv -c copy output.mp4

2 Description * Convert an input media file to a different format, by re-encoding media streams: ffmpeg -i input.avi output.mp4. *

Whether you’re backing up your Blu-ray collection, compressing files for a Plex server, or extracting a specific audio track, FFmpeg is the ultimate command-line tool to get the job done.

Mastering FFmpeg for Media Management: A Deep Dive into Outlander S01E16

Compresses the file using the H.264 codec; a CRF value of 23 is standard for balancing size and quality. ffmpeg -i input.mp4 -vf "select='not(mod(n,10))'" out%d.jpg