[asterisk-dev] Where are codec_opus and format_vp8 in menuselect?

Lorenzo Miniero lminiero at gmail.com
Mon May 27 14:45:26 CDT 2013


2013/5/27 James Mortensen <james.mortensen at voicecurve.com>

> In the instructions
> https://github.com/meetecho/asterisk-opus/blob/master/README.md, we see
> the following:
>
> "Make sure that codec_opus and format_vp8 are enabled in menuselect before
> going on. Besides, for better results, install the slin16 versions of the
> Asterisk sounds, which are not enabled by default."
>
> What part of the menuselect should we expect to find codec_opus and
> format_vp8?  I'm trying to add this patch to Asterisk 11.4.0 and don't want
> to play guessing games if this isn't going to work.  I checked in the
> "Codec Translators" section and I don't see those codec's listed.
>
> Also, if it helps, I see this when configuring opus from source:
>
> ------------------------------------------------------------------------
>   opus 1.0.2:  Automatic configuration OK.
>
>     Compiler support:
>
>       C99 var arrays: ................ yes
>       C99 lrintf: .................... yes
>       Alloca: ........................ yes
>
>     General configuration:
>
>       Floating point support: ........ yes
>       Fast float approximations: ..... no
>       Fixed point debugging: ......... no
>       Custom modes: .................. no
>       Assertion checking: ............ no
>       Fuzzing: ....................... no
>
>       API documentation: ............. no
> ------------------------------------------------------------------------
>
> Opus compiled on Ubuntu 12.04 without any errors or warnings.
>
> However, when patching Asterisk, I see the following:
>
> root at jamesasterisktest:/mnt/asteriskpersistent/src/asterisk-11.4.0# patch
> -p1 -u < asterisk_opus+vp8.diff
> patching file build_tools/menuselect-deps.in
> patching file channels/chan_sip.c
> Hunk #1 succeeded at 7757 (offset 33 lines).
> Hunk #2 succeeded at 11045 (offset 46 lines).
> Hunk #3 succeeded at 11084 (offset 46 lines).
> Hunk #4 succeeded at 11151 (offset 46 lines).
> Hunk #5 succeeded at 12756 (offset 107 lines).
> Hunk #6 succeeded at 12789 (offset 107 lines).
> patch: **** write error : No space left on device
>
> The drive has 2.3GB of available space, and the patch isn't that big.
>
> If any of this looks related to the patch issues, I'll try with 11.1.2.  I
> just want to make sure the other pieces are in order and that I'm looking
> for things in menuselect in the right places.
>
>

My guess is that the error you got prevented the patch from being
completely applied: most likely neither code_opus.c nor format_vp8.c were
created, and so they don't appear in menuselect. About Asterisk 11.4.0
compatibility, I'm not familiar with that version so I'm not sure if and
how it would work. If the menuselect syntax has not been changed in the
meanwhile it should find both the files without problems.

Lorenzo

Thank you!
>
> --
> James Mortensen
> Project Manager, VoiceCurve, Inc.
> 866-707-4590
> james.mortensen at voicecurve.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130527/1c879cb4/attachment-0001.htm>


More information about the asterisk-dev mailing list