schorman

Untitled

Mar 30th, 2016
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.44 KB | None | 0 0
  1. @ECHO OFF
  2. TITLE "Output 5.1 and Stereo 24 Bit WAV"
  3. if [%1]==[] goto :eof
  4. set Destination=%~d1\%~p1
  5. cd /d %Destination%
  6. md AAC
  7. cd /d "%~dp0"
  8. :loop
  9. ffmpeg -i "%~1" -filter_complex "[0:0][0:1][0:2][0:3][0:4][0:5] amerge=inputs=6[51mix]" -c:a pcm_s24le -filter_complex "[0:6][0:7] amerge=inputs=2[20mix]" -c:a pcm_s24le -map [51mix] "%Destination%\AAC\%~n1"_5.1mix.wav -map [20mix] "%Destination%\AAC\%~n1"_2.0mix.wav
  10. shift
  11. if not [%1]==[] goto loop
Add Comment
Please, Sign In to add comment