Log in

View Full Version : Batch Remux - Delete usless audio tracks


lysy
29th January 2013, 00:26
Hello, I have about 70 files from my camera but there are 2 audio tracks saved (one from built-in microphone and another from external) and i want to leave only this second one..

I'm aware of software like mkvmerge, but checking and muxing every file separately is heavily time-consuming.

Is there anyway to remux all files at once?
Just for record, i want to remove Index 1 audio track

poisondeathray
29th January 2013, 01:01
you can probably do it with a ffmpeg batch file

what format are your videos? if you don't know use mediainfo (view=>text)

lysy
29th January 2013, 13:54
Matroska (mkv)

sneaker_ger
29th January 2013, 15:10
as a .bat file:
for %%a in (*.mkv) do mkvmerge -o "remuxed\%%a" -a 2 "%%a"