[Freeswitch-users] Problem with MP4 file record

Denis Jakovlev yadenis at seznam.cz
Thu May 28 17:40:56 MSD 2015


Hi all,

Finally mod_av I have a system freeswitch. But still do not want to write MP4

4f98c0d7-5e8c-4e16-a8d4-47509d8e8f75 2015-05-28 09:37:26.693684 [DEBUG] switch_rtp.c:1778 rtcp_stats_init: audio ssrc[2716661911] base_seq[17278]
4f98c0d7-5e8c-4e16-a8d4-47509d8e8f75 EXECUTE sofia/internal/1004 at 192.168.242.132 record(/usr/local/freeswitch/recordings/20150528_093729_1004_9193.mp4)
2015-05-28 09:37:29.574626 [INFO] avformat.c:1363 init timer
2015-05-28 09:37:29.574626 [DEBUG] avformat.c:1380 sample rate: 48000, channels: 1
2015-05-28 09:37:29.574626 [INFO] avformat.c:1481 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
2015-05-28 09:37:29.574626 [ERR] avformat.c:384 Could not open audio codec: Experimental feature
4f98c0d7-5e8c-4e16-a8d4-47509d8e8f75 2015-05-28 09:37:29.574626 [NOTICE] switch_ivr_play_say.c:544 Hangup sofia/internal/1004 at 192.168.242.132 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]


what am I doing wrong?

-- 
S pozdravem,
Ing.Denis Jakovlev                           
mob.tel. 775-415-382

úterý 26. května 2015, 18:41:11, napsal jste:


As I have said before.  Do NOT do that.  It will lead to a broken system.

On Tuesday, May 26, 2015, Sergey Safarov <s.safarov at gmail.com> wrote:
For Michael
Denis has installed server from my repo (FS-7553) and libvpx 1.4.0 has not correct libnames (more info below). Prevision recommendation taken to workaround it.

[root at localhost ~]# rpm -qa | grep libvpx
libvpx-devel-1.4.0-6.el7.centos.x86_64
libvpx-1.4.0-6.el7.centos.x86_64

[root at localhost ~]# ls -l /usr/lib64/libvpx.so*
lrwxrwxrwx. 1 root root      15 May 16 01:48 /usr/lib64/libvpx.so -> libvpx.so.2.0.0
lrwxrwxrwx. 1 root root      15 May 16 01:48 /usr/lib64/libvpx.so.2 -> libvpx.so.2.0.0
lrwxrwxrwx. 1 root root      15 May 16 01:48 /usr/lib64/libvpx.so.2.0 -> libvpx.so.2.0.0
-rwxr-xr-x. 1 root root 1548944 May 16 01:43 /usr/lib64/libvpx.so.2.0.0



On Tue, May 26, 2015 at 7:07 PM, Michael Jerris <mike at jerris.com> wrote:
you should NOT be doing that.  That will 100% for sure crete a broken system,  Any other libs that link to freeswitch will need to be linked against the updated vpx lib.


On May 26, 2015, at 11:10 AM, Denis Jakovlev <yadenis at seznam.cz> wrote:

Dobrý den,

ln -s libvpx.so.2.0.0 /usr/lib64/libvpx.so.1
ln: failed to create symbolic link ‘/usr/lib64/libvpx.so.1’: No such file or directory


I have libvpx.so in /usr/x_86_64_linux_gnu. But it steal not work. 

-- 
S pozdravem,
Ing.Denis Jakovlev                           
mob.tel. 775-415-382

úterý 26. května 2015, 14:57:11, napsal jste:


execute as root "ln -s libvpx.so.2.0.0 /usr/lib64/libvpx.so.1"
And try again

On Tue, May 26, 2015 at 1:07 PM, Denis Jakovlev <yadenis at seznam.cz> wrote:
Dobrý den,

Where can I get the -extra package for libav?

I try from here https://freeswitch.org/stash/projects/SD/repos/libav/browse  It is compiled without problems. 

But I still have a error

2015-05-26 06:01:38.083643 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_av.so
**libvpx.so.1: cannot open shared object file: No such file or directory**




-- 
S pozdravem,
Ing.Denis Jakovlev                           
mob.tel. 775-415-382

úterý 26. května 2015, 11:22:35, napsal jste:


try using mod av instead.  You'll need to install the -extra package for libav 

On Tuesday, May 26, 2015, Denis Jakovlev <yadenis at seznam.cz> wrote:
Hi all !

I have one problem with the MP4 file recording with sound. The video is great. But there is no sound.

Adding a log. files in place, but for some reason does not work. I use Debian and the latest version 1.6

EXECUTE sofia/internal/1004 at 192.168.242.132 record(/usr/local/freeswitch/recordings/testrecord.mp4)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libavio_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libavformat_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/stream_out/libstream_out_chromaprint_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/packetizer/libpacketizer_avparser_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libavcodec_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
[00007f16f00c7fc8] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libhwdummy_plugin.so' (libvpx.so.1: cannot open shared object file: No such file or directory)
2015-05-26 03:24:54.095101 [DEBUG] mod_vlc.c:832 VLC attempt to open #transcode{vcodec=h264,acodec=aac}:std{access=file,mux=mp4,dst=/usr/local/freeswitch/recordings/testrecord.mp4}  write video



-- 
S pozdravem,
Ing.Denis Jakovlev                           
mob.tel. 775-415-382


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150528/22a17c28/attachment.html 


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