Created
February 22, 2021 14:19
-
-
Save behringer24/d01890253b93e6b1585c3db52d39407f to your computer and use it in GitHub Desktop.
ffmpeg parameter to create compatible Dolby Digital 5.1 ac3 files
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
ffmpeg -hwaccel cuvid -hwaccel_output_format cuda -i frameserv.avs -map 0:0 -map 0:1 -c:a ac3 -ab 1536k -disposition:a:0 default -async 1 -c:v h264_nvenc -b:v 9000k -preset slow -maxrate 15000k -bufsize 15000k -r 24000/1001 -s 1920x1080 -aspect 16:9 -pix_fmt yuv420p -bsf:v h264_mp4toannexb -preset medium -level 41 -bluray-compat 1 -coder ac -trellis 1 -bf 1 -b_strategy 1 -flags +loop -mbd rd -sc_threshold 40 -keyint_min 24 -g 24 -qmin 2 -qmax 51 -qdiff 4 -f mpegts -mpegts_m2ts_mode 1 -slices 4 -y output-a4.264 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment