Konstantin, Thank you very much for sharing this with us. I have added this recipe to the FAQ.
Константин wrote: > Hello! > > I tried to find a solution to convert rtp files to wav for version > rtpproxy < 1.2. I'm read scary stories about the creation > rtpproxy-module fpr sems :) > > Fortunately, since version 1.2 came the parameter -P allows you to record > rtp-traffic in a pcap. > Here is my decision to convert this to wav, using rtpbreak > (http://xenion.reactive-search.com/?page_id=7), sox and lame (for mp3). > Tested with debian etch. > > First, the conversion of each channel in the raw: > > rtpbreak -W -r longfilename_of_rtpproxy_record.a.rtp > rtpbreak -W -r longfilename_of_rtpproxy_record.a.rtp > > Then mix in the format wavpcm stereo: > > sox --combine merge -r 8k -A rtp.0.0.raw -r 8k -A rtp.1.0.raw -t wavpcm -s > out.wav > > and, finally, converting to mp3: > > lame out.wav out.mp3 > > Thank you :-) Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: [email protected] Skype: SippySoft _______________________________________________ Users mailing list [email protected] http://lists.rtpproxy.org/mailman/listinfo/users
