[Freeswitch-users] fs_encode opus to wav is it possible

Raymond xxxman2008 at 126.com
Wed Apr 26 17:03:59 MSD 2017

Maybe ,you can record it ,save it as "raw" format . Plz look at wiki  to ensure it.

Wiki  is  the first place to find the solution.


在 2017-04-26 20:53:55,"Antonio Silva" <asilva at wirelessmundi.com> 写道:

i want to analyze the audio that i received from the link... recording is not an options since it introduces transcoding in fs. 

I do this method for all other codecs like g722, g729, (PCMU/A not need wireshark can play it or you can save as .au), i get the all the rtp pkt and convert then with fs_encode to wav to reproduce with normal player.

Bur for opus i can't figure out how to make it work... i already try to pass the fmtp args negotiated in the sdp with no luck..

Saludos / Regards / Cumprimentos,
António silva
On 04/26/2017 02:18 PM, Raymond wrote:


why don't you  just record  to an wav file??
And "wireshark -> rtp streams -> save as raw format "---------------------- you just got a file with ip packet format. not the "raw audio format"


At 2017-04-26 16:37:05, "Antonio Silva" <asilva at wirelessmundi.com> wrote:
>i'm trying to get rtp opus to a wav file using fs_encode but is not 
>working... anyone have tried to decode rtp with opus? can it be done 
>with fs_encode?
>So for what i did was:
>- wireshark -> rtp streams -> save as raw format
>- fs_encode -v -l mod_opus 0x60f26a47.opus audio.wav
>fs_encode creates the audio.wav but is empty.. i've done this with g729 
>files but with opus is not working...
>You can check the output of the command in 
>Thanks for the help.
>Saludos / Regards / Cumprimentos,
>António silva
>Professional FreeSWITCH Consulting Services: 
>consulting at freeswitch.org
>Official FreeSWITCH Sites
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org


Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.orghttp://www.freeswitchsolutions.com

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170426/c9d2be4a/attachment-0001.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list