[Asterisk-video] Error while compiling app_transcoder

Tobias Wolf tobias.wolf at evision.de
Mon Nov 10 10:39:54 CST 2008


Hi,

today i started with 3G-Video in Asterisk.

I began rather good:
- h324m and app_h324m were installed in my Asterisk 
(bristuff-0.4.0-RC3c/asterisk-1.4.21.2) smoothly and
the loopback application works perfectly.

After this i moved on to app_trancode.

Since my Asterisk Host runs with Debian etch its ffmpeg was rather old 
and had no libswscale.

So i downloaded the newest ffmpeg from SVN: 15797

Here are the results of the compilation run for app_transcode:
    [CC] app_transcoder.c -> app_transcoder.o
app_transcoder.c: In function ‘VideoTranscoderEncode’:
app_transcoder.c:274: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:275: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:276: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:277: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:278: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:279: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:297: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:298: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:299: warning: pointer targets in assignment differ in 
signedness
app_transcoder.c:305: warning: pointer targets in passing argument 2 of 
‘avcodec_encode_video’ differ in signedness
app_transcoder.c: In function ‘VideoTranscoderCreate’:
app_transcoder.c:584: error: ‘CODEC_FLAG_H263P_AIC’ undeclared (first 
use in this function)
app_transcoder.c:584: error: (Each undeclared identifier is reported 
only once
app_transcoder.c:584: error: for each function it appears in.)
app_transcoder.c: In function ‘VideoTranscoderDecodeFrame’:
app_transcoder.c:621: warning: pointer targets in passing argument 4 of 
‘avcodec_decode_video’ differ in signedness
app_transcoder.c: In function ‘VideoTranscoderSetDecoder’:
app_transcoder.c:685: error: ‘AVCodecContext’ has no member named ‘rtp_mode’
app_transcoder.c: In function ‘rfc2429_append’:
app_transcoder.c:768: warning: unused variable ‘pebit’
app_transcoder.c: In function ‘VideoTranscoderWrite’:
app_transcoder.c:820: warning: pointer targets in passing argument 1 of 
‘rfc2190_append’ differ in signedness
app_transcoder.c:826: warning: pointer targets in passing argument 1 of 
‘rfc2429_append’ differ in signedness
app_transcoder.c:832: warning: pointer targets in passing argument 1 of 
‘mpeg4_append’ differ in signedness
app_transcoder.c:838: warning: pointer targets in passing argument 1 of 
‘mpeg4_append’ differ in signedness
app_transcoder.c: At top level:
app_transcoder.c:1086: warning: no previous prototype for 
‘av_log_asterisk_callback’
make[1]: *** [app_transcoder.o] Fehler 1
make: *** [apps] Fehler 2


With what version of ffmpeg should it be possible to build app_transcode?

Anything else i might be missing ?

Regards,

Tobias Wolf



More information about the asterisk-video mailing list