writing to mp4 file not work
Hi, I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules. I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml. I get these errors: [ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4] Do I need to compile FreeSWITCH from latest source to get this to work?
is the avcodecs extras package installed?
On Nov 5, 2015, at 10:27 AM, robert mundkowsky <rfmundkowsky@yahoo.com> wrote:
Hi,
I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules.
I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml.
I get these errors:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4]
Do I need to compile FreeSWITCH from latest source to get this to work?
_________________________________________________________________________ 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
I am not aware of any "extra" avcodecs apt-get packages? If I check "show files" from fs_cli, "file,mp4,mod_av" is listed. and "show modules" lists "file,mp4,mod_av,/usr/lib/freeswitch/mod/mod_av.so" From: Michael Jerris <mike@jerris.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Thursday, November 5, 2015 12:20 PM Subject: Re: [Freeswitch-users] writing to mp4 file not work is the avcodecs extras package installed? On Nov 5, 2015, at 10:27 AM, robert mundkowsky <rfmundkowsky@yahoo.com> wrote: Hi, I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules. I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml. I get these errors: [ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4] Do I need to compile FreeSWITCH from latest source to get this to work? _________________________________________________________________________ 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
Does the filename really have a dollar sign in it? What are you setting your auto-record to? On Thu, Nov 5, 2015 at 11:20 AM, Michael Jerris <mike@jerris.com> wrote:
is the avcodecs extras package installed?
On Nov 5, 2015, at 10:27 AM, robert mundkowsky <rfmundkowsky@yahoo.com> wrote:
Hi,
I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules.
I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml.
I get these errors:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4]
Do I need to compile FreeSWITCH from latest source to get this to work?
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
I installed libavcodec-extra module. I did not realize non-freeswitch-XXX packages were needed. But still does not work. Now get: 2015-11-07 22:24:34.697659 [WARNING] mod_local_stream.c:658 Unknown source stereo, trying 'default' 2015-11-07 22:24:34.697659 [ERR] mod_local_stream.c:667 Unknown source default 2015-11-07 22:24:34.697659 [DEBUG] mod_conference.c:379 Auto recording file: /var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4 2015-11-07 22:24:34.697659 [ERR] switch_core_file.c:240 Invalid file format [mp4] for [/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4]! 2015-11-07 22:24:34.697659 [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4] I tried same settings with FSV format and it records something, but doubt I can find a video player to test it anything is actually recorded. FYI, I had mod_local_stream errors before, but I assume they are unrelated to mp4 recording. From: Brian West <brian@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Friday, November 6, 2015 4:18 AM Subject: Re: [Freeswitch-users] writing to mp4 file not work Does the filename really have a dollar sign in it? What are you setting your auto-record to? On Thu, Nov 5, 2015 at 11:20 AM, Michael Jerris <mike@jerris.com> wrote: is the avcodecs extras package installed? On Nov 5, 2015, at 10:27 AM, robert mundkowsky <rfmundkowsky@yahoo.com> wrote: Hi, I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules. I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml. I get these errors: [ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4] Do I need to compile FreeSWITCH from latest source to get this to work? _________________________________________________________________________ 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 -- Brian West brian@freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.comGot Bugs? Report them here! | Reddit: /r/freeswitchT:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest _________________________________________________________________________ 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
Is mod_av loaded? On 11/7/15 4:36 PM, robert mundkowsky wrote:
I installed libavcodec-extra module. I did not realize non-freeswitch-XXX packages were needed. But still does not work.
Now get:
2015-11-07 22:24:34.697659 [WARNING] mod_local_stream.c:658 Unknown source stereo, trying 'default' 2015-11-07 22:24:34.697659 [ERR] mod_local_stream.c:667 Unknown source default 2015-11-07 22:24:34.697659 [DEBUG] mod_conference.c:379 Auto recording file: /var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4 2015-11-07 22:24:34.697659 [ERR] switch_core_file.c:240 Invalid file format [mp4] for [/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4]! 2015-11-07 22:24:34.697659 [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4]
I tried same settings with FSV format and it records something, but doubt I can find a video player to test it anything is actually recorded.
FYI, I had mod_local_stream errors before, but I assume they are unrelated to mp4 recording.
------------------------------------------------------------------------ *From:* Brian West <brian@freeswitch.org> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Friday, November 6, 2015 4:18 AM *Subject:* Re: [Freeswitch-users] writing to mp4 file not work
Does the filename really have a dollar sign in it? What are you setting your auto-record to?
On Thu, Nov 5, 2015 at 11:20 AM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
is the avcodecs extras package installed?
On Nov 5, 2015, at 10:27 AM, robert mundkowsky <rfmundkowsky@yahoo.com <mailto:rfmundkowsky@yahoo.com>> wrote:
Hi,
I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules.
I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml.
I get these errors:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4]
Do I need to compile FreeSWITCH from latest source to get this to work?
_________________________________________________________________________ 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 UNSUBSCRIBE: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 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
-- */Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ 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 UNSUBSCRIBE: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
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
It looks like it's trying to use the native AAC encoder instead of the VisualOn encoder. Install the libavcodec-extra package and see if it works after that. On 11/5/15 9:27 AM, robert mundkowsky wrote:
Hi,
I setup FreeSWITCH 1.6 on Debian Jessie using the apt-get modules.
I have mod_av auto loaded. When I try to "auto-record" to record to a mp4 file in /etc/freeswitch/autoload_configs/conference.conf.xml.
I get these errors:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/$1-10.61.82.56_2015-11-05-14-45-00.mp4]
Do I need to compile FreeSWITCH from latest source to get this to work?
_________________________________________________________________________ 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
On Fri, 2015-11-06 at 10:23 -0600, Bradley Jokinen wrote:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature It looks like it's trying to use the native AAC encoder instead of the VisualOn encoder. Install the libavcodec-extra package and see if it works after that.
One thing to note is that the native AAC encoder in ffmpeg is actually significantly better than the VisualOn encoder in quality - see https://trac.ffmpeg.org/wiki/Encode/AAC which describes the encoders the ffmpeg can use. The issue is that enabling the native AAC encoder requires passing an additional flag to allow the "experimental" codec. I suspect that adding this flag would be a fairly simple patch to FreeSWITCH. -- Calvin Walton <calvin.walton@kepstin.ca>
I installed libavcodec-extra module. Still does not work. Now get: 2015-11-07 22:24:34.697659 [WARNING] mod_local_stream.c:658 Unknown source stereo, trying 'default' 2015-11-07 22:24:34.697659 [ERR] mod_local_stream.c:667 Unknown source default 2015-11-07 22:24:34.697659 [DEBUG] mod_conference.c:379 Auto recording file: /var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4 2015-11-07 22:24:34.697659 [ERR] switch_core_file.c:240 Invalid file format [mp4] for [/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4]! 2015-11-07 22:24:34.697659 [ERR] conference_record.c:241 Error Opening File [{channels=2,samplerate=8000,vw=640,vh=480,fps=15.00}/var/lib/freeswitch/recordings/CONFER_NAME_2015-11-07-22-24-34.mp4] I tried same settings with FSV format and it records something, but doubt I can find a video player to test it anything is actually recorded. FYI, I had mod_local_stream errors before, but I assume they are unrelated to mp4 recording. From: Calvin Walton <calvin.walton@kepstin.ca> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Friday, November 6, 2015 3:39 PM Subject: Re: [Freeswitch-users] writing to mp4 file not work On Fri, 2015-11-06 at 10:23 -0600, Bradley Jokinen wrote:
[ERR] avformat.c:411 Could not open audio codec: Experimental feature It looks like it's trying to use the native AAC encoder instead of the VisualOn encoder. Install the libavcodec-extra package and see if it works after that.
One thing to note is that the native AAC encoder in ffmpeg is actually significantly better than the VisualOn encoder in quality - see https://trac.ffmpeg.org/wiki/Encode/AAC which describes the encoders the ffmpeg can use. The issue is that enabling the native AAC encoder requires passing an additional flag to allow the "experimental" codec. I suspect that adding this flag would be a fairly simple patch to FreeSWITCH. -- Calvin Walton <calvin.walton@kepstin.ca> _________________________________________________________________________ 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)
-
Bradley Jokinen
-
Brian West
-
Calvin Walton
-
Michael Jerris
-
robert mundkowsky