[Asterisk-video] rtsp with transcoding mp4v
Mário Dias
mario at hardserver.com
Mon Jan 17 09:32:46 CST 2011
When I try install mpeg4ip, and when I do command "make" appear error:
I tried make this:
cd /usr/src/
wget http://heanet.dl.sourceforge.net/sourceforge/mpeg4ip/mpeg4ip-1.5.0.1.tar.gz
tar xfvz mpeg4ip-1.5.0.1.tar.gz
cd mpeg4ip-1.5.0.1
aptitude install libtool
./bootstrap
./configure --disable-player --prefix=/usr
make
make install
When I do make command have follow error:
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 -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] Erro 1
make[3]: Saindo do diretório `/usr/src/mpeg4ip-1.5.0.1/lib/utils'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/usr/src/mpeg4ip-1.5.0.1/lib'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/src/mpeg4ip-1.5.0.1'
make: ** [all] Erro 2
root at asterisk1:/usr/src/mpeg4ip-1.5.0.1#
best regards,
Mário Dias
2011/1/16 Mário Dias <mario at hardserver.com>:
> When I compile asterisk with app_mp4 and app_transcode appear:
>
> ...........
> app_mp4.c:1141: warning: implicit declaration of function âMP4AddH264VideoTrackâ
> app_mp4.c:1141: error: âh264FrameDurationâ undeclared (first use in
> this function)
> app_mp4.c:1151: error: âstruct mp4trackâ has no member named âmp4â
> app_mp4.c:1152: error: âstruct mp4trackâ has no member named âtrackâ
> app_mp4.c:1153: error: âstruct mp4trackâ has no member named âhintâ
> app_mp4.c:1154: error: âstruct mp4trackâ has no member named âlengthâ
> app_mp4.c:1155: error: âstruct mp4trackâ has no member named âsampleIdâ
> app_mp4.c:1156: error: âstruct mp4trackâ has no member named âfirstâ
> app_mp4.c:1162: warning: passing argument 5 of âmp4_rtp_write_videoâ
> makes pointer from integer without a cast
> app_mp4.c:189: note: expected âconst unsigned char *â but argument is
> of type âintâ
> app_mp4.c:1162: warning: passing argument 6 of âmp4_rtp_write_videoâ
> makes integer from pointer without a cast
> app_mp4.c:189: note: expected âintâ but argument is of type âunsigned char *â
> app_mp4.c:1162: error: too many arguments to function âmp4_rtp_write_videoâ
> app_mp4.c:1192: error: âstruct mp4trackâ has no member named âsampleIdâ
> make[1]: ** [app_mp4.o] Erro 1
> make: ** [apps] Erro 2
>
>
> Why????
>
>
>
>
> 2011/1/16 Mário Dias <mario at hardserver.com>:
>> no...
>>
>> 2011/1/16 Sergio Garcia Murillo <sergio.garcia at fontventa.com>:
>>> Have you added
>>>
>>> app_mp4.so : app_mp4.o
>>> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lmp4 -lmp4v2
>>>
>>> to the Makefile in the apps directory?
>>>
>>> Best regards
>>> Sergio
>>>
>>> El 14/01/2011 16:29, Mário Dias escribió:
>>>
>>> Hello, I need help!
>>>
>>> I have installed rtsp in my asterisk machine, with sucessful. The idea
>>> is: send video from 3gpp video network camera to softphone using
>>> asterisk in the middle. Actuality, I send video from VLC streaming
>>> with H263 codec with sucess!
>>>
>>> But the 3gpp video network codec is mp4v. As no softphone has mp4v
>>> codec, I have to transform (transcoding) mp4v to H.263 codec or H.264,
>>> that is compatible with my softphone. I prefere codec H.263 or H.263+
>>> that all softphone have as free, like X-lite4.
>>>
>>> Now, I think it is necessary the app_transcoding and app_mp4. I put it
>>> in my apps folder in asterisk, and I do "make" command, but with
>>> errors of compile in app_mp4.
>>>
>>> Why???
>>>
>>> This is the way?? Give me a help document with all steps with the way
>>> to reach my idea..
>>>
>>> Thanks!
>>>
>>> Mário Dias
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>
>
More information about the asterisk-video
mailing list