Created
January 1, 2025 20:49
-
-
Save seamonkey420/2fa0d49f451d9b187e542b5853efcd20 to your computer and use it in GitHub Desktop.
FFMPEG - Convert audio to aac
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
| :: below will encode audio as AAC (nice for eac3 audio tracks!) | |
| :: move ffmpmeg to c:\windows\system32 | |
| ::---------------------------------------- | |
| setlocal EnableExtensions DisableDelayedExpansion | |
| ::get filename and extensions as variables | |
| set _name=%~n1 | |
| set _ext=%~x1 | |
| ffmpeg -i "%_name%%_ext%" -map 0:v -c:v copy -map 0:a -c:a aac -ac 6 -b:a 640k -map 0:s? -c:s copy "%_name%.NEW%_ext%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment