[Freeswitch-users] Recording session as ogg format

Anthony Minessale anthony.minessale at gmail.com
Wed Feb 1 08:19:04 MSK 2017


There is no official way but,

mod_av might do it.

No promises but you could try av:///tmp/file.ogg

or maybe av:///tmp/file.mkv





On Tue, Jan 31, 2017 at 12:14 PM Tamas Jalsovszky <jalsot at gmail.com> wrote:

> Just curious, is it possible to record into ogg/opus?
>
> On 31 January 2017 at 17:46, Brian West <brian at freeswitch.org> wrote:
>
> Lookin at the code  SF_FORMAT_OGG | SF_FORMAT_VORBIS are already
> registered as .oga, I'll see if I can look at adding this.
>
> On Tue, Jan 31, 2017 at 8:27 AM, Hamit Türkü Kaya <
> hamit.turku.kaya at bulutfon.com> wrote:
>
> Thanks for your reply but, i add
>
>  else if (!strcmp(ext, "ogg")) {
> context->sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_VORBIS;
> context->sfinfo.samplerate = handle->samplerate;
> }
>
> after
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/formats/mod_sndfile/mod_sndfile.c#159
>
> this line but i’m still getting same error. Am i editing wrong place?
>
> Thanks.
>>
> *Hamit Türkü KAYA, Geliştirici*
> BULUTFON AŞ | www.bulutfon.com | 0 (850) 885 0000 <(850)%20885-0000>
>
>
>
>
> On 30 Jan 2017, at 17:08, Brian West <brian at freeswitch.org> wrote:
>
> Someone would have to add the registration of the format in mod_sndfile
> for 1.0.18 and higher.
>
> /b
> On Mon, Jan 30, 2017 at 8:05 AM Hamit Türkü Kaya <
> hamit.turku.kaya at bulutfon.com> wrote:
>
> Hi, i want to record sessions as .ogg file with  record_session command. I
> installed libsndfile and it’s dependencies also i activated mod_sndfile in
> freeswitch.
>
> Now i am able to record it with .oga extension but i can’t record as ogg.
> When i try it i get;
>
> *[ERR] switch_core_file.c:150 Invalid file** format [ogg] for file.*
>
> error.
>
> As i know, both of them uses vorbis codecs. Why system doesn’t recognise
> ogg. Is there licence problem or something else?
>
> Regards.
>
>>
> *Hamit Türkü KAYA, Geliştirici*
> BULUTFON AŞ | www.bulutfon.com | 0 (850) 885 0000 <(850)%20885-0000>
>
>
>
>
> _________________________________________________________________________
> 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
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
> | *M:*+1918424WEST (9378)
> *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
>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
> https://www.gofundme.com/freeswitch_ubuntu
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
> | *M:*+1918424WEST (9378)
> *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

-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170201/5d12aea8/attachment-0001.html 


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