Learn how to convert videos with the popular tool FFmpeg to the AV1 MP4 format. We provide a step-by-step guide which also covers opening a command prompt or terminal, navigating to the video folder, and running the conversion command. We also show you how to check the converted video to ensure that the conversion was successful.
Install FFmpeg (if not already installed):
sudo apt-get install ffmpeg
brew install ffmpeg
Opening a Command Prompt or Terminal
Open a command prompt or terminal and navigate to the folder where the video you want to convert is located.
Running the Conversion Command
Run the following command to convert the video to the AV1 MP4 format:
ffmpeg -i input.mp4 -c:v libaom-av1 -crf 30 -c:s copy -c:a copy output.mp4
input.mp4 with the name of your input file and
output.mp4 with the desired name of the output file.
-crf option specifies the quality factor and can be adjusted to affect the quality of the output file. A lower value means higher quality but also a larger file size.
Please note that AV1 is a more advanced video encoding technique and may not be supported by all devices and applications. It may also be required for FFmpeg to be compiled with the H.265 codec in order to use this command.
Once the conversion is complete, the converted video should be found in the specified output path. Check the video to ensure that it was properly converted.