[Asterisk-video] Re : How to install mpeg4ip, app_mp4 and app_transcoder on debian squeeze please?

emeric kamleu kamleus at yahoo.fr
Sun Jul 10 07:42:30 CDT 2011


ok . For mpeg4ip-1.6/ 
bash ./bootstrap --disable-player -prefix=/usr    <-- No error

make  <-- error

make  all-recursive
make[1]: Entering directory `/usr/src/mpeg4ip-1.6'
Making all in include
make[2]: Entering directory `/usr/src/mpeg4ip-1.6/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/mpeg4ip-1.6/include'
Making all in lib
make[2]: Entering directory `/usr/src/mpeg4ip-1.6/lib'
Making all in utils
make[3]: Entering directory `/usr/src/mpeg4ip-1.6/lib/utils'
if /bin/bash ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -D_REENTRANT -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing  -g -O2 -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT config_opts.lo -MD -MP -MF ".deps/config_opts.Tpo" -c -o config_opts.lo config_opts.cpp; \
then mv -f ".deps/config_opts.Tpo" ".deps/config_opts.Plo"; else rm -f ".deps/config_opts.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT config_opts.lo -MD -MP -MF .deps/config_opts.Tpo -c config_opts.cpp  -fPIC -DPIC -o .libs/config_opts.o
In file included from config_opts.cpp:1:
../../include/mpeg4ip.h:126: error: new declaration 'char* strcasestr(const char*, const char*)'
/usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
make[3]: *** [config_opts.lo] Error 1
make[3]: Leaving directory `/usr/src/mpeg4ip-1.6/lib/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mpeg4ip-1.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mpeg4ip-1.6'
make: *** [all] Error 2




the Installation of App_mp4 is not possible because it needs mpeg4ip

Installation app_transcoder
cp app_transcoder /usr/local/asterisk-1.4.31/apps/
gedit  /usr/local/asterisk-1.4.31/apps/Makefile
  app_transcoder.so : app_transcoder.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lavcodec

cd  /usr/local/asterisk-1.4.31/
make  <-- error

CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/local/asterisk-1.4.31/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/local/asterisk-1.4.31/menuselect'
Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts
Unknown value '' found in build_tools/menuselect-deps for DAHDI_TRANSCODE
menuselect/menuselect --check-deps menuselect.makeopts  
Unknown value '' found in build_tools/menuselect-deps for DAHDI_TRANSCODE
Generating embedded module rules ... [CC] app_transcoder.c -> app_transcoder.o
app_transcoder.c:40:32: error: libswscale/swscale.h: No such file or directory
app_transcoder.c: In function ‘SendH263VideoFrame’:
app_transcoder.c:152: warning: unused variable ‘size’
app_transcoder.c: In function ‘VideoTranscoderSetResize’:
app_transcoder.c:485: warning: implicit declaration of function ‘sws_freeContext’
app_transcoder.c:488: warning: implicit declaration of function ‘sws_getContext’
app_transcoder.c:488: warning: assignment makes pointer from integer without a cast
app_transcoder.c: In function ‘VideoTranscoderEncode’:
app_transcoder.c:574: warning: implicit declaration of function ‘sws_scale’
app_transcoder.c: In function ‘VideoTranscoderCreate’:
app_transcoder.c:829: error: ‘SWS_BICUBIC’ undeclared (first use in this function)
app_transcoder.c:829: error: (Each undeclared identifier is reported only once
app_transcoder.c:829: error: for each function it appears in.)
app_transcoder.c: In function ‘VideoTranscoderDecodeFrame’:
app_transcoder.c:913: warning: ‘avcodec_decode_video’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3601)
app_transcoder.c: In function ‘rfc2429_append’:
app_transcoder.c:1051: warning: unused variable ‘pebit’
make[1]: *** [app_transcoder.o] Error 1
make: *** [apps] Error 2



                                                                   
                                                              



________________________________
De : amit anand <onewaytoconnect at gmail.com>
À : Development discussion of video media support in Asterisk <asterisk-video at lists.digium.com>
Envoyé le : Dimanche 3 Juillet 2011 16h47
Objet : Re: [Asterisk-video] How to install mpeg4ip, app_mp4 and app_transcoder on debian squeeze please?


You should post the error details


On Sun, Jul 3, 2011 at 15:08, emeric kamleu <kamleus at yahoo.fr> wrote:

i have error all time i try to install mpeg4ip, app_mp4 and app transcoder. I use debian. Please help me. I want to do video on demand with asterisk.
>--
>_____________________________________________________________________
>-- 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
>


-- 


Amit Anand


+91 9013223047


--
_____________________________________________________________________
-- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110710/f7f34354/attachment.htm>


More information about the asterisk-video mailing list