I want to convert all my mp4 files in a folder into mp3 in a new folder I've tried something like:
$ffmpeg -i \*.mp4 -vn mp3/\*.mp3
but it didn't work. It involved an infinite loop and my computer didn't respond anymore. Any solution ? Thanks.
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It only takes a minute to sign up.
Sign up to join this communityfor i in *.mp4; do ffmpeg -i "$i" -f mp3 -ab 192k -vn -ar 44100 -ac 2 aud/"${i%.*}.mp3"; done