[Freeswitch-users] Video playback in 1.7

Anthony Minessale anthony.minessale at gmail.com
Tue Jun 30 22:45:25 MSD 2015


Depending on what ext you have and the proper build of mod_av I can't
comment.

I can confirm with the properly installed debian packages for jessie that
at least mp4 files work either by reference to .mp4 files or by using
av:///path/to/file.mp4



On Tue, Jun 30, 2015 at 12:46 PM, Stanislav Sinyagin <ssinyagin at gmail.com>
wrote:

> av:///tmp/somefile.ext crashed the daemon, I didn't yet find the time to
> analyze it and file a jira.
>  On Jun 30, 2015 7:43 PM, "Anthony Minessale" <anthony.minessale at gmail.com>
> wrote:
>
>> mod_av is not an endpoint its a codec and file format module.
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:213 Adding
>> Codec H264 99 H264 Video 90000hz 0ms (VBR)
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:292 Adding
>> Application 'record_av'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:338 Adding
>> API Function 'av_format'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:338 Adding
>> API Function 'av_codec'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:390 Adding
>> File Format 'av'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:390 Adding
>> File Format 'rtmp'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:390 Adding
>> File Format 'mp4'
>>
>> 2015-06-30 12:40:40.248642 [NOTICE] switch_loadable_module.c:390 Adding
>> File Format 'mov'
>>
>>
>> It was av:// not avformat:// i was remembering the old version.
>>
>>
>> if av:///tmp/somefile.ext works then it can be added to mod_avformat_load
>> function in avformat.c:1949 ish  to register the extension for convenience.
>>
>>
>>
>>
>>
>> On Tue, Jun 30, 2015 at 2:07 AM, Stanislav Sinyagin <ssinyagin at gmail.com>
>> wrote:
>>
>>> mod_av doesn't seem to be registering an endpoint, so prefixing
>>> avformat:// or av:// does not help. I'll have a closer look later and
>>> probably open a Jira
>>>
>>> On Tue, Jun 30, 2015 at 1:18 AM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> Webm has its own module.  Av and vlc both have broken webm at the time
>>>> of coding.
>>>>
>>>>
>>>> mod_vlc can play other formats but they are not registered in the
>>>> module by file exten however you can use vlc:// syntax.
>>>>
>>>> mp4 is the safest bet because it works in mod_av which is more stable
>>>> than vlc.  More formats can be added to mod_av as well but I don't remember
>>>> if its as easy as avformat://<path>
>>>>
>>>> We don't have any choosing best format etc.  It's not going to be a
>>>> point of focus to squeeze performance out of stuff like that in this stage
>>>> of development.
>>>>
>>>> On Monday, June 29, 2015, Stanislav Sinyagin <ssinyagin at gmail.com>
>>>> wrote:
>>>>
>>>>> by the way, is there a way for playback to select a best matching
>>>>> encoding, like it does with audio sample rates?
>>>>>
>>>>> On Tue, Jun 30, 2015 at 12:56 AM, Giovanni Maruzzelli <
>>>>> gmaruzz at gmail.com> wrote:
>>>>> > h264 I believe is supported...
>>>>> >
>>>>> > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin <
>>>>> ssinyagin at gmail.com>
>>>>> > wrote:
>>>>> >>
>>>>> >> the newest 1.7 freeswitch successfully played an .mp4 file with
>>>>> >> "playback" application, and the picture was sent to an VP8 client
>>>>> >> (linphone on Android).
>>>>> >>
>>>>> >> The playback took about 20% CPU usage on a Xeon core -- probably
>>>>> >> because of resising work. The source file was taken from
>>>>> >> http://www.quirksmode.org/html5/tests/video.html
>>>>> >>
>>>>> >>
>>>>> >> Question: what other file formats are supported?
>>>>> >>
>>>>> >> I tried .ogv and .webm, but I got "Invalid file format" error.
>>>>> >>
>>>>> >> thanks
>>>>> >>
>>>>> >>
>>>>> _________________________________________________________________________
>>>>> >> 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
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Sincerely,
>>>>> >
>>>>> > Giovanni Maruzzelli
>>>>> > Cell : +39-347-2665618
>>>>> >
>>>>> >
>>>>> _________________________________________________________________________
>>>>> > 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
>>>> [image: ☎] sip:888 at conference.freeswitch.org  [image: ☎] +19193869900
>>>>
>>>> https://www.youtube.com/watch?v=9XXgW34t40s
>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>> [image: ☎] sip:888 at conference.freeswitch.org  [image: ☎] +19193869900
>>
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>
>> _________________________________________________________________________
>> 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/20150630/35c5b02c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3053 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150630/35c5b02c/attachment-0001.png 


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