[Freeswitch-users] writing to mp4 file not work

robert mundkowsky rfmundkowsky at yahoo.com
Sun Nov 8 01:32:48 MSK 2015

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 at kepstin.ca>
 To: FreeSWITCH Users Help <freeswitch-users at 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 
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 at kepstin.ca>

Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151107/d11f8b13/attachment-0001.html 

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