Posted By

tregeagle on 02/07/14


Tagged

mencodervideo2audio


Versions (?)

Video to Audio


 / Published in: Bash
 

Run the following at the terminal in the same directory path as your video files, be sure to: 1. Create an audio directory, and 2. Change the mp4 references to match your video file extension (avi,mov etc)

  1. for file in *.mp4;do mencoder "${file}" -of rawaudio -oac mp3lame -ovc copy -o audio/"${file/%mp4/mp3}";done

Report this snippet  

You need to login to post a comment.