Re: [LAD] mp3tom4a via find and ffmpeg

From: karthik poduval <karthik.poduval@email-addr-hidden>
Date: Fri Aug 12 2011 - 20:20:12 EEST

could you try this

find . -name "*.mp3" | xargs -I variable ffmpeg -i variable -y -acodec
libfaac -ab 192k OUTPUT.m4a

Regards,
Karthik Poduval
On Fri, Aug 12, 2011 at 12:10 PM, guerrier <guerrier@email-addr-hidden> 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@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>

--

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Aug 12 20:15:04 2011

This archive was generated by hypermail 2.1.8 : Fri Aug 12 2011 - 20:15:04 EEST