Skip to end of metadata
Go to start of metadata

Download PDF Document

2018-07-11

Wireshark, Audacity

v. 42.3.986


1 Extracting the G729 Audio Stream from a Wireshark Capture


1.1 Opening the Capture in Wireshark

Steps

  1. If you do not see the RTP packets (G279), right click on a UDP packet and select Decode as .
  2. Select the Transport tab.
  3. From the scrolling menu to the right, select RTP.
  4. Click OK.

Result

Next Step

1.2 Extracting the RAW Data

1.2 Extracting the RAW Data

This task relates to Wireshark software

Steps

  1. Go to Telephony/RTP/Show All Streams.
  2. Select the desired stream.
  3. Click Analyze.
  4. Click Save payload.
  5. Select the following save options:
    1. Format /.raw
    2. Channels/forward.
  6. Name the file sample.row
  7. Click OK.

Result

The file is now saved on your computer in RAW format.

Next Step

2.1 Opening G.729 Decoder

2 Converting the .raw File to .pcm Format


2.1 Opening G.729 Decoder

Steps

  1. Download the Open G.729 Decoder from ?/OpenG729decoder.zip.
  2. Unzip the file content to a local folder.

Next Step

2.2 Converting the .raw File to .pcm Format

2.2 Converting the .raw File to .pcm Format

Before You Start

The Opening the Capture in Wireshark and Extracting the RAW Data procedures must be completed.

Steps

  1. Copy the .raw files from the initial folder to the G.279 decoder folder.
  2. Double click cli.bat.
  3. In the command prompt window, enter the following: va_g729_decoder.exe sample.raw sample.pcm.raw

Result

The .pcm file will be available for analysis.

3 Audacity


3.1 Using Audacity

Context

Audacity is a free audio editor and recorder. It is an Open Source software released under the GNU General Public Licence.

To download Audacity, click on the link: http://audacity.sourceforge.net/

Steps

  1. Open Audacity.
  2. Go to File/Import/Raw Data.
  3. Select the sample.pcm.raw file and open it.
  4. In the Import Raw Data window, enter the following:
  5. Click Import.

Result

A window in which you can listen to the audio capture will open.

4 Copyright Notice

Copyright © 2018 Media5 Corporation.

This document contains information that is proprietary to Media5 Corporation.

Media5 Corporation reserves all rights to this document as well as to the Intellectual Property of the document and the technology and know-how that it includes and represents.

This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever, without written prior approval by Media5 Corporation.

Media5 Corporation reserves the right to revise this publication and make changes at any time and without the obligation to notify any person and/or entity of such revisions and/or changes.