[FFmpeg-user] Converting mkv to mp3 failures
Moritz Barsnick
barsnick at gmx.net
Fri Jul 14 00:22:00 EEST 2017
On Thu, Jul 13, 2017 at 15:11:56 -0600, JD wrote:
> Your filename does not contain parentheses, brackets and single quotes
> and unprintable characters that
> MANY files I download contain in their names.
> And THAT is the crux of the problem.
That's no crux.
$ for file in *.mkv; do ffmpeg -i "$file" -map 0:a -c:a libmp3lame /targetdir/"${f%.mkv}".mp3; done
Fixed that for you. Never forget to quote your variables.
Moritz
More information about the ffmpeg-user
mailing list