Shpinev,

Thanks for your response.

-M seems to be an unrecognized switch. I have been using rtpbreak to 
generate the .raw file. Subsequent to which i use sox to convert the 
.raw to a .wav file. By importing the the .raw file into Hypersignal 
software, i found that the .raw file doesnt entirely seem to be composed 
of speech samples, so there could be a problem at the rtpbreak step.

This is the command i used to convert rtpproxy's capture file to .raw format

rtpbreak -W -r capturefile.rtp

Am i missing something here ?

Thanks and Regards,
Vikram.

> Date: Thu, 14 Jan 2010 10:08:15 +0500
> From: Shpinev Konstantin <k...@isvyaz.ru>
> Subject: Re: [RTPproxy Users] Converting rtpproxy recorded .rtp file
>       to .wav file
> To: RTPproxy Users <users@rtpproxy.org>
> Message-ID: <1853934192.20100114100...@isvyaz.ru>
> Content-Type: text/plain; charset=windows-1251
> 
> Hello, Vikram.
> 
>> Hello,
> 
>> I used Kamailio+rtpproxy to record a session and rtpproxy outputs the 
>> following files
> 
>> long_file_name.a.rtp, long_file_name.a.rtcp, long_file_name.o.rtp, 
>> long_file_name.o.rtcp
> 
>> http://www.rtpproxy.org/wiki/RTPproxy/FAQ
>>  From the Rtpproxy FAQ above, i tried to extract the audio using 
>> rtpbreak and sox.
> 
>> rtpbreak -W -r long_file_name.a.rtp
>> rtpbreak -W -r long_file_name.o.rtp
> 
>> The above commands generate rtp.0.0.raw, rtp.1.0.raw.
> 
>> Then when i run sox using
>> sox --combine merge -r 8k -A rtp.0.0.raw -r 8k -A rtp.1.0.raw -t wavpcm
>> -s out.wav i get the following errors :
> 
>> sox: invalid option -- -
>> sox: -c must be given a number
> 
>> Is there a switch/anything else that i am missing ?
> 
> Try to use '-M' instead of '--combine merge'
> 
> 
>> Thanks in advance,
>> Regards,
>> Vikram.
> 
>> _______________________________________________
>> Users mailing list
>> Users@rtpproxy.org
>> http://lists.rtpproxy.org/mailman/listinfo/users
> 
> 

_______________________________________________
Users mailing list
Users@rtpproxy.org
http://lists.rtpproxy.org/mailman/listinfo/users

Reply via email to