Created
November 7, 2021 16:48
-
-
Save liger1978/aa1c446a781fec773daf14defb81c0ff to your computer and use it in GitHub Desktop.
This file contains 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
# Copy all tracks but re-encode audio to ac3 | |
/opt/ffmpeg/ffmpeg -i input.mkv -map 0 -c copy -c:a ac3 -b:a 640k output.mkv | |
# Copy all tracks but re-encode audio to ac3 (when downmixing 7.1 to 5.1) | |
/opt/ffmpeg/ffmpeg -i input.mkv -map 0 -c copy -c:a ac3 -b:a 640k -center_mixlev 0.707 output.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment