[LAD] mp3tom4a via find and ffmpeg

guerrier guerrier at gmail.com
Fri Aug 12 17:10:58 UTC 2011


hello

can someone please help me with this?

i can find all the mp3s in a directory and its sub-directories with this:

find -name "*.mp3"

i can also ffmpeg a mp3 to m4a with this:

ffmpeg -i INPUT.mp3 -y -acodec libfaac -ab 192k OUTPUT.m4a

now, i would like to pipe all that find finds into ffmpeg.

thanks
guerrier



More information about the Linux-audio-dev mailing list