Posted By

dreamlusion on 08/26/09


Tagged


Versions (?)

FLV to MP3


 / Published in: Bash
 

flv to mp3 conversion script using VLC Media Player

  1. #!/bin/bash
  2. echo Hi!
  3. for f in *; do
  4. if [ -f "$f" ]; then
  5. if [ ${f#*.} = "flv" ]; then
  6. vlc -vvv $f :sout=#transcode\{acodec=mp3\}:duplicate\{dst=std\{access=file,mux=raw,dst=${f%.*}.mp3\},select=novideo\}
  7. fi
  8. fi
  9. done

Report this snippet  

You need to login to post a comment.