Skip to content

Instantly share code, notes, and snippets.

@spidergears
Created November 24, 2013 19:24
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 spidergears/7631240 to your computer and use it in GitHub Desktop.
Save spidergears/7631240 to your computer and use it in GitHub Desktop.
Using VLC to mass extract Audio content from Video files.
// MOve to the directory containing the video files.
// Audio Files will be create with same name as the originalfile with ".mp4" appended to it.
// Generated content is stored into Audio directory under the current directory.
for file in *.*; do vlc -I dummy --no-sout-video --sout "#std{access=file,mux=raw,dst=output}" "$file" vlc://quit; mv output Audio/"$file".mp4; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment