Created
June 11, 2025 01:19
-
-
Save Tualua/6a0bf3aaec8ee42f7936209a761a7048 to your computer and use it in GitHub Desktop.
QSVEnc VBR Encoding (TV, 1080p)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VIDEODIR="." | |
FILTER="*.TeamHD.mkv" | |
for file in $(ls -1 "$VIDEODIR"/$FILTER) | |
do | |
qsvencc \ | |
--avhw --codec av1 --output-depth 10 --quality best --vbr 6000k --qp-max 64 --qp-min 255 --max-bitrate 9000k --vbv-bufsize 3000k --fallback-rc --la-depth 100 --tune perceptual \ | |
--gop-len 96 --vpp-edgelevel --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto \ | |
--max-cll copy --master-display copy --atc-sei auto \ | |
--audio-codec libopus:ac=6,mapping_family=1 --audio-bitrate 384k --audio-filter aformat=channel_layouts="7.1|5.1|stereo" \ | |
--audio-disposition copy --audio-metadata copy --chapter-copy --sub-copy --sub-disposition copy \ | |
--dhdr10-info copy --dolby-vision-profile copy --dolby-vision-rpu copy --log-level info \ | |
--ssim --psnr \ | |
-i $file -o $(dirname -- $file)/$(basename -- $file | sed 's/BluRay/AV1/') | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment