[Asterisk-video] Use of app_mp4 application in Asterisk

Sharan Saxena ssaxena at devfoundry.com
Tue Jun 3 06:08:06 CDT 2008


Hi Sergio and Borja,
                     Many thanks for your replies. I tried both approaches,
but could not move much further.

Hi Sergio,
            From a thread
http://lists.digium.com/pipermail/asterisk-video/2007-July/000826.html , I
followed the instructions as my OS is also CentOs 5, but I could not compile
the mpeg4ip, and thus unable to move ahead. My steps and dump are at the
end. Are you aware of a better source for Mpeg4ip?

Hi Borja,
           I took the Asterisk 1.4 package from
http://www.i6net.com/downloads/pbx-14-packages/ and from the steps at
http://www.i6net.com/support/install/ 
	- tar xvzf asterisk_V1.4.20.1_2008-05-30_i386.tar.tar
	- cd asterisk_V1.4.20.1_2008-05-30
	 [root at localhost asterisk_V1.4.20.1_2008-05-30]# ./install.sh 
		--- Asterisk IP/PABX V1.4.20.1 Installation ---
		Creating directories...
		Installing asterisk binary...
		Installing configuration files...
		Installing sounds...
		Installing modules...
		Installing libraries...
		--- Asterisk IP/PABX V1.4.20.1 installation has finished ---

	#asterisk -cvvvvv
		Asterisk Ready
	*CLI> show version
		Asterisk 1.4.20.1 built by root @ moreno on a i686 running
Linux on 2008-05-30 08:09:07 UTC
		The 'show version' command is deprecated and will be removed
in a future release. Please use 'core show version' instead.

	Using Xlite, I made a SIP call to extension 600.

      But I could not locate any app_mp4.so in /usr/lib/asterisk/modules/

	Did I miss something? Please suggest.


Thanks and Regards
Sharan


Steps for MPEG4IP
=================
		yum install SDL.i386			[Did Nothing]
		yum install SDL-devel.i386

		yum list installed | grep SDL
		SDL.i386                                 1.2.10-8.el5
installed
		SDL-devel.i386                           1.2.10-8.el5
installed

		cd /usr/src
	      I got mpeg4ip source from
http://prdownloads.sourceforge.net/mpeg4ip/mpeg4ip-1.5.0.1.tar.gz
		tar -zxvf mpeg4ip-1.5.0.1.tar.gz
		cd mpeg4ip-1.5.0.1
	      ./bootstrap
		./configure
		make
			./.libs/libmp4sdlvideo.a(video_sdl.o): In function
`CSDLVideo::set_screen_size(int, int, int, int, int, int)':
/usr/src/mpeg4ip-1.5.0.1/player/src/video_sdl.cpp:280: undefined reference
to `XMoveWindow'
collect2: ld returned 1 exit status
make[4]: *** [mp4player] Error 1
make[4]: Leaving directory `/usr/src/mpeg4ip-1.5.0.1/player/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/mpeg4ip-1.5.0.1/player/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mpeg4ip-1.5.0.1/player'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mpeg4ip-1.5.0.1'
make: *** [all] Error 2





-----Original Message-----
From: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] On Behalf Of
asterisk-video-request at lists.digium.com
Sent: Monday, June 02, 2008 10:30 PM
To: asterisk-video at lists.digium.com
Subject: asterisk-video Digest, Vol 26, Issue 1

Send asterisk-video mailing list submissions to
	asterisk-video at lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.digium.com/mailman/listinfo/asterisk-video
or, via email, send a message with subject or body 'help' to
	asterisk-video-request at lists.digium.com

You can reach the person managing the list at
	asterisk-video-owner at lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of asterisk-video digest..."


Today's Topics:

   1. Use of app_mp4 application in Asterisk (Sharan Saxena)
   2. Re: Use of app_mp4 application in Asterisk (Sergio Garcia Murillo)
   3. Re: Use of app_mp4 application in Asterisk (Borja SIXTO)


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Jun 2008 16:03:48 +0530
From: "Sharan Saxena" <ssaxena at devfoundry.com>
Subject: [Asterisk-video] Use of app_mp4 application in Asterisk
To: <asterisk-video at lists.digium.com>
Message-ID: <000001c8c49c$277f5e20$767e1a60$@com>
Content-Type: text/plain; charset="iso-8859-1"

Dear Members,

                              I am new to the list, Linux and Asterisk, and
I am trying to explore the possibilities of playing SWF and MP4 videos in
Asterisk. Web-searching provided 

 

?         Sergio?s Website http://sip.fontventa.com/ 

o   I was unable to get the Source code through SVN

o   I copied the app_mp4.c file, but saw that it contained a #include
<mp4.h> which I didn?t know where to find.

o   I downloaded mpeg4ip from
http://nixbit.com/cat/programming/libraries/mpeg4ip/ 

?  I could not install it due missing SDL package on my CentOs 5 

?  Installing SDL led to discovery of more missing Linux packages

 

?         From the website http://www.i6net.com/downloads/pbx-14-packages/
and the mail-thread at
http://www.asteriskguru.com/archives/asterisk-video-a-fontventa-binary-packa
ge-vt122834.html , I installed the asterisk package, but I could not locate
the app_mp4.so in the binaries, and was unable to run the mp4play()
application.

 

I would request members familiar with setting up app_mp4 to kindly suggest
the steps for making the package work. I am using a Cent Os 5 Linux
Platform.

 

Thanks for your help and time,

Regards

Sharan

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-video/attachments/20080602/57e6cb
1b/attachment.html 

------------------------------

Message: 2
Date: Mon, 2 Jun 2008 12:40:49 +0200
From: "Sergio Garcia Murillo" <sergio.garcia at fontventa.com>
Subject: Re: [Asterisk-video] Use of app_mp4 application in Asterisk
To: <asterisk-video at lists.digium.com>
Message-ID: <275BCBB192C9430E9B8F10B917324F0D.MAI at fontventa.es>
Content-Type: text/plain; charset="iso-8859-1"

Hi Sharan

Try configuring mpeg4ip with

./configure --disable-player

BR
Sergio
----- Original Message -----
From: Sharan Saxena [mailto:ssaxena at devfoundry.com]
To: asterisk-video at lists.digium.com
Sent: Mon, 2 Jun 2008 16:03:48 +0530
Subject: [Asterisk-video] Use of app_mp4 application in Asterisk

Dear Members,

                              I am new to the list, Linux and Asterisk, and
I am trying to explore the possibilities of playing SWF and MP4 videos in
Asterisk. Web-searching provided 

 

?         Sergio?s Website http://sip.fontventa.com/ 

o   I was unable to get the Source code through SVN

o   I copied the app_mp4.c file, but saw that it contained a #include
<mp4.h> which I didn?t know where to find.

o   I downloaded mpeg4ip from
http://nixbit.com/cat/programming/libraries/mpeg4ip/ 

?  I could not install it due missing SDL package on my CentOs 5 

?  Installing SDL led to discovery of more missing Linux packages

 

?         From the website http://www.i6net.com/downloads/pbx-14-packages/
and the mail-thread at
http://www.asteriskguru.com/archives/asterisk-video-a-fontventa-binary-packa
ge-vt122834.html , I installed the asterisk package, but I could not locate
the app_mp4.so in the binaries, and was unable to run the mp4play()
application.

 

I would request members familiar with setting up app_mp4 to kindly suggest
the steps for making the package work. I am using a Cent Os 5 Linux
Platform.

 

Thanks for your help and time,

Regards

Sharan

 


------------------------------

Message: 3
Date: Mon, 02 Jun 2008 12:54:44 +0200
From: Borja SIXTO <borja.sixto at i6net.com>
Subject: Re: [Asterisk-video] Use of app_mp4 application in Asterisk
To: Development discussion of video media support in Asterisk
	<asterisk-video at lists.digium.com>
Message-ID: <4843D174.5000102 at i6net.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

Can you check if you have the app_mp4.so in the 
/usr/lib/asterisk/modules, after the installation ?
"Lunch the installation script. ", you should enter in the untared 
directory and execute the install.sh.

make a :
# ldd / usr/lib/asterisk/modules/app_mp4.so
To test the dependencies.

Can you give me the Asterisk dump when you start your asterisk with :

asterisk -cvvvvv

Thanks,


Borja


Sharan Saxena a ?crit :
>
> Dear Members,
>
> I am new to the list, Linux and Asterisk, and I am trying to explore 
> the possibilities of playing SWF and MP4 videos in Asterisk. 
> Web-searching provided
>
> ? Sergio?s Website http://sip.fontventa.com/
>
> o I was unable to get the Source code through SVN
>
> o I copied the app_mp4.c file, but saw that it contained a #include 
> <mp4.h> which I didn?t know where to find.
>
> o I downloaded mpeg4ip from 
> http://nixbit.com/cat/programming/libraries/mpeg4ip/
>
> ? I could not install it due missing SDL package on my *CentOs 5*
>
> ? Installing SDL led to discovery of more missing Linux packages
>
> ? From the website http://www.i6net.com/downloads/pbx-14-packages/ and 
> the mail-thread at 
>
http://www.asteriskguru.com/archives/asterisk-video-a-fontventa-binary-packa
ge-vt122834.html 
> , I installed the asterisk package, but I could not locate the 
> app_mp4.so in the binaries, and was unable to run the mp4play() 
> application.
>
> I would request members familiar with setting up app_mp4 to kindly 
> suggest the steps for making the package work. I am using a Cent Os 5 
> Linux Platform.
>
> Thanks for your help and time,
>
> Regards
>
> Sharan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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




------------------------------

_______________________________________________
--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

End of asterisk-video Digest, Vol 26, Issue 1
*********************************************




More information about the asterisk-video mailing list