Posted: Wed Dec 20, 2006 7:40 am Post subject: [Asterisk-video] app_mp4 -- need help
Hi
I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error
[CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level:
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level:
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount':
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2
i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.
I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error
[CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level:
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level:
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount':
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2
i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.
I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error
[CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level:
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level:
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount':
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2
i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.
Thank You.
Regards,
Wu Ui Kok
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Wed Dec 20, 2006 8:07 am Post subject: [Asterisk-video] app_mp4 -- need help
Have you tried it with asterisk 1.2? It's good to see someone using it.. :)
From:asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Wu Ui Kok
Sent: miércoles, 20 de diciembre de 2006 9:05
To: Development discussion of video media support in Asterisk
Subject: Re: [Asterisk-video] app_mp4 -- need help
yes sergio, i got it from the mailing list. the email that you posted on 24 may 2006.
I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error
[CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level:
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level:
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount':
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2
i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.
Thank You.
Regards,
Wu Ui Kok
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
I have read the asterisk-video mailing list and I interested in app_mp4.c. i download it and compile it with asterisk 1.4 beta3. before that i have installed mpeg4ip-1.5.0.1. when i compile app_mp4.c i got error
[CC] app_mp4.c -> app_mp4.o
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:492:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:177:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:495:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:180:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:498:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:183:1: warning: this is the location of the previous definition
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk.h:21,
from app_mp4.c:30:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/autoconfig.h:501:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/include/mpeg4ip.h:53,
from /usr/local/include/mp4.h:35,
from app_mp4.c:24:
/usr/local/include/mpeg4ip_config.h:186:1: warning: this is the location of the previous definition
In file included from app_mp4.c:34:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h: In function 'ast_mutex_init':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: warning: implicit declaration of function 'pthread_mutexattr_settype'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/cdr.h:48,
from /home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/channel.h:115,
from /home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/file.h:30,
from app_mp4.c:35:
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h: In function '_ast_strndup':
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h:421: warning: implicit declaration of function 'strndup'
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3 /include/asterisk/utils.h:421: warning: assignment makes pointer from integer without a cast
/home/wuuikok/Asterisk/asterisk-1.4.0-beta3/include/asterisk/utils.h: In function '_ast_asprintf':
/home/wuuikok/Asterisk/asterisk- 1.4.0-beta3/include/asterisk/utils.h:446: warning: implicit declaration of function 'vasprintf'
app_mp4.c: At top level:
app_mp4.c:55: warning: type defaults to 'int' in declaration of 'STANDARD_LOCAL_USER'
app_mp4.c:55: warning: data definition has no type or storage class
app_mp4.c:57: warning: type defaults to 'int' in declaration of 'LOCAL_USER_DECL'
app_mp4.c:57: warning: data definition has no type or storage class
app_mp4.c: In function 'mp4_rtp_read':
app_mp4.c:240: warning: pointer targets in passing argument 5 of 'MP4ReadRtpPacket' differ in signedness
app_mp4.c: In function 'mp4_save':
app_mp4.c:420: warning: implicit declaration of function 'LOCAL_USER_ADD'
app_mp4.c:489: warning: implicit declaration of function 'LOCAL_USER_REMOVE'
app_mp4.c: At top level:
app_mp4.c:498: warning: no previous prototype for 'unload_module'
app_mp4.c: In function 'unload_module':
app_mp4.c:504: error: 'STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
app_mp4.c: At top level:
app_mp4.c:510: warning: no previous prototype for 'load_module'
app_mp4.c:519: warning: no previous prototype for 'description'
app_mp4.c:524: warning: no previous prototype for 'usecount'
app_mp4.c: In function 'usecount':
app_mp4.c:526: warning: implicit declaration of function 'STANDARD_USECOUNT'
app_mp4.c: At top level:
app_mp4.c:531: warning: function declaration isn't a prototype
make[1]: *** [app_mp4.o] Error 1
make: *** [apps] Error 2
i am using kubuntu as my OS.
I need help to solve this. I already did google search but no answers. Anyhelp from anybody would be good.
Thank You.
Regards,
Wu Ui Kok
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Thu Dec 21, 2006 5:43 am Post subject: [Asterisk-video] app_mp4 -- need help
hi
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
Posted: Thu Dec 21, 2006 8:22 am Post subject: [Asterisk-video] app_mp4 -- need help
Hi
The quality of the recorded mp4 is not so good, maybe it is because of the video codecs.
Other than that, everything works fine, thank you sergio :).
I am using asterisk-1.2.13
regards,
Wu Ui Kok
Engineer
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Hi, i don't know why the warning happens, i'll try to take a look at it next week and see if i can correct it.
Appart of that everything works fine?
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
Posted: Thu Dec 21, 2006 9:00 am Post subject: [Asterisk-video] app_mp4 -- need help
I don't perform any transcoding, just dump the encoded streams to the mp4 so they *should* be as good as the original.
Which codecs are u using? Have you tried to play the mp4 with a media player?
From:asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Wu Ui Kok
Sent: jueves, 21 de diciembre de 2006 9:22
To: Development discussion of video media support in Asterisk
Subject: Re: [Asterisk-video] app_mp4 -- need help
Hi
The quality of the recorded mp4 is not so good, maybe it is because of the video codecs.
Other than that, everything works fine, thank you sergio :).
I am using asterisk-1.2.13
regards,
Wu Ui Kok
Engineer
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Hi, i don't know why the warning happens, i'll try to take a look at it next week and see if i can correct it.
Appart of that everything works fine?
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
Posted: Fri Dec 22, 2006 4:36 am Post subject: [Asterisk-video] app_mp4 -- need help
hi
i am using x-lite with video codec H.263 enabled. in sip.conf i put allow=h261,h263.
i have tried play the recorded mp4 with window media player, winamp but cannot play.
thank you
regards,
wuuikok
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
I don't perform any transcoding, just dump the encoded streams to the mp4 so they *should* be as good as the original.
Which codecs are u using? Have you tried to play the mp4 with a media player?
The quality of the recorded mp4 is not so good, maybe it is because of the video codecs.
Other than that, everything works fine, thank you sergio :).
I am using asterisk-1.2.13
regards,
Wu Ui Kok
Engineer
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Hi, i don't know why the warning happens, i'll try to take a look at it next week and see if i can correct it.
Appart of that everything works fine?
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
Posted: Fri Dec 22, 2006 9:19 am Post subject: [Asterisk-video] app_mp4 -- need help
Try allowing only h263, appart of that depending on the codecs, the resulting mp4 is very probably that isn't 3gpp compliant, so
many players would have difficulties playing it, using h263 and pcmu i was able to play it with vlc but the sound didn't work.
Nevertheless i think that using mp4 for audio/video files would be a much better solution for media files as you can have any
encoded stream and even having the same track encoded in different codecs/bitrates.
From:asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Wu Ui Kok
Sent: viernes, 22 de diciembre de 2006 5:37
To: Development discussion of video media support in Asterisk
Subject: Re: [Asterisk-video] app_mp4 -- need help
hi
i am using x-lite with video codec H.263 enabled. in sip.conf i put allow=h261,h263.
i have tried play the recorded mp4 with window media player, winamp but cannot play.
thank you
regards,
wuuikok
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
I don't perform any transcoding, just dump the encoded streams to the mp4 so they *should* be as good as the original.
Which codecs are u using? Have you tried to play the mp4 with a media player?
The quality of the recorded mp4 is not so good, maybe it is because of the video codecs.
Other than that, everything works fine, thank you sergio :).
I am using asterisk-1.2.13
regards,
Wu Ui Kok
Engineer
On 12/21/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Hi, i don't know why the warning happens, i'll try to take a look at it next week and see if i can correct it.
Appart of that everything works fine?
I have successfully compiled app_mp4. I can record and play mp4 ( thanks sergio :) ). the problem is I got warning as below:
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
Dec 21 12:28:20 WARNING[5765]: chan_sip.c:2572 sip_write: Asked to transmit frame type 4, while native formats is 524288 (read/write = 0/0)
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
MP4ERROR: MP4Array::[]: index 28 of 28: Numerical result out of range
== Auto fallthrough, channel 'SIP/herman-1ed04ad8' status is 'UNKNOWN'
this warning keep came out during playing the mp4 file and the SIP Client hung up automatically , which I believed mp4 file finished play. is this normal?
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum