Last active
October 17, 2022 13:21
-
-
Save b9AcE/cd506ceb3c182b7c1a427d26e1333e15 to your computer and use it in GitHub Desktop.
FFmpeg compand DOS batch file
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
@ECHO off | |
REM c.bat | |
REM | |
REM DOS batch file that takes all the files with the mp4 suffix in the current working directory and runs | |
REM FFmpeg's "compress and expand"-filter with pre-selected parameters to the FDK-based AAC encoder | |
REM at 320k requested bitrate on them with output to a subdirectory named "compand". | |
mkdir compand | |
for %%f in ("*.mp4") do ffmpeg -i "%%f" -n -filter_complex "compand=attacks=0:points=-80/-900|-45/-15|-27/-9|0/-7|20/-7" -c:a libfdk_aac -b:a 320k -vcodec copy "compand\%%f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment