Skip to content

Instantly share code, notes, and snippets.

@ggarnier
Created August 19, 2011 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggarnier/1158192 to your computer and use it in GitHub Desktop.
Save ggarnier/1158192 to your computer and use it in GitHub Desktop.
Remove undesired audio tracks from a video file
# extracted from http://superuser.com/questions/56093/remove-audio-stream-from-xvid-files
# replace -aid value with the audio track number you wish to keep
mencoder orig.avi -o new.avi -oac copy -ovc copy -aid 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment