Remove Audio stream from XVID files

Posted by Kyle Brandt on Super User See other posts from Super User or by Kyle Brandt
Published on 2009-10-16T11:23:50Z Indexed on 2010/05/25 4:11 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

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)

© Super User or respective owner

Related posts about linux

Related posts about video