how to decode and playback g729 audio streams to decode and playback g729 audio streams 6...

10
How to Decode and Playback G729 Audio Streams Wireshark, Audacity v. 42.1.857 2018-05-11

Upload: phamdien

Post on 17-Mar-2018

387 views

Category:

Documents


11 download

TRANSCRIPT

Page 1: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams

Wireshark, Audacity

v. 42.1.857

2018-05-11

Page 2: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

Table of Contents

media5corp.com

Table of Contents

Extracting the G729 Audio Stream from a Wireshark Capture 3

Opening the Capture in Wireshark 3

Extracting the RAW Data 4

Converting the .raw File to .pcm Format 6

Opening G.729 Decoder 6

Converting the .raw File to .pcm Format 6

Audacity 8

Using Audacity 8

Copyright Notice 9

Page 3: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 3

media5corp.com

Extracting the G729 Audio Stream from aWireshark Capture

Opening the Capture in Wireshark

Steps1) 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 StepExtracting the RAW Data (p. 4)

Page 4: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 4

media5corp.com

This task relates to Wireshark software

Extracting the RAW Data

This task relates to Wireshark software

Steps1) 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:

a) Format /.rawb) Channels/forward.

6) Name the file sample.row7) Click OK.

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

Page 5: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 5

media5corp.com

Next StepOpening G.729 Decoder (p. 6)

Page 6: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 6

media5corp.com

Converting the .raw File to .pcm Format

Opening G.729 Decoder

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

Next StepConverting the .raw File to .pcm Format (p. 6)

Converting the .raw File to .pcm Format

Before you startThe Opening the Capture in Wireshark (p. 3) and Extracting the RAW Data (p. 4) procedures must becompleted.

Steps1) 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

ResultThe .pcm file will be available for analysis.

Page 7: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 7

media5corp.com

Page 8: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 8

media5corp.com

Audacity

Using Audacity

InformationAudacity is a free audio editor and recorder. It is an Open Source software released under the GNUGeneral Public Licence.

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

Steps1) 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.

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

Page 9: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download

How to Decode and Playback G729 Audio Streams 9

media5corp.com

Copyright NoticeCopyright © 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 ofthe 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, withoutwritten prior approval by Media5 Corporation.

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

Page 10: How to Decode and Playback G729 Audio Streams to Decode and Playback G729 Audio Streams 6 media5corp.com Converting the .raw File to .pcm Format Opening G.729 Decoder Steps 1) Download