Quantcast
Channel: shell script – PCtechtips.org
Viewing all articles
Browse latest Browse all 17

Converting Multiple Files from flv or mp4 to mp3 with ffmpeg

$
0
0
Here’s another one liner to convert every flv or mp4 file in a directory to mp3 with ffmpeg. (the example asumes you’re converting mp4 to mp3. If you are converting flv, replace mp4 for flv in the output file). for i in *; do ffmpeg -i "$i" "${i%mp4}mp3"; done

Viewing all articles
Browse latest Browse all 17

Trending Articles