• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-video] app_mp4 -- need help

 
   AsteriskGuru Archives Forum Index -> Asterisk-Video
View previous topic :: View next topic  
Author Message
wuuikok at gmail.com
Guest





PostPosted: 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.

Thank You.

Regards,
Wu Ui Kok
Back to top
Sergio.Garcia at ydilo.co
Guest





PostPosted: Wed Dec 20, 2006 7:59 am    Post subject: [Asterisk-video] app_mp4 -- need help

Where did u get the app_mp4? It's the one i posted a while a go?

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 8:39
To: asterisk-video@lists.digium.com
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.

Thank You.

Regards,
Wu Ui Kok




 
Back to top
wuuikok at gmail.com
Guest





PostPosted: Wed Dec 20, 2006 8:05 am    Post subject: [Asterisk-video] app_mp4 -- need help

yes sergio, i got it from the mailing list. the email that you posted on 24 may 2006.

the link is
http://lists.digium.com/pipermail/asterisk-video/2006-May/000063.html

On 12/20/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Where did u get the app_mp4? It's the one i posted a while a go?

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: miércoles, 20 de diciembre de 2006 8:39
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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.

Thank You.

Regards,
Wu Ui Kok




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video


Back to top
Sergio.Garcia at ydilo.co
Guest





PostPosted: 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.

the link is
http://lists.digium.com/pipermail/asterisk-video/2006-May/000063.html

On 12/20/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Where did u get the app_mp4? It's the one i posted a while a go?

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: miércoles, 20 de diciembre de 2006 8:39
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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.

Thank You.

Regards,
Wu Ui Kok




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 
Back to top
wuuikok at gmail.com
Guest





PostPosted: Wed Dec 20, 2006 8:10 am    Post subject: [Asterisk-video] app_mp4 -- need help

ok, i will install asterisk 1.2 now. thank you sergio :)

On 12/20/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Have you tried it with asterisk 1.2? It's good to see someone using it.. :)

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto:asterisk-video-bounces@lists.digium.com (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.

the link is
http://lists.digium.com/pipermail/asterisk-video/2006-May/000063.html

On 12/20/06, Sergio García Murillo <Sergio.Garcia@ydilo.com (Sergio.Garcia@ydilo.com)> wrote:
Quote:
Where did u get the app_mp4? It's the one i posted a while a go?

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: miércoles, 20 de diciembre de 2006 8:39
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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.

Thank You.

Regards,
Wu Ui Kok




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video


Back to top
wuuikok at gmail.com
Guest





PostPosted: 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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer
Back to top
Sergio.Garcia at ydilo.co
Guest





PostPosted: Thu Dec 21, 2006 7:55 am    Post subject: [Asterisk-video] app_mp4 -- need help

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?
 

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 6:43
To: asterisk-video@lists.digium.com
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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer




 
Back to top
wuuikok at gmail.com
Guest





PostPosted: 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?
 

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: jueves, 21 de diciembre de 2006 6:43
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer




 


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video


Back to top
Sergio.Garcia at ydilo.co
Guest





PostPosted: 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?
 

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)[mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: jueves, 21 de diciembre de 2006 6:43
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer




 


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 
Back to top
wuuikok at gmail.com
Guest





PostPosted: 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?

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com) [mailto:asterisk-video-bounces@lists.digium.com (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?
 

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)[mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: jueves, 21 de diciembre de 2006 6:43
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer




 


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video


Back to top
Sergio.Garcia at ydilo.co
Guest





PostPosted: 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?

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)[mailto:asterisk-video-bounces@lists.digium.com (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?
 

From: asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)[mailto:asterisk-video-bounces@lists.digium.com (asterisk-video-bounces@lists.digium.com)] On Behalf Of Wu Ui Kok
Sent: jueves, 21 de diciembre de 2006 6:43
To: asterisk-video@lists.digium.com (asterisk-video@lists.digium.com)
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?

in my extensions.conf  like this :

[sip]
Exten => 100,1,Answer
Exten => 100,2,Wait(2)
Exten => 100,3,mp4save()

Exten => 200,1,Answer
Exten => 200,2,Wait(2)
Exten => 200,3,mp4play()

thank you

Regards,
Wu Ui Kok
Engineer




 


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video




 
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Video All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™