0% found this document useful (0 votes)
21 views

How To Decode G729

This document provides instructions for decoding G.729 audio streams captured with Wireshark. It involves saving the RTP payload as a .raw file, using the Open G.729 decoder to convert it to .pcm format, and then prepending a header to create a playable .au file. The decoder is freely available and the process works on both Windows and Linux using Wine.

Uploaded by

Oscar Daza
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

How To Decode G729

This document provides instructions for decoding G.729 audio streams captured with Wireshark. It involves saving the RTP payload as a .raw file, using the Open G.729 decoder to convert it to .pcm format, and then prepending a header to create a playable .au file. The decoder is freely available and the process works on both Windows and Linux using Wine.

Uploaded by

Oscar Daza
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HowToDecodeG729 - The Wireshark Wiki http://wiki.wireshark.

org/HowToDecodeG729

How To Decode G.729


Wireshark will currently allow you to save the G.711 RTP payload information in .au file format. This
allows you to play back a captured conversation.

G.729 is another commonly used codec used in Voice over IP. This procedure will allow you to decode
this type of stream. In order to run the procedure, you will first need to obtain the Open G.729 decoder,
available for free from VoiceAge http://www.voiceage.com/openinit_g729.php. Note that this
procedure works either under Windows or under Linux with Wine.

1. In Wireshark, use menu "Statistics -> RTP -> Show All Streams". Select the desired stream and
press "Analyze".
2. In the next dialog screen, press "Save Payload...". Save options are Format = .raw and Channel =
forward. Name file sample.raw.
3. Convert the .raw file to .pcm format using the Open G.729 decoder. Syntax:
va_g729_decoder.exe sample.raw sample.pcm. Or for Linux: wine va_g729_decoder.exe
sample.raw sample.pcm.
4. The .pcm file contains 16-bit linear PCM samples at 8000 Hz. Note that each sample is in Little-
Endian format. To convert to .au format, all you need to do is prepend the 24 byte au header, and
convert each PCM sample to network byte order (or Big-Endian). The following Perl Script will
do the trick.

1 of 2 14/07/2010 11:09 a.m.


HowToDecodeG729 - The Wireshark Wiki http://wiki.wireshark.org/HowToDecodeG729

CategoryHowTo

HowToDecodeG729 (last edited 2010-07-10 17:04:05 by newacct)

2 of 2 14/07/2010 11:09 a.m.

You might also like