Posted: Sun Apr 26, 2009 10:08 am Post subject: [Asterisk-video] How to play 3gp/mp4 file which was download
I download some 3gp and mp4 files from internet , and I use eyeBeam to see if they can be played in Asterisk , here is my dialplan:
(asterisk-video@lists.digium.com)exten => 107,1,Answer
exten => 107,2,mp4play(/usr/videodemo/apple-ad-biohazard-suit.mp4) ; nothing happened,this file downloaded from internet
exten => 107,3,mp4play(/usr/videodemo/Kanye West - Love Lockdown.3gp) ;nothing happened.this file downloaded from internet
exten => 108,1,Answer
exten => 108,2,mp4play(/usr/videodemo/sample_300kbit_ulaw.3gp) ; this is OK. It's demo file.
You can also do it with mpeg4ip, check the documentation for details.
Best regards
Sergio
Liu Jianquan escribió:
Quote:
I download some 3gp and mp4 files from internet , and I use eyeBeam to see if they can be played in Asterisk , here is my dialplan:
exten => 107,1,Answer
exten => 107,2,mp4play(/usr/videodemo/apple-ad-biohazard-suit.mp4) ; nothing happened,this file downloaded from internet
exten => 107,3,mp4play(/usr/videodemo/Kanye West - Love Lockdown.3gp) ;nothing happened.this file downloaded from internet
exten => 108,1,Answer
exten => 108,2,mp4play(/usr/videodemo/sample_300kbit_ulaw.3gp) ; this is OK. It's demo file.
You can also do it with mpeg4ip, check the documentation for details.
Best regards
Sergio
Liu Jianquan escribió:
> I download some 3gp and mp4 files from internet , and I use eyeBeam
> to see if they can be played in Asterisk , here is my dialplan:
>
> exten => 107,1,Answer
> exten =>
> 107,2,mp4play(/usr/videodemo/apple-ad-biohazard-suit.mp4) ;
> nothing happened,this file downloaded from internet
> exten => 107,3,mp4play(/usr/videodemo/Kanye West - Love
> Lockdown.3gp) ;nothing happened.this file downloaded from internet
>
> exten => 108,1,Answer
> exten => 108,2,mp4play(/usr/videodemo/sample_300kbit_ulaw.3gp) ;
> this is OK. It's demo file.
>
> #mp4info /usr/videodemo/apple-ad-biohazard-suit.mp4
>
> Track Type Info
>
> 1 video MPEG-4 Simple @ L1, 173.960 secs, 0 kbps, 320x240 @
> 25.000000 fps
>
> 2 audio MPEG-4 AAC LC, 173.987 secs, 0 kbps, 44100 Hz
>
> #mp4info /usr/videodemo/Kanye West - Love Lockdown.3gp
>
> Track Type Info
>
> 1 video H.263, 272.080 secs, 140 kbps, 176x144 @ 25.000000 fps
>
> 2 audio AMR, 271.480 secs, 13 kbps, 8000 Hz
>
> #mp4info /usr/videodemo/sample_300kbit_ulaw.3gp
>
> Track Type Info
>
> 1 audio G.711 uLaw, 279.560 secs, 64 kbps, 8000 Hz
>
> 2 hint Payload PCMU for track 1
>
> 3 video H.263, 69.903 secs, 94 kbps, 176x144 @ 10.013876 fps
>
> 4 hint Payload H263-2000 for track 3
>
> Metadata Tool: mp4creator 1.5.0.1
>
> so I wonder what is hint?
> btw, AMR has installed .
>
> a lot of thanks.
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
Posted: Sun Apr 26, 2009 1:03 pm Post subject: [Asterisk-video] How to play 3gp/mp4 file which was download
The link was mainly to explain what are the hint tracks..
Movies that are intended for streaming via QuickTime Streaming Server must be hinted—that is, they need a hint track for every streamable media track. The hint tracks tell the server exactly how to package the media data for the network.
I use mpeg4ip for hinting.
BR
Sergio
Borja SIXTO escribió:
Quote:
Quote:
Hi Sergio,
I had bad experience with QuickTime.
Are you sure that it works with your Asterisk video applications ?
You can also do it with mpeg4ip, check the documentation for details.
Best regards
Sergio
Liu Jianquan escribió:
Quote:
I download some 3gp and mp4 files from internet , and I use eyeBeam
to see if they can be played in Asterisk , here is my dialplan:
exten => 107,1,Answer
exten =>
107,2,mp4play(/usr/videodemo/apple-ad-biohazard-suit.mp4) ;
nothing happened,this file downloaded from internet
exten => 107,3,mp4play(/usr/videodemo/Kanye West - Love
Lockdown.3gp) ;nothing happened.this file downloaded from internet
exten => 108,1,Answer
exten => 108,2,mp4play(/usr/videodemo/sample_300kbit_ulaw.3gp) ;
this is OK. It's demo file.
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