[Asterisk-video] Asterisk crashes on app_mp4 application execution
Sergio Garcia
sergio.garcia at fontventa.com
Tue Sep 18 04:19:59 CDT 2007
You have to append this lines to the apps/Makefile and recompile it
app_mp4.so : app_mp4.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lmp4 -lmp4v2
(remove the spaces before $(CC) by a tab)
By the way, you'll need mpeg4ip latest libraries in your system. Check
http://sip.fontventa.com/content/view/15/44/
BR
Sergio
---------- Original Message ----------------------------------
From: Mitul Limbani <mitul at enterux.com>
Reply-To: Development discussion of video media support in Asterisk<asterisk-video at lists.digium.com>
Date: Tue, 18 Sep 2007 05:11:08 -0400
>Sergio,
>
>For the moment I removed the app_mixer.so from loading.
>I moved in the ext_video.conf and configured dialplan along with sample
>videos and made file permission to 777 on /usr/videodemo/*.mp4
>
>Now when i execute the dialplan i get this :
>
>-------------------------------------------------------------------------------
> -- Executing [201 at from-sip:1] Goto("SIP/6003-081e7748",
>"videomail|s|1") in new stack
> -- Goto (videomail,s,1)
> -- Executing [s at videomail:1] mp4play("SIP/6003-081e7748",
>"/usr/videodemo/menu.mp4") in new stack
>voice2*CLI>
>Disconnected from Asterisk server
>Asterisk ended with exit status 127
>Asterisk died with code 127.
>Automatically restarting Asterisk.
>-------------------------------------------------------------------------------
>
>Do we have to compile app_mp4.c with any special -l option in Makefile ?
>currently ldd shows this :
>
>-------------------------------------------------------------------------------
>voice2:/etc/asterisk# ldd /usr/lib/asterisk/modules/app_mp4.so
> linux-gate.so.1 => (0xffffe000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0xa7faa000)
> libc.so.6 => /lib/tls/libc.so.6 (0xa7e77000)
> /lib/ld-linux.so.2 (0x75555000)
>-------------------------------------------------------------------------------
>
>I am suspecting some library file missing during the compilation ...
>
>Thanks & Regards,
>Mitul Limbani,
>Founder & CEO,
>Enterux Solutions,
>The Enterprise Linux Company (TM),
>www.enterux.com
>
>_______________________________________________
>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>
>asterisk-video mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
More information about the asterisk-video
mailing list