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
h264 I believe is supported... On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin <ssinyagin@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@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@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
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@gmail.com> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin <ssinyagin@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@gmail.com <javascript:;>> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@gmail.com <javascript:;>> 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@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> 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@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> 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@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> 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@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
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@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@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@gmail.com> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@gmail.com> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
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@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@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@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@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@gmail.com> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@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@gmail.com> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org [image: ☎] +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
yes I can confirm it also works with av:///tmp/test.mkv and .flv etc. On Wed, Jul 1, 2015 at 2:45 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: > h264 I believe is supported... > > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error: 2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context same error if I need to produce 48kHz OPUS or 8kHZ G711. VLC plays back both the original and converted videos so far. I'll play around with it during the week. On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: > h264 I believe is supported... > > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote: 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@gmail.com <mailto:ssinyagin@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@gmail.com <mailto:anthony.minessale@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@gmail.com <mailto:ssinyagin@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@gmail.com <mailto:anthony.minessale@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@gmail.com <mailto:ssinyagin@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@gmail.com <>> wrote:
h264 I believe is supported...
On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin <ssinyagin@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 <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@freeswitch.org <> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618 <tel:%2B39-347-2665618>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ <http://freeswitch.org/> ☞ http://cluecon.com/ <http://cluecon.com/> ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH> ☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900 <tel:%2B19193869900>
https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s> https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ <http://freeswitch.org/> ☞ http://cluecon.com/ <http://cluecon.com/> ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH> ☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900 <tel:%2B19193869900>
https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s> https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ <http://freeswitch.org/> ☞ http://cluecon.com/ <http://cluecon.com/> ☞ http://twitter.com/FreeSWITCH <http://twitter.com/FreeSWITCH> ☞ irc.freenode.net <http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ <http://freeswitch.org/g+>
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900 <tel:%2B19193869900>
https://www.youtube.com/watch?v=9XXgW34t40s <https://www.youtube.com/watch?v=9XXgW34t40s> https://www.youtube.com/watch?v=NLaDpGQuZDA <https://www.youtube.com/watch?v=NLaDpGQuZDA>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Like I said, you need the precise versions we have detailed in our Debian jessie packaging. It does not work on older versions of libav* If you don't want to use jessie you need to see the versions of everything we use and manually build it all and its full chain of cross depends. On Tue, Jun 30, 2015 at 7:54 PM, Michael Jerris <mike@jerris.com> wrote:
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: > > h264 I believe is supported... > > > > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < > ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
This was all on a freshly installed Jessie, with your 1.7 debs. I will have a closer look and document the issue later, now I only had time for a quick check. On Jul 1, 2015 3:18 AM, "Anthony Minessale" <anthony.minessale@gmail.com> wrote:
Like I said, you need the precise versions we have detailed in our Debian jessie packaging. It does not work on older versions of libav* If you don't want to use jessie you need to see the versions of everything we use and manually build it all and its full chain of cross depends.
On Tue, Jun 30, 2015 at 7:54 PM, Michael Jerris <mike@jerris.com> wrote:
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: >> > h264 I believe is supported... >> > >> > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < >> ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
do you have the libav -extra package (I don't recall the full name) installed? On Wednesday, July 1, 2015, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
This was all on a freshly installed Jessie, with your 1.7 debs. I will have a closer look and document the issue later, now I only had time for a quick check. On Jul 1, 2015 3:18 AM, "Anthony Minessale" <anthony.minessale@gmail.com <javascript:_e(%7B%7D,'cvml','anthony.minessale@gmail.com');>> wrote:
Like I said, you need the precise versions we have detailed in our Debian jessie packaging. It does not work on older versions of libav* If you don't want to use jessie you need to see the versions of everything we use and manually build it all and its full chain of cross depends.
On Tue, Jun 30, 2015 at 7:54 PM, Michael Jerris <mike@jerris.com <javascript:_e(%7B%7D,'cvml','mike@jerris.com');>> wrote:
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com <javascript:_e(%7B%7D,'cvml','ssinyagin@gmail.com');>> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com <javascript:_e(%7B%7D,'cvml','anthony.minessale@gmail.com');>> wrote:
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@gmail.com <javascript:_e(%7B%7D,'cvml','ssinyagin@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@gmail.com <javascript:_e(%7B%7D,'cvml','anthony.minessale@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@gmail.com <javascript:_e(%7B%7D,'cvml','ssinyagin@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@gmail.com > <javascript:_e(%7B%7D,'cvml','anthony.minessale@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@gmail.com >> <javascript:_e(%7B%7D,'cvml','ssinyagin@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@gmail.com> wrote: >>> > h264 I believe is supported... >>> > >>> > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < >>> ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org >> <javascript:_e(%7B%7D,'cvml','sip:888@conference.freeswitch.org');> >> ☎ +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@freeswitch.org >> <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org >> <javascript:_e(%7B%7D,'cvml','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 >> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org > <javascript:_e(%7B%7D,'cvml','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 >
-- 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@conference.freeswitch.org <javascript:_e(%7B%7D,'cvml','sip:888@conference.freeswitch.org');> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
-- 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@conference.freeswitch.org <javascript:_e(%7B%7D,'cvml','sip:888@conference.freeswitch.org');> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
-- 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@conference.freeswitch.org <javascript:_e(%7B%7D,'cvml','sip:888@conference.freeswitch.org');> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
no, doesn't seem so: root@fsdemo:~# aptitude search libav | egrep '^i' i libav-tools - Multimedia player, encoder and transcoder i A libavahi-client3 - Avahi client library i A libavahi-common-data - Avahi common data files i A libavahi-common3 - Avahi common library i A libavc1394-0 - control IEEE 1394 audio/video devices i A libavcodec56 - Libav codec library i A libavdevice55 - Libav device handling library i A libavfilter5 - Libav video filtering library i A libavformat56 - Libav file format library i A libavresample2 - Libav audio resampling library i A libavutil54 - Libav utility library root@fsdemo:~# On Wed, Jul 1, 2015 at 8:23 AM, Michael Jerris <mike@jerris.com> wrote:
do you have the libav -extra package (I don't recall the full name) installed?
On Wednesday, July 1, 2015, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
This was all on a freshly installed Jessie, with your 1.7 debs. I will have a closer look and document the issue later, now I only had time for a quick check. On Jul 1, 2015 3:18 AM, "Anthony Minessale" <anthony.minessale@gmail.com> wrote:
Like I said, you need the precise versions we have detailed in our Debian jessie packaging. It does not work on older versions of libav* If you don't want to use jessie you need to see the versions of everything we use and manually build it all and its full chain of cross depends.
On Tue, Jun 30, 2015 at 7:54 PM, Michael Jerris <mike@jerris.com> wrote:
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: >>>> > h264 I believe is supported... >>>> > >>>> > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < >>>> ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
reported here: https://freeswitch.org/jira/browse/FS-7762 On Wed, Jul 1, 2015 at 9:39 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
no, doesn't seem so:
root@fsdemo:~# aptitude search libav | egrep '^i' i libav-tools - Multimedia player, encoder and transcoder i A libavahi-client3 - Avahi client library i A libavahi-common-data - Avahi common data files i A libavahi-common3 - Avahi common library i A libavc1394-0 - control IEEE 1394 audio/video devices i A libavcodec56 - Libav codec library i A libavdevice55 - Libav device handling library i A libavfilter5 - Libav video filtering library i A libavformat56 - Libav file format library i A libavresample2 - Libav audio resampling library i A libavutil54 - Libav utility library root@fsdemo:~#
On Wed, Jul 1, 2015 at 8:23 AM, Michael Jerris <mike@jerris.com> wrote:
do you have the libav -extra package (I don't recall the full name) installed?
On Wednesday, July 1, 2015, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
This was all on a freshly installed Jessie, with your 1.7 debs. I will have a closer look and document the issue later, now I only had time for a quick check. On Jul 1, 2015 3:18 AM, "Anthony Minessale" <anthony.minessale@gmail.com> wrote:
Like I said, you need the precise versions we have detailed in our Debian jessie packaging. It does not work on older versions of libav* If you don't want to use jessie you need to see the versions of everything we use and manually build it all and its full chain of cross depends.
On Tue, Jun 30, 2015 at 7:54 PM, Michael Jerris <mike@jerris.com> wrote:
That error happens when avresample_open call fails. This is going to be some sort of issue with how libav was built as this is known working.
On Jun 30, 2015, at 7:51 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made a few more tests: the original file has AAC audio, and avconv needs "-strict experimental" option to process that. Probably that's why FreeSWITCH crashes. After I converted the video to 320x240 and MP3 audio, I get a different error:
2015-07-01 01:46:22.701171 [ERR] avformat.c:1136 Failed to initialize the resampling context
same error if I need to produce 48kHz OPUS or 8kHZ G711.
VLC plays back both the original and converted videos so far.
I'll play around with it during the week.
On Tue, Jun 30, 2015 at 8:45 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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@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@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@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@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@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@gmail.com> wrote: >>>>> > h264 I believe is supported... >>>>> > >>>>> > On Tue, Jun 30, 2015 at 12:48 AM, Stanislav Sinyagin < >>>>> ssinyagin@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anthony Minessale
-
Giovanni Maruzzelli
-
Michael Jerris
-
Seven Du
-
Stanislav Sinyagin