[Asterisk-video] Compiling the MCU

Sergio Garcia Murillo sergio.garcia at fontventa.com
Tue May 24 04:52:03 CDT 2011


Hi Khairul,

You have to download and compile latest ffmpeg git version. Configure it 
with at least:

configuration:  --enable-gpl --enable-shared --enable-nonfree

Best regards
Sergio

El 23/05/2011 3:53, Khairul Nadzmi Mohd Yusof escribió:
> Hi,
>
> Anyone could help me on this? does it have got to do with me using 
> Centos and 64bit OS?
>
> Khairul Nadzmi b Mohd Yusof
>
> Analyst, Secure Technology Services (STS)
> Cyber Responsive Services
> CyberSecurity Malaysia
> An Agency Under the Ministry of Science, Technology & Innovation (MOSTI)
>
> General Line : +603 8992 6888
> Direct Line : +603 8992 6967
> General Fax : +603 8945 3205
> Mobile : +601 2249 4416
> Email : nadzmi at cybersecurity.my
>
> Website : http://www.cybersecurity.my
>
>     ------------------------------------------------------------------------
>     *From:* Khairul Nadzmi Mohd Yusof [mailto:nadzmi at cybersecurity.my]
>     *To:* asterisk-video at lists.digium.com, sergio.garcia at fontventa.com
>     *Sent:* Fri, 20 May 2011 15:45:33 +0800
>     *Subject:* Re: [Asterisk-video] Compiling the MCU
>
>     Hi All,
>
>     Right now i'm stuck while compiling the MCU and not sure where i
>     did wrong. Anyone could help me on this?
>
>     [root at teleworking media]# make
>     mkdir -p /usr/src/asterisk/mcumediaserver/media/build/debug
>     mkdir -p /usr/src/asterisk/mcumediaserver/bin//debug
>     g++ -lavcodec -lgsm -lpthread -lswscale -lavformat -lavutil -lx264
>     -lssl -lmp4v2 -lspeex -lspeexdsp -lxmlrpc -lxmlrpc_xmlparse
>     -lxmlrpc_xmltok -lxmlrpc_abyss -lxmlrpc_server
>     -L/usr/src/asterisk/mcumediaserver/xmlrpc/lib  -o
>     /usr/src/asterisk/mcumediaserver/bin//debug/mcu
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mcu.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/multiconf.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/videomixer.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/audiomixer.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/xmlrpcserver.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/xmlhandler.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/statushandler.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/xmlrpcmcu.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/tools.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtpsession.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/audiostream.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/videostream.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pipeaudioinput.o /usr/src/asterisk/mcumediaserver/media/build/debug/pipeaudiooutput.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pipevideoinput.o /usr/src/asterisk/mcumediaserver/media/build/debug/pipevideooutput.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/framescaler.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mosaic.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/partedmosaic.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/asymmetricmosaic.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/logo.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/amf.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpmessage.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpchunk.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpstream.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpconnection.o /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpserver.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/broadcaster.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/broadcastsession.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/rtmpflvstream.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/flvrecorder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/FLVEncoder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/xmlrpcbroadcaster.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mediagateway.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mediabridgesession.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/xmlrpcmediagateway.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/textmixer.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/textmixerworker.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/textstream.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pipetextinput.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pipetextoutput.o /usr/src/asterisk/mcumediaserver/media/build/debug/mp4player.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mp4streamer.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/audioencoder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/textencoder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mp4recorder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/g711.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pcmucodec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/pcmacodec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/h263codec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mpeg4codec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/h263-1996codec.o /usr/src/asterisk/mcumediaserver/media/build/debug/gsmcodec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/h264encoder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/h264decoder.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/flv1codec.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/main.o
>     /usr/src/asterisk/mcumediaserver/media/build/debug/framescaler.o:
>     In function `FrameScaler::SetResize(int, int, int, int, int, int)':
>     /usr/src/asterisk/mcumediaserver/media/src/framescaler.cpp:66:
>     undefined reference to `sws_alloc_context'
>     /usr/src/asterisk/mcumediaserver/media/src/framescaler.cpp:80:
>     undefined reference to `sws_init_context'
>     /usr/src/asterisk/mcumediaserver/media/build/debug/logo.o: In
>     function `Logo::Load(char const*)':
>     /usr/src/asterisk/mcumediaserver/media/src/logo.cpp:141: undefined
>     reference to `sws_alloc_context'
>     /usr/src/asterisk/mcumediaserver/media/src/logo.cpp:159: undefined
>     reference to `sws_init_context'
>     /usr/src/asterisk/mcumediaserver/media/build/debug/mp4recorder.o:
>     In function `mp4track::CreateTextTrack()':
>     /usr/src/asterisk/mcumediaserver/media/src/mp4recorder.cpp:120:
>     undefined reference to `MP4AddSubtitleTrack'
>     collect2: ld returned 1 exit status
>     make: *** [mcu] Error 1
>
>
>     Khairul Nadzmi b Mohd Yusof
>
>     Analyst, Secure Technology Services (STS)
>     Cyber Responsive Services
>     CyberSecurity Malaysia
>     An Agency Under the Ministry of Science, Technology & Innovation
>     (MOSTI)
>
>     General Line : +603 8992 6888
>     Direct Line : +603 8992 6967
>     General Fax : +603 8945 3205
>     Mobile : +601 2249 4416
>     Email : nadzmi at cybersecurity.my
>
>     Website : http://www.cybersecurity.my
>
>
>
>     ------------------------------------------------------------------------
>     Disclaimer:
>
>     “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.
>
>
>
> ------------------------------------------------------------------------
> Disclaimer:
>
> “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110524/36491a2d/attachment.htm>


More information about the asterisk-video mailing list