What about ffmpeg?

ffmpeg -i hello.wav -acodec mp2 -ab 256k hello.mp2


If you need to convert a entire directory, you can use bash. Put this in a
.sh file and execute it:


for i in *.wav; do


# We need the new file with a mp2 extension, not wav
NEW=$(echo $i | sed "s/.wav/.mp2/g")


# ffmpeg do the magic

ffmpeg -i $i -acodec mp2 -ab 256k $NEW


done


Bye!

2011/9/3 Daniel & Lucinda Kahn <[email protected]>

> It would be nice to have a simple utility to convert a library from wav
> to mp2.  This is necessary because ordinary converter software will not
> generate the waveform.
>
> Does anyone have something that will work.
>
> Daniel
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to