Skip to content

Instantly share code, notes, and snippets.

@LukeNewNew
Created August 5, 2025 18:06
Show Gist options
  • Save LukeNewNew/04dcf08dc7cf3d9ad3fd40a1346c7dd0 to your computer and use it in GitHub Desktop.
Save LukeNewNew/04dcf08dc7cf3d9ad3fd40a1346c7dd0 to your computer and use it in GitHub Desktop.
ffmpeg.exe -nostdin -hide_banner -loglevel error -i "%~1" -vf format=yuv420p10le -strict -1 -f yuv4mpegpipe - | SvtAv1EncApp.exe -i - --crf 36 --keyint 15s --preset 4 --enable-dlf 2 --enable-cdef 1 --enable-restoration 0 --enable-tf 0 --scd 1 --scm 0 --tune 3 --enable-variance-boost 1 --variance-octile 5 --film-grain 0 --film-grain-denoise 0 --enable-qm 1 --qm-min 3 --sharpness 2 --max-32-tx-size 1 --noise-norm-strength 1 --qp-scale-compress-strength 0 --progress 2 -b "%~dpn1_av1.ivf"
cmd
av1an.exe -i "EEEEEEEEE.y4m" -e svt-av1 -v "--lp 3 --crf 36 --keyint -1 --preset 4 --enable-dlf 2 --enable-cdef 1 --enable-restoration 0 --enable-tf 0 --scd 1 --scm 0 --tune 3 --enable-variance-boost 1 --variance-octile 5 --film-grain 0 --film-grain-denoise 0 --enable-qm 1 --qm-min 3 --sharpness 2 --max-32-tx-size 1 --noise-norm-strength 1 --qp-scale-compress-strength 0" -a "-c:a copy" --workers 2 --concat ffmpeg -o "EEEEEEEEEEEEEEE.mkv"
ffmpeg.exe -nostdin -hide_banner -i "%~1" -colorspace bt709 -vf format=yuv420p10le -c:v libsvtav1 -svtav1-params crf=20:preset=2:enable-dlf=1:enable-cdef=0:enable-restoration=0:enable-tf=0:tune=0:enable-variance-boost=1:variance-octile=5:film-grain=0:film-grain-denoise=0:enable-qm=1:qm-min=3:sharpness=2:avif=1 "%~dpn1_av1.avif"
cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment