Re: [LAU] mp3tom4a via find and ffmpeg

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Friday, August 12, 2011 - 5:34 pm

On Fri, 12 Aug 2011 13:10:58 -0400
guerrier wrote:

> hello

You could try something like this :

find . -name '*.mp3' | while read f
do
ffmpeg -i "$f" -y -acodec copy -ab 192k "${f%.mp3}.m4a"
done

That should properly handle filenames containing spaces.

HTH

-- David
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] mp3tom4a via find and ffmpeg, guerrier, (Fri Aug 12, 5:11 pm)
Re: [LAU] mp3tom4a via find and ffmpeg, David, (Fri Aug 12, 5:34 pm)
Re: [LAU] mp3tom4a via find and ffmpeg, Paul Davis, (Fri Aug 12, 5:42 pm)
Re: [LAU] mp3tom4a via find and ffmpeg, David, (Fri Aug 12, 6:50 pm)
Re: [LAU] mp3tom4a via find and ffmpeg, guerrier, (Fri Aug 12, 5:41 pm)
Re: [LAU] mp3tom4a via find and ffmpeg, Julien Claassen, (Fri Aug 12, 5:26 pm)