How to convert a WAV file to a G729 format

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
Koert
Posts: 4
Joined: Thu May 23, 2013 1:49 pm
Operating System: Please select

How to convert a WAV file to a G729 format

Post by Koert » Thu May 23, 2013 1:53 pm

I need to convert a WAV file to a G729 format and a G723 format. Somebody told me that it's possible with Audicity, but I don't know how to do it. Does somebody know?

kozikowski
Forum Staff
Posts: 68942
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: How to convert a WAV file to a G729 format

Post by kozikowski » Thu May 23, 2013 9:44 pm

If you install the FFMpeg software, Audacity will export G.726. That's as close as I could get.

Koz

Koert
Posts: 4
Joined: Thu May 23, 2013 1:49 pm
Operating System: Please select

Re: How to convert a WAV file to a G729 format

Post by Koert » Fri May 24, 2013 1:46 pm

Where do I find the FFMpeg software?

Trebor
Posts: 9852
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows 8 or 8.1

Re: How to convert a WAV file to a G729 format

Post by Trebor » Sat May 25, 2013 7:07 am

Koert wrote:Where do I find the FFMpeg software?
http://manual.audacityteam.org/o/man/fa ... #[b]ffdown[/b]

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: How to convert a WAV file to a G729 format

Post by Gale Andrews » Sat May 25, 2013 7:30 am

G.726 is a later implementation of ADPCM and nothing to do with G.729 which is the heavily patented CS-ACELP.

G.723 is an earlier 24/40 kbps ADPCM variant.

Audacity does not directly support either, only the earlier G.721 32 kbps ADPCM (which doesn't require FFmpeg).

Even if you install the FFmpeg from Trebor's link, it is unlikely to help used from the standard Audacity export menus because I suspect FFmpeg G.723 and G.729 support is recent. Their documentation says FFmpeg will encode "G.729 BIT" but I have no idea what that means unless they have reverse-engineered it to break the patents.

So in a nutshell you may be able to encode both G.723 and G.729 if you use FFmpeg standalone at the command-line (not using Audacity at all) but I suspect because of patents you may have to build FFmpeg from source to be able to get it to write G.729 files.

If you are still interested I suggest you ask on the ffmpeg-user list and they will tell you what you need to do build FFmpeg with G.723/9 write support (or if the latest binaries that others supply include this support) and what command-line syntax is needed.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: How to convert a WAV file to a G729 format

Post by Gale Andrews » Sat May 25, 2013 7:36 am

kozikowski wrote:If you install the FFmpeg software, Audacity will export G.726.
Can you make it work? I think it's one of those combinations that just exports an empty file. I tried leaving bit rate empty, and 32 kbps.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply