While AV1 is used to create video files, it is not a file format.
There are various methods to convert to AV1.
AV1 is implemented in libaom and svt-av1.
ffmpeg -y -i a.mp4 -c:v libaom-av1 -strict -2 -b:v 3000K -maxrate 6000K -cpu-used 8 -pass 2 out.mp4 ffmpeg -i input.mp4 -c:v av1 output.av1
ffmpeg -y -i input.mp4 -c:v libaom-av1 -strict -2 -b:v 3000K -maxrate 6000K -cpu-used 8 -pass 1 -f matroska NUL & \ ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 -b:v 3000K -maxrate 6000K -cpu-used 0 -pass 2 output_AV1.mkv
NOTE: This is extremely slow!
NOTE: AV1 is implemented in libaom and svt-av1.
ffmpeg -y -i a.mp4 -c:v libaom-av1 -cpu-used 8 -f mp4 out.mp4
NOTE: The -cpu-used 8 option sets the quality to the higher.
ffmpeg -y -i a.mp4 -c:v libaom-av1 -f mp4 out.mp4
NOTE: It is extremely slow.