Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are working in a test environment and need to monitor the audio quality of an rtp stream that is being captured using tshark.

Right now we are able to capture the audio and access the file through wireshark, but we would like to find a way to save the audio to a .wav file (or similar) via the command line.

Does anyone know of a tool that can do this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

There is a small tool called pcaputil - it is part of the pjsip project. It should be able to decode pcap files with RTP (G.711, G.722, speex and other codecs are supported) into wav files.

Compile pjsip and find pcaputil inside pjsip-apps/bin/samples/[architecture]/.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.