<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 5:14 AM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Slightly related: Sometimes I want to <i>listen</i> to the PCAP and wireshark takes a while or otherwise chokes on it.<div>I&#39;ve tried finding a tool, but they either didn&#39;t compile, weren&#39;t free, etc... any tips on an easy command-line version to extract audio from a PCAP?</div></div></blockquote><div><br></div><div>Actually, there is. You just need tshark and some data. I wrote a pcap2wav utility here at work and I&#39;ll find out if it&#39;s okay to release it to the public. In the meantime the basic information on extracting the RTP sessions can be found here:<br><a href="http://stackoverflow.com/questions/6073868/how-to-stream-pcap-file-to-rtp-rtcp-stream">http://stackoverflow.com/questions/6073868/how-to-stream-pcap-file-to-rtp-rtcp-stream</a><br><br></div><div>Just keep in mind that this is only grabbing RTP in a particular direction. You can mux two streams together but just remember that they rarely start at exactly the same moment in time so you&#39;ll need to pad silence at the beginning of one of them. <br><br></div><div>-MC<br></div></div><br></div></div>