[LAD] mp3tom4a via find and ffmpeg

Paul Giblock pgiblox at gmail.com
Fri Aug 12 17:19:16 UTC 2011


Look at find's -exec option. And this isn't really much of a LUA and
certainly no LAD question. More of a "how to use the shell" thing.
On Aug 12, 2011 1:11 PM, "guerrier" <guerrier at gmail.com> wrote:
> 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
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20110812/02439d5f/attachment.html>


More information about the Linux-audio-dev mailing list