Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- TITLE "Output New Container File with a 5.1 AAC track and a Stereo AAC track"
- if [%1]==[] goto :eof
- set Destination=%~d1\%~p1
- cd /d %Destination%
- md AAC
- cd /d "%~dp0"
- :loop
- ffmpeg -i "%~1" -filter_complex "[0:0][0:1][0:2][0:3][0:4][0:5] amerge=inputs=6[51mix]" -c:a aac -filter_complex "[0:6][0:7] amerge=inputs=2[20mix]" -c:a aac -map 0:8 -c:v copy -map [51mix] -map [20mix] "%Destination%\AAC\%~n1"_AAC"%~x1"
- shift
- if not [%1]==[] goto loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement