I have a QT ProRes which has 8 audio tracks. L/R/C/Lfe/Ls/Rs/Ltotal/Rtotal What I need to do is extract the 5.1 (tracks 1-6) into separate individual wav files without recompression and the last 2 (tracks 7-8) into a stereo wav. I made a small batch file to help me. Here it is:
CLS :START echo[ set /p source=enter source file name: start ffmpeg -i %source% -map 0:a:0 -c copy %source%_51.L.wav -map 0:a:1 -c copy %source%_51.R.wav -map 0:a:2 -c copy %source%_51.C.wav -map 0:a:3 -c copy %source%_51.LFE.wav -map 0:a:4 -c copy %source%_51.Ls.wav -map 0:a:5 -c copy %source%_51.Rs.wav start ffmpeg.exe -i %source% -filter_complex "[0:7][0:8] amerge=inputs=2" -c:a pcm_s24le %source%.20.wav pause
The problem is that the extraction is not correct. The 5.1 channels it produces are the same. Do you have any ideas where I am wrong?