[Freeswitch-users] recording to ogg vorbis

Kees Varekamp kees at mroffice.org
Sun May 30 06:17:23 PDT 2010


Thanks.

I think I got it fixed:

1) libsndfile needs updating to 1.0.21
2) libsndfile needs libogg, libvorbis, libflac and pkg-config (otherwise it
will happily compile, but without ogg support)
3) mod_sndfile needs an extra else if after line 150:
} else if (!strcmp(ext, "oga")) {
context->sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_VORBIS;
context->sfinfo.channels = 1;
context->sfinfo.samplerate = 8000;
}

4) make && make install mod_sndfile
5) ...
6) Profit!

I can record *.oga files now :-))) Very cool.


On Sun, May 30, 2010 at 21:01, Tamas <jalsot at gmail.com> wrote:

>  Hello,
>
> maybe upgrading libsndfile could do the trick as new version supports
> OGG/Vorbis.
> (http://www.mega-nerd.com/libsndfile/).
>
> Regards,
>     Tamas
>
> 2010-05-30 09:24 keltezéssel, Kees Varekamp írta:
>
> I am keen but my c skills are not top notch. But I'll give it a go.
>
>  tnx,
> Kees
>
> On Sun, May 30, 2010 at 18:52, Brian West <brian at freeswitch.org> wrote:
>
>> you could write a format module to allow that.
>>
>> Sent from my iPad
>>
>> On May 30, 2010, at 1:34 AM, Kees Varekamp <kees at mroffice.org> wrote:
>>
>> > OK tnx :-)
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _______________________________________________
> 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/20100531/efb20807/attachment.html 


More information about the FreeSWITCH-users mailing list