Use the following in your batch file. It will process all MKV and MP4 files in the folder. for %%i in (*.mkv *.mp4) do ( ffmpeg -i "%%i" -pix_fmt yuv420p10le -c:v libaom-av1 -cpu-used 4 -crf 18 -arnr-strength 1 -lag-in-frames 48 -g 240 -aom-params enable-qm=1 -c:a copy "%%i_OUTPUT.mkv" )
Great video!
Thanks!
If you have time to spare, use -cpu-used 3 instead.
is there a way to convert videos as a batch?
Use the following in your batch file. It will process all MKV and MP4 files in the folder.
for %%i in (*.mkv *.mp4) do (
ffmpeg -i "%%i" -pix_fmt yuv420p10le -c:v libaom-av1 -cpu-used 4 -crf 18 -arnr-strength 1 -lag-in-frames 48 -g 240 -aom-params enable-qm=1 -c:a copy "%%i_OUTPUT.mkv"
)