How To Convert RTP into WAV file

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(NT: adjusted the page)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
Below describe the steps to convert the RTP streams into .wav audio file:  
 
Below describe the steps to convert the RTP streams into .wav audio file:  
  
1- Open the extracted SIP/RTP capture of the call you want to analyze with wireshark:
+
== Open the extracted SIP/RTP capture of the call you want to analyze with wireshark ==
Go to Telephony -> RTP -> RTP Streams
+
=== Go to Telephony -> RTP -> RTP Streams ===
 +
 
 
[[Image:Telephony_RTP_RTP Streams.png]]  
 
[[Image:Telephony_RTP_RTP Streams.png]]  
  
  
Click “Analyze” button:
+
=== Click “Analyze” button ===
  
 
[[Image:Analyze.png]]  
 
[[Image:Analyze.png]]  
  
<br>
 
  
Save it to “Unsynchronized Forward Stream Audio”
+
=== Save it to “Unsynchronized Forward Stream Audio” ===
  
 
[[Image:Save.png]]  
 
[[Image:Save.png]]  
  
<br>
 
  
And Save as type: Raw
+
=== And Save as type: Raw ===
  
 
[[Image:Save_Raw.png]]  
 
[[Image:Save_Raw.png]]  
  
<br>
 
  
2- Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file.
+
Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file
Import the raw data to Audacity:
+
 
 +
== Use Audacity to reformat it to .wav file ==
 +
=== Import the raw data to Audacity ===
  
 
[[Image:Audacity_Import.png]]  
 
[[Image:Audacity_Import.png]]  
  
<br>
 
  
Export it and change the encoding and Sample rate:
+
=== Export it and change the encoding and Sample rate ===
  
 
[[Image:Export.png]]  
 
[[Image:Export.png]]  
Line 38: Line 37:
  
  
<br>
+
=== Save it as WAV file ===
 
+
Save it as WAV file:
+
 
+
[[Image:Audacity_Import.png]]
+
  
<br>
+
[[Image:Audacity_Import.png]]

Latest revision as of 08:14, 18 June 2018

Sometimes we need to convert the RTP packets extracted from Wireshark into .wav file, so anyone can listen the call easily for troubleshooting audio issue. Below describe the steps to convert the RTP streams into .wav audio file:

Contents

Open the extracted SIP/RTP capture of the call you want to analyze with wireshark

Go to Telephony -> RTP -> RTP Streams

Telephony RTP RTP Streams.png


Click “Analyze” button

Analyze.png


Save it to “Unsynchronized Forward Stream Audio”

Save.png


And Save as type: Raw

Save Raw.png


Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file

Use Audacity to reformat it to .wav file

Import the raw data to Audacity

Audacity Import.png


Export it and change the encoding and Sample rate

Export.png Change Encoding Sample Rate.png


Save it as WAV file

Audacity Import.png

Personal tools