[Freeswitch-users] Opus codec issue

Steven Ayre steveayre at gmail.com
Sat Sep 27 02:33:50 MSD 2014


It's not necessarily the same format. The codec is the same, but the
container may be different. fs_encode gives you just the raw data without a
container afaik. It should be playable with mod_native_file. opusenc might
be putting it in an ogg container format (or other).

On 26 September 2014 22:47, jonathan augenstine <jaugenstine at gmail.com>
wrote:

> Brian,
>
> It is a project requirement.  They want to have the audio files available
> in the format of the codec of the incoming calls.
>
> Jonathan
>
> On Fri, Sep 26, 2014 at 2:20 PM, Brian West <brian at freeswitch.org> wrote:
>
>> Why are you trying to create raw opus files in the first place?
>>
>> On Fri, Sep 26, 2014 at 2:44 PM, jonathan augenstine <
>> jaugenstine at gmail.com> wrote:
>>
>>> I have been working with WebRTC and utilizing the opus codec.  The sound
>>> quality on calls is great.  I have been encountering some file issues
>>> however and want to get some input on how to best proceed.  When the call
>>> is has both ends in Opus, or if Freeswitch is transcoding the call has no
>>> issues.  The only issues I encounter are the following.
>>>
>>> 1. fs_encode fails to create a valid opus file
>>> When fs_encode executes, you do see mod_opus load successfully.
>>> However, the file that is created cannot be read by opus.org utilities,
>>> specifically opusinfo.
>>>
>>> The command line I use is:
>>> fs_encode -l mod_opus infile.wav outfile.opus
>>>
>>> 2. Streaming a file that is encoded in opus format fails
>>> If I encode a file using opus.org tools, opusenc, I have a valid opus
>>> file and I am able to open it with other audio applications.  If I call
>>> into freeswitch and try to stream out that file, there is no error reported
>>> in the console logs, but the audio heard is garbled.
>>>
>>> Basically the mod_opus appears to work but reading, writing files
>>> appears to have an issue.
>>>
>>> My questions.
>>> 1. Is there anything I might have configured incorrectly?
>>> 2. What information can I grab to help troubleshoot this issue?
>>>
>>> Jonathan
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140926/54c2d4fc/attachment.html 


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