How to convert mp4 to mp3 files in linux

#!/bin/sh
 
if [ ! -d mp3 ] ;
    mkdir mp3
fi
 
for item in *.mp4; 
do
	ffmpeg -i "${item}" -vn \
       -acodec libmp3lame -ac 2 -ab 160k -ar 48000 \
        "mp3/${item%mp4}mp3"
done
howto/convert_mp4_to_mp3_files_in_linux.txt · Last modified: 2022/01/03 16:03 by 127.0.0.1
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0