FFmpeg
FFmpeg is the de facto standard for video encoding, used inside YouTube, VLC, Chrome, Adobe Media Encoder, and DaVinci Resolve. It supports virtually every codec and container in existence: H.264, H.265, ProRes, DNxHR, AV1, MP4, MOV, MXF, MKV, WebM. Its command-line interface is the building block of every modern video pipeline.
For a video editor, FFmpeg shows up at two moments: converting a format the editing software cannot read, such as remuxing an MKV to MP4, and transcoding heavy footage into light proxies in H.264, ProRes Proxy or DNxHR. Everything runs through text commands: there is no official graphical interface, which is why so many tools build their own on top.
Common FFmpeg commands
These are the most searched commands and options, with syntax checked against the official ffmpeg.org documentation. The general shape never changes: ffmpeg, the options, the input file after -i and the output file at the end.
| Command | What it does | Example |
|---|---|---|
| ffmpeg -version | Shows the installed version, useful to check FFmpeg is on the PATH | ffmpeg -version |
| ffmpeg -codecs | Lists every codec your build knows | ffmpeg -codecs |
| ffmpeg -i | Names the input file | ffmpeg -i input.mov output.mp4 |
| -c copy | Copies the streams without re-encoding, only the container changes; this is how you turn an MKV into an MP4 when Premiere or Media Encoder cannot read it | ffmpeg -i input.mkv -c copy output.mp4 |
| -ss and -to | Cuts a clip between two timestamps | ffmpeg -i input.mp4 -ss 00:00:10 -to 00:00:30 -c copy clip.mp4 |
| -an | Removes the audio from the output | ffmpeg -i input.mp4 -an -c:v copy muted.mp4 |
Creating proxies with FFmpeg
A proxy is a light copy of the original that the editing software reads effortlessly. FFmpeg builds one in a single command: ffmpeg -i original.mov -vf scale=-2:720 -c:v libx264 -crf 23 -preset fast -c:a aac proxy.mp4 produces a 720p H.264 proxy. For Final Cut or Resolve use -c:v prores_ks -profile:v proxy with a .mov output, and for Avid -c:v dnxhd -profile:v dnxhr_lb with a .mxf output. The limit is practical: writing and babysitting one command per file is slow and technical. Sanbila generates your proxies in the cloud, with 30 presets from 540p to 8K, without typing a single command, then you edit on the proxy or stream the original. There is a free plan to try it.
Examples
- •A 4K H.265 source from a Sony FX6 is encoded by FFmpeg into a 1080p H.264 proxy in about 2x real-time on a modern laptop
- •A 5.7K H.265 clip from a Panasonic GH6 becomes a 1080p ProRes Proxy ready for DaVinci Resolve
- •An 8K XAVC HS file from a Sony a1 is transcoded by FFmpeg into a 720p DNxHR LB proxy for Avid Media Composer
In Sanbila
Sanbila generates your proxies for you on its servers, so you never run a command line. All 30 proxy presets are ready-made encoding profiles, and each file size and progress are tracked while it encodes.
Frequently asked questions
What is FFmpeg?+
FFmpeg is a free, open source command line tool for converting, recording and streaming video and audio. It sits behind much of modern video software and reads virtually every codec and container, from H.264 and ProRes to MP4, MOV, MXF and MKV.
What is FFmpeg used for?+
Almost any task on video or audio files: changing format or container, compressing, cutting out a section, extracting or removing audio and creating light proxies for editing. In post production it is mostly used to convert formats the editing software cannot read and to transcode heavy footage.
How do I create a proxy with FFmpeg?+
With a command like ffmpeg -i original.mov -vf scale=-2:720 -c:v libx264 -crf 23 -preset fast -c:a aac proxy.mp4, which produces a 720p H.264 copy. Swapping the output codec to prores_ks with -profile:v proxy or dnxhd with -profile:v dnxhr_lb gives you ProRes Proxy or DNxHR LB. If you would rather skip the command line, tools like Sanbila generate the proxies for you in the cloud.
Is FFmpeg free?+
Yes. FFmpeg is free, open source software released under the LGPL or GPL license depending on how it is built. It downloads from ffmpeg.org with no registration or payment, including for commercial use.
How do I convert a video with FFmpeg?+
The simplest form: ffmpeg -i input.mov output.mp4, and FFmpeg picks suitable codecs for the output container. To change only the container without re-encoding, add -c copy: it is instant and loses no quality. To control compression, name the codec and quality, for example -c:v libx264 -crf 23.
Related terms
Related reading
See also
Sources
- FFmpeg official site · FFmpeg
- FFmpeg documentation · FFmpeg
- FFmpeg wiki: H.264 encoding guide · FFmpeg