Posted: Mon Mar 10, 2008 7:15 am Post subject: [Asterisk-video] Cannot make mp4play work
Hi Sergio and klaus -
I cannot make mp4play work. It shows up as a registered app in Asterisk CLI.
When I access the dialplan extension to play a mp4 file, asterisk answers,
call app mp4play and...hangs up after a few seconds with no error message !?
What am I missing here?
Thanks,
Walter R Filho
Belo Horizonte, MG - Brazil
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Mon Mar 10, 2008 7:57 am Post subject: [Asterisk-video] Cannot make mp4play work
which mp4 file are u using, is it hinted? what is the output log?
Bestr regards
Sergio
----- Original Message -----
From: Walter Rodrigues Filho [mailto:walter@telebit.net.br]
To: asterisk-video@lists.digium.com
Sent: Mon, 10 Mar 2008 04:03:11 -0300
Subject: [Asterisk-video] Cannot make mp4play work
Hi Sergio and klaus -
I cannot make mp4play work. It shows up as a registered app in Asterisk CLI.
When I access the dialplan extension to play a mp4 file, asterisk answers,
call app mp4play and...hangs up after a few seconds with no error message !?
What am I missing here?
Thanks,
Walter R Filho
Belo Horizonte, MG - Brazil
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
I have successfully used them for SIP channels (with eyebeam)
regards
klaus
Walter Rodrigues Filho schrieb:
Quote:
Hi Sergio and klaus -
I cannot make mp4play work. It shows up as a registered app in Asterisk CLI.
When I access the dialplan extension to play a mp4 file, asterisk answers,
call app mp4play and...hangs up after a few seconds with no error message !?
What am I missing here?
Thanks,
Walter R Filho
Belo Horizonte, MG - Brazil
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Mon Mar 10, 2008 5:33 pm Post subject: [Asterisk-video] Cannot make mp4play work
Sergio -
I am sorry to confess I do not know what you mean HINTED...should it be done
in dialplan (the hint priority ?! Or somewhere to hint the decoder its is a
such and such kinf of video??? Where??)
I have used the app_mp4play.c from your SVN repository...
The output is: (non-zero exit)
Connected to Asterisk SVN-branch-1.4-r103823M currently running on agostinho
(pid = 20934)
Verbosity is at least 10
-- Executing [*78@interno:1] Answer("SIP/107-0a24a278", "") in new stack
-- Executing [*78@interno:2] mp4play("SIP/107-0a24a278",
"/var/lib/asterisk/mp4/TROPA_DE_ELITE.mp4") in new stack
== Spawn extension (interno, *78, 2) exited non-zero on 'SIP/107-0a24a278'
agostinho*CLI>
Klaus - I used the app_mp4play.c form fontventa's SVN rep.
:(
At.
Walter
Quote:
Message: 2
Date: Mon, 10 Mar 2008 08:49:29 +0100
From: "Sergio Garcia Murillo" <sergio.garcia@fontventa.com>
Subject: Re: [Asterisk-video] Cannot make mp4play work
To: <asterisk-video@lists.digium.com>
Message-ID: <E1A42DDB724847E096B851E96ADEA5C8.MAI@fontventa.es>
Content-Type: text/plain; charset="iso-8859-1"
which mp4 file are u using, is it hinted? what is the output log?
Bestr regards
Sergio
----- Original Message -----
From: Walter Rodrigues Filho [mailto:walter@telebit.net.br]
To: asterisk-video@lists.digium.com
Sent: Mon, 10 Mar 2008 04:03:11 -0300
Subject: [Asterisk-video] Cannot make mp4play work
Hi Sergio and klaus -
I cannot make mp4play work. It shows up as a registered app in Asterisk CLI.
When I access the dialplan extension to play a mp4 file, asterisk answers,
call app mp4play and...hangs up after a few seconds with no error message !?
What am I missing here?
Thanks,
Walter R Filho
Belo Horizonte, MG - Brazil
Message: 3
Date: Mon, 10 Mar 2008 11:05:41 +0100
From: Klaus Darilion <klaus.mailinglists@pernau.at>
Subject: Re: [Asterisk-video] Cannot make mp4play work
To: Development discussion of video media support in Asterisk
<asterisk-video@lists.digium.com>
Message-ID: <47D507F5.1000207@pernau.at>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Posted: Tue Mar 11, 2008 9:58 am Post subject: [Asterisk-video] Cannot make mp4play work
Walter Rodrigues Filho schrieb:
Quote:
Sergio -
I am sorry to confess I do not know what you mean HINTED...should it be done
in dialplan (the hint priority ?! Or somewhere to hint the decoder its is a
such and such kinf of video??? Where??)
mp4 files can have a hint track, which tells the application (e.g.
mp4play) how to split the audio/video tracks into RTP packets. To hint
an mp4 file use "mp4creator" from mpeg4ip tools. For example:
root@samuel:~# mp4info video.3gp
mp4info version 1.5.0.1
video.3gp:
Track Type Info
201 video H.263, 253.240 secs, 34 kbps, 176x144 @ 9.496920 fps
101 audio AMR, 253.260 secs, 13 kbps, 8000 Hz
root@samuel:~# mp4creator -hint=201 video.3gp
root@samuel:~# mp4creator -hint=101 video.3gp
root@samuel:~# mp4info video.3gp
mp4info version 1.5.0.1
video.3gp:
Track Type Info
201 video H.263, 253.240 secs, 34 kbps, 176x144 @ 9.496920 fps
101 audio AMR, 253.260 secs, 13 kbps, 8000 Hz
65436 hint Payload H263-2000 for track 201
65437 hint Payload AMR for track 101
Quote:
Klaus - I used the app_mp4play.c form fontventa's SVN rep.
and for hinting, please search for: "Then just add the h263 track and hint
it".
Greetings,
Michael
Quote:
-----Original Message-----
From: asterisk-video-bounces@lists.digium.com
[mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of
Walter Rodrigues Filho
Sent: Monday, March 10, 2008 6:23 PM
To: Asterisk-VIDEO
Subject: [Asterisk-video] Cannot make mp4play work
Sergio -
I am sorry to confess I do not know what you mean
HINTED...should it be done in dialplan (the hint priority ?!
Or somewhere to hint the decoder its is a such and such kinf
of video??? Where??)
I have used the app_mp4play.c from your SVN repository...
The output is: (non-zero exit)
Connected to Asterisk SVN-branch-1.4-r103823M currently
running on agostinho (pid = 20934) Verbosity is at least 10
-- Executing [*78@interno:1] Answer("SIP/107-0a24a278",
"") in new stack
-- Executing [*78@interno:2] mp4play("SIP/107-0a24a278",
"/var/lib/asterisk/mp4/TROPA_DE_ELITE.mp4") in new stack
== Spawn extension (interno, *78, 2) exited non-zero on
'SIP/107-0a24a278'
agostinho*CLI>
Klaus - I used the app_mp4play.c form fontventa's SVN rep.
:(
At.
Walter
> Message: 2
> Date: Mon, 10 Mar 2008 08:49:29 +0100
> From: "Sergio Garcia Murillo" <sergio.garcia@fontventa.com>
> Subject: Re: [Asterisk-video] Cannot make mp4play work
> To: <asterisk-video@lists.digium.com>
> Message-ID: <E1A42DDB724847E096B851E96ADEA5C8.MAI@fontventa.es>
> Content-Type: text/plain; charset="iso-8859-1"
>
> which mp4 file are u using, is it hinted? what is the output log?
>
> Bestr regards
> Sergio
>
> ----- Original Message -----
> From: Walter Rodrigues Filho [mailto:walter@telebit.net.br]
> To: asterisk-video@lists.digium.com
> Sent: Mon, 10 Mar 2008 04:03:11 -0300
> Subject: [Asterisk-video] Cannot make mp4play work
>
>
> Hi Sergio and klaus -
>
> I cannot make mp4play work. It shows up as a registered app
in Asterisk CLI.
> When I access the dialplan extension to play a mp4 file, asterisk
> answers, call app mp4play and...hangs up after a few
seconds with no error message !?
>
> What am I missing here?
>
> Thanks,
>
> Walter R Filho
> Belo Horizonte, MG - Brazil
>
> Message: 3
> Date: Mon, 10 Mar 2008 11:05:41 +0100
> From: Klaus Darilion <klaus.mailinglists@pernau.at>
> Subject: Re: [Asterisk-video] Cannot make mp4play work
> To: Development discussion of video media support in Asterisk
> <asterisk-video@lists.digium.com>
> Message-ID: <47D507F5.1000207@pernau.at>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Walter!
>
> You could try the mp4 files in the tarball from the demo on
> http://sip.fontventa.com/content/view/16/45/
>
> I have successfully used them for SIP channels (with eyebeam)
>
> regards
> klaus
>
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
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