How to Use the FFmpeg Command Generator
If you use FFmpeg you know that it is very effective but can be cumbersome to use. We've created a tool to make things easy for yourself. Our tool helps you create FFmpeg commands so you can use FFmpeg a lot faster.
While FFmpeg is reasonably easy to use once you have used it a few times but it still tends to be quite labour intensive. With our tool we let you create some standardized commands super quick. You lose some flexibility but you save lots of time and mental frustration.
This tool is for converting to AV1 so if you want to convert to H265 (HEVC) then go direct to our FFmpeg Command Generator: H264 to H265 tool.
This tool helps you inspect the video, audio and subtitle streams in a video file and then creates an FFmpeg command that you can copy and run on your computer.
The tool does not upload or convert your video in the web browser. It creates FFprobe and FFmpeg commands for you to run on your own computer.
Pre-requisite: You have installed FFmpeg on your computer. If you haven't done this, check out our 'Guide on how to install FFmpeg on Windows' computer here.
Note: We do not support piracy. This resource is both educational and practical in the use of FFmpeg for video conversion.
Why use FFmpeg: In this day and age of copious amounts of home video footage as well as people migrating back to Blu-ray and DVD's (due to rising streaming costs) it makes sense to put your DVD and Blue-ray collections to good use (by converting them to easily accessible digital files).
The convenience of having your home videos, DVD's and Blu-rays in digital format is not to be overlooked. Plus with storage costs escalating and disk space scarce, reducing file size is something all of us have to weigh up.
AV1: The Future is now
Okay, slightly hyperbolic but if you control the hardware to watch your media on and it supports AV1 playback then the disk space savings are substantial.
The questions to ask yourself: Personally, I think it comes down to:
- are you sharing your media and do your friends or families hardware support AV1 playback;
- how valuable or scarce is your disk space;
- processing speed. What hardware do you have to convert media to AV1 format (if you do not have hardware accelerated AV1 encoding support, processing times may be a deterrent for you).
Only you can be the judge on what's best for you but these are the main questions to think about before you start encoding your library into AV1 format.
I'll put it this way, the easy option is just to encode to h265 (HEVC) and call it a day.
FFmpeg Command Generator
Speed direct to the FFmpeg Command Generator:
Once you've used the tool a few times you won't have to read the instructions. Go direct straight to the FFmpeg Command Generator.
Quick Start
- Enter the exact filename of the video you want to convert.
- Enter the movie or video title that you want stored in the output file's metadata.
- Click the Create standardized FFprobe command and copy to Clipboard button.
- Run the copied FFprobe command on your computer. FFprobe will create a JSON file containing information about the video's streams.
- Open the JSON file, copy all of its contents, paste them into the Paste JSON data box and click Import JSON data.
- Select the video stream, audio stream and, if required, a subtitle stream.
- Choose the required audio conversion setting, select your hardware acceleration, and choose an AV1 video conversion setting.
- Check the output filename and click the Calculate Ffmpeg command and copy to Clipboard button.
- Paste the generated FFmpeg command into Command Prompt, PowerShell or your preferred terminal and run it to create the converted video.
Detailed Step-by-Step Instructions
Step 1 - Enter the Input Video Filename
In the Enter input file name field, enter the full filename of the video that you want to process.
For example:
My Holiday Video.mkv
Include the filename extension, such as
.mkv,
.mp4 or another extension used by your source video.
The filename should match the actual name of the video file on your computer.
Step 2 - Enter the Video Metadata Title
In the Enter input meta data movie title name field, enter the title that you want stored as the title metadata in the finished video.
For example:
Travel home movie: Visit to Paris 2026
This title is added to the final FFmpeg command using the
-metadata title= option.
A metadata title must be entered before the final FFmpeg command can be created.
Step 3 - Create the FFprobe Command
Click button:
The tool will create an FFprobe command and automatically copy it to your clipboard.
The command will also be displayed in the Calculated ffprobe command box.
The tool automatically copies the input filename into the Video output name field for use later when the FFmpeg command is generated.
Step 4 - Run the FFprobe Command
Open Command Prompt, PowerShell or another terminal on the computer where FFprobe is installed.
Navigate to the folder containing your video file if required.
Paste the FFprobe command that was copied by the tool and press Enter.
FFprobe analyses the video and creates a JSON file containing details about the video, audio and subtitle streams.
For example, if your source file is:
My Holiday Video.mkv
the generated FFprobe command creates:
My Holiday Video.mkv.json
Step 5 - Copy the FFprobe JSON Data
Open the JSON file created by FFprobe using a text editor such as Notepad, Notepad++, Visual Studio Code or another text editor.
Select and copy all of the text inside the JSON file.
WARNING: Do not paste the JSON filename into the tool. You need to paste the actual contents of the JSON file.
Step 6 - Import the JSON Data
Return to the FFmpeg Command Generator.
Paste the copied JSON text into the Paste JSON data box.
Click button:
The tool analyses the JSON data and populates the available Video streams, Audio streams and Subtitle streams.
If the video contains only one video stream, the tool automatically selects it.
If the video contains only one audio stream, the tool automatically selects it.
Step 7 - Select the Video Stream
Use the Video streams drop-down list to select the video stream that you want included in the output file.
A typical video may only contain one video stream, in which case the tool will normally select it automatically.
Step 8 - Select the Audio Stream
Use the Audio streams drop-down list to choose the audio track that you want included in the output video.
Videos containing multiple languages or different audio formats may contain several audio streams, so check the codec, number of channels, language and title information shown in the list before making your selection.
Step 9 - Select a Subtitle Stream
If you want subtitles included in the output video, select the required stream from the Subtitle streams list.
Subtitle selection is optional. Leave Select a subtitle stream selected if you do not want to include a subtitle stream.
Step 10 - Select the Audio Conversion Method
Use the Audio conversion rate list to choose how FFmpeg should process the selected audio stream.
The available options are:
- Direct copy - copies the existing audio stream without re-encoding it.
- AC3 192k - converts the selected audio stream to AC3 at 192 kbps.
- AC3 448k - converts the selected audio stream to AC3 at 448 kbps.
Direct copy is useful when the existing audio format is already suitable and you do not want to re-encode it.
AC3 has been chosen as it has good AV Receiver support. AC3 192k is recommended for stereo audio and AC3 448k 5.1 audio.
Step 11 - Select the AV1 Video Conversion Method
First use the Hardware Acceleration list to tell the tool what
AV1 encoding hardware is available on your computer.
Select
CPU only: No hardware graphics available if you want to use
software encoding only.
You can also select Intel QSV, NVIDIA NVENC or AMD AMF
when your FFmpeg build and graphics hardware support AV1 hardware encoding.
Your Hardware Acceleration choice is saved in the browser so the same choice is selected automatically the next time you open this page.
Next use the AV1 Video Conversion Rate list to choose how the selected video stream should be encoded. CPU options are always displayed. When Intel QSV, NVIDIA NVENC or AMD AMF is selected, the matching hardware AV1 options are added to the list as well.
The CPU AV1 options are:
- CPU (Good compression - excellent quality): -preset 6 -crf 24
- CPU (Good compression - high quality1): -preset 6 -crf 26
- CPU (Good compression - high quality1 - action): -preset 6 -crf 26 film-grain=8
- CPU (Good compression - high quality2): -preset 6 -crf 28
- CPU (Good compression - high quality3): -preset 6 -crf 30
- CPU (Mid compression - high quality): -preset 8 -crf 26
- CPU (Mid compression - standard quality): -preset 8 -crf 30
CPU encoding uses
libsvtav1 The action option also applies
film-grain=8 Hardware selections use the AV1 encoder supplied by the selected platform:
av1_qsv (Intel Quick Sync Video)av1_nvenc (Nvidia)av1_amf (AMD)
AV1 output is generated as 10-bit 4:2:0 video.
The generated FFmpeg command
also preserves chapters and existing metadata where possible.
Step 12 - Check the Output Filename
Check the value in the Video output name field.
The tool automatically copies the original input filename into this field after the FFprobe command is generated.
You can change the filename before generating the final FFmpeg command if required.
The generated output filename has an underscore added before the
.mkv extension.
For example:
My Holiday Video.mkv
produces:
My Holiday Video_.mkv
Step 13 - Generate the FFmpeg Command
When you have selected the required video, audio and optional subtitle streams, selected your audio and video conversion settings, and checked your metadata title and output filename, click:
Calculate Ffmpeg command and copy to Clipboard
The tool creates the FFmpeg command and displays it in the FFmpeg command box.
The generated command is also automatically copied to your clipboard.
The command includes the selected streams, video conversion options, audio conversion options, optional subtitles, chapters, existing metadata and your chosen video title metadata.
Step 14 - Run the FFmpeg Command
Return to Command Prompt, PowerShell or your preferred terminal.
Paste the FFmpeg command that was copied to the clipboard.
Press Enter to start the conversion.
FFmpeg will process the source video using the options you selected and create the new MKV output file.
The time required to complete the conversion depends on the length and resolution of the source video, the encoding method selected and the performance of your computer.
Starting Another Conversion
After the final FFmpeg command has been successfully created and copied to the clipboard, the tool automatically clears or resets several fields so that it is ready for another video.
You can also click Clear data at any time to clear the form and reset the stream and conversion selections.
Important
This web tool generates commands only. FFprobe and FFmpeg must be installed and available on the computer where you run the generated commands. Check out our 'Guide on how to install FFmpeg on Windows' computer here.
Always keep your original video file until you have checked that the newly converted file plays correctly and contains the video, audio, subtitles, chapters and metadata that you require.
FFmpeg H264 to AV1 Command Generator
H265 (HEVC) is still a valid option
This is just a reminder that while the AV1 file format is a great option that H265 (HEVC) remains a valid alternative. Cut to the chase, the main reasons to keep using H265 (HEVC) is for compatibility with older equipment and processing speed. Only you can make the decision on what is best for you.
H.265 (HEVC) vs. AV1 Compatibility Breakdown
| Feature | H.265 (HEVC) | AV1 |
|---|---|---|
| Winner | 🏆 Compatibility | 🏆 Efficiency (File Size) |
| Smart TVs & Players | Supported by almost all 4K TVs, Apple TV, Roku, and Fire TV. | Limited to newer (2021+) 4K/8K TVs and select streaming sticks. |
| Apple Ecosystem | Fully supported across iPhones, iPads, and Macs for years. | Hardware support is limited to iPhone 15 Pro/16 series and M3 Macs or newer. |
| Windows & Android | Ubiquitous hardware decoding across almost all devices. | Broad software support, but hardware decoding requires recent CPUs/GPUs. |
| Encoding Speed | Very fast with modern hardware acceleration. | Much slower to compress, requiring significant computing power. |
Socials