Hello, Can I record to ogg vorbis? I've read that anything other than wav is not recommended, but the good thing about ogg is that it is the only format that can be played in all the html5 compliant browsers. If it can't be done, is there any way to build a conversion hook into the record command? (convert after finished recording) Thanks, Kees
no Sent from my iPad On May 30, 2010, at 1:04 AM, Kees Varekamp <kees@mroffice.org> wrote:
Hello,
Can I record to ogg vorbis?
I've read that anything other than wav is not recommended, but the good thing about ogg is that it is the only format that can be played in all the html5 compliant browsers.
If it can't be done, is there any way to build a conversion hook into the record command? (convert after finished recording)
Thanks,
Kees _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK tnx :-) On Sun, May 30, 2010 at 18:26, Brian West <brian@freeswitch.org> wrote:
no
Sent from my iPad
On May 30, 2010, at 1:04 AM, Kees Varekamp <kees@mroffice.org> wrote:
Hello,
Can I record to ogg vorbis?
I've read that anything other than wav is not recommended, but the good thing about ogg is that it is the only format that can be played in all the html5 compliant browsers.
If it can't be done, is there any way to build a conversion hook into the record command? (convert after finished recording)
Thanks,
Kees _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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 list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@mroffice.org> wrote:
OK tnx :-)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@freeswitch.org <mailto:brian@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@mroffice.org <mailto:kees@mroffice.org>> wrote:
> OK tnx :-)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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 list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@mroffice.org> wrote:
OK tnx :-)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
See how easy things can be sometimes.. can you post a patch on jira? /b On May 30, 2010, at 8:17 AM, Kees Varekamp wrote:
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.
Ogg can record native sample rates I would say context->sfinof.samplerate= handle->samplerate; This would mean that it would record at the channels native sample rate and no resample would be required to record 8,12,16,24,32 or 48kHz channels. Could flac support be added also? /b On May 30, 2010, at 8:17 AM, Kees Varekamp wrote:
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!
participants (3)
-
Brian West
-
Kees Varekamp
-
Tamas