3
1
I have a bunch of Xvid files that each have an audio stream that I do not want. How can I strip the audio track I don't want using the Linux command line?
I don't need the whole script (loop), just what command I would use to process each avi file individually (unless the cmd itself has batch modification built into it).
I don't believe the file is in an mkv container, as mkvinfo doesn't find anything. Here is part of mplayer's output (thanks ~quack):
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
ID_AUDIO_ID=2
[aviheader] Audio stream found, -aid 2
VIDEO: [XVID] 512x384 12bpp 25.000 fps 1013.4 kbps (123.7 kbyte/s)
Thanks, if I have any trouble, nice to have a second option. Right now all the files are processing with ffmpeg (put it in a loop). Hopefully picked the right audio stream, but if not I can just do it again. – Kyle Brandt – 2009-10-16T14:36:12.997
Quick sample I did seems not to be choppy with this (vs ffmpeg), so looks like this might be the ticket. – Kyle Brandt – 2009-10-16T15:35:53.113