[Freeswitch-users] Extract audio from PCAP

covici at ccs.covici.com covici at ccs.covici.com
Wed Mar 6 23:14:21 MSK 2013


I have been looking at the man page for tshark, and I don't see any
reference to audio at all -- what am I missing here?

Michael Collins <msc at freeswitch.org> wrote:

> I like that cool Perl script. I'll have to try that some time. In the
> meantime you can use tshark to extract the rtp and then use sox to turn
> them into wav files. I'm working on a script to do that automatically, but
> in the meantime this post should help:
> 
> http://gteissier.wordpress.com/2010/03/02/tshark-the-swiss-army-knife-of-packet-analysis/
> 
> -MC
> 
> On Sun, Mar 3, 2013 at 4:40 PM, shouldbe q931 <shouldbeq931 at gmail.com>wrote:
> 
> > On Sun, Mar 3, 2013 at 11:40 PM, Avi Marcus <avi at avimarcus.net> wrote:
> > > I've have some really large PCAPs sometimes and wireshark just dies
> > trying
> > > to decode the audio in them.
> > >
> > > All the links for audio extraction on voipinfo seem really old.
> > >
> > > Is there something else to extract the audio from pcaps? Or some command
> > to
> > > to pass tshark to just save all audio as a .wav file?
> > >
> > > What does voipmonitor use?
> > > I think I asked this before...
> > >
> > > Thanks,
> > > -Avi Marcus
> >
> > How big are the pcap files ?
> >
> > you could use editcap to split them up into more manageable chunks,
> > and then use wireshark...
> > http://www.wireshark.org/docs/man-pages/editcap.html
> >
> > I've not either but, youmight look at
> >
> > http://frox25.no-ip.org/~mtve/wiki/RtpExtract.html
> >
> > and
> >
> > http://www.netresec.com/?page=NetworkMiner
> >
> > Cheers
> >
> > Arne
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> 
> 
> 
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list