[asterisk-users] Transcoding G.729 files

Kristian Kielhofner kkielhofner at star2star.com
Tue Sep 23 10:42:43 CDT 2008


On Tue, Sep 23, 2008 at 4:44 AM, Alex Balashov
<abalashov at evaristesys.com> wrote:
> SOX will do it if you install its G.729 format library.
>
> As far as converting a group of files, that's what scripting is for, i.e.
>
> for FILE in `find . -type f -name '*.g729'`;
> do
>   NFILE=$(echo $FILE | sed 's/\.g729/\.wav/g')
>   sox [some args] $FILE ... $NFILE ...
> done
>

Where can one find this?  Is it "legal"?  I don't want to get into all
of that...

For a known good way to convert (not to mention, %100 legal) you can
just use Asterisk.  Look at res_convert.  Just make sure you have the
G729 codec loaded.

-- 
Kristian Kielhofner
http://blog.krisk.org



More information about the asterisk-users mailing list