2
I'm trying to make a small batch file that extracts all audio streams when dragging a video onto it.
ffmpeg.exe -i "%1" -map 0:a? -c:a copy "%1~extracted.aac"
But this seems to be overwriting the same file for each audio stream it finds.
I don't want to specify the number of audio tracks, since it may vary.
Thanks in advance for your help!
Deleted the previous comments because I wasn't using the right version of ffmpeg. Your solution works, thank you! – tugalaw – 2018-07-25T23:23:20.843