[Asterisk-video] need help with codecs

Jose M. Recio josemrecio at gmail.com
Wed Apr 2 09:37:19 CDT 2008


Once you have a video track, you must create a hints track associated to it
and create a mp4 file including both.

Check out the steps at the bottom of this page:
http://sip.fontventa.com/content/view/34/66/ 


-----Mensaje original-----
De: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] En nombre de Nico Gundacker
Enviado el: miércoles, 02 de abril de 2008 15:55
Para: 'Development discussion of video media support in Asterisk'
Asunto: Re: [Asterisk-video] need help with codecs

Hi Jose,

I´ve tried a lot with mp4creator and several files, but without suggest. I
have extracted 2 tracks of the menu.mp4 file.
After that I had two files menu.mp4.t1 and menu.mp4.t2 But don´t know how to
going on.

-----Ursprüngliche Nachricht-----
Von: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] Im Auftrag von Jose M.
Recio
Gesendet: Mittwoch, 2. April 2008 09:57
An: 'Development discussion of video media support in Asterisk'
Betreff: Re: [Asterisk-video] need help with codecs

My suggestion: create a new video mp4 file extracting one video track from
the original menu.mp4 and see if that works.
You can use mp4creator to create new mp4 files, adding hints and also to
extract tracks from existing mp4 file.
Jose

-----Mensaje original-----
De: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] En nombre de Nico Gundacker
Enviado el: miércoles, 02 de abril de 2008 8:26
Para: 'Development discussion of video media support in Asterisk'
Asunto: Re: [Asterisk-video] need help with codecs

Hi Klaus,

yes I can play a video that was recorded with the mp4save-tool. Here is the
info of that file:

tlngtest:/tmp # mp4info save.mp4
mp4info version 1.5.0.1
save.mp4:
Track   Type    Info
1       audio   G.711 uLaw, 12.220 secs, 64 kbps, 8000 Hz
2       hint    Payload PCMU for track 1
3       video   H.263, 6.720 secs, 81 kbps, 176x144 @ 10.416667 fps
4       hint    Payload H263 for track 3



Note: While playing this video asterisk reported the following lines to me:

.......
Executing [202 at meine-telefone:2] mp4play("SIP/2001-081dc560", "/tmp/save.
mp4") in new stack
mp4play /tmp/save.mp4
found hint track 2
track 1 soun
found hint track 4
track 3 vide
MP4ERROR: FindTrackId: Track index doesn't exist - track 2 type hint
MP4ERROR: MP4Array::[]: index 7 of 7: Numerical result out of range
MP4ERROR: MP4Array::[]: index 7 of 7: Numerical result out of range
MP4ERROR: MP4Array::[]: index 7 of 7: Numerical result out of range
MP4ERROR: MP4Array::[]: index 7 of 7: Numerical result out of range .......

I think that only means, that there is no second hint of the video track in
the mp4. But I ignored these reports, because the video is working well.

Thank you for your help!

Nico





-----Ursprüngliche Nachricht-----
Von: asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com] Im Auftrag von Klaus
Darilion
Gesendet: Dienstag, 1. April 2008 17:26
An: Development discussion of video media support in Asterisk
Betreff: Re: [Asterisk-video] need help with codecs

can you mp4play a video which was recorded with mp4save?

if yes, please make a mp4info on this recorded file.

regards
klaus



Nico Gundacker schrieb:
> Hola Jose,
> 
> her eis what mp4info says:
> 
> tlngtest:/tmp/menu # mp4info menu.mp4
> mp4info version 1.5.0.1
> menu.mp4:
> Track   Type    Info
> 1       video   H.263, 2.002 secs, 57 kbps, 176x144 @ 5.494505 fps
> 2       hint    Payload H263-2000 for track 1
> 3       video   H.263, 2.002 secs, 57 kbps, 176x144 @ 5.494505 fps
> 4       hint    Payload H263-2000 for track 3
> 5       video   H.263, 2.002 secs, 57 kbps, 176x144 @ 5.494505 fps
> 6       hint    Payload H263-2000 for track 5
>  Metadata Tool: mp4creator 1.5.0.1
> 
> 
> Regards
> Nico
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: asterisk-video-bounces at lists.digium.com
> [mailto:asterisk-video-bounces at lists.digium.com] Im Auftrag von Jose M.
> Recio
> Gesendet: Dienstag, 1. April 2008 12:36
> An: 'Development discussion of video media support in Asterisk'
> Betreff: Re: [Asterisk-video] need help with codecs
> 
> Can you send what mp4info says about the mp4 video file?
> JM
> 
> -----Mensaje original-----
> De: asterisk-video-bounces at lists.digium.com
> [mailto:asterisk-video-bounces at lists.digium.com] En nombre de Nico
Gundacker
> Enviado el: martes, 01 de abril de 2008 12:20
> Para: 'Development discussion of video media support in Asterisk'
> Asunto: Re: [Asterisk-video] need help with codecs
> 
> Dear Klaus,
> 
> Thank you for your quick answer! I´m using a softphone, so it should 
> be
SIP.
> I don´t know anything about H324M, is that used by other videophones? 
> I tried to play the video 10 times but the error-message is still the 
> same
and
> nothing is appearing on my screen.
> 
> Regards
> Nico
> 
> -----Ursprüngliche Nachricht-----
> Von: asterisk-video-bounces at lists.digium.com
> [mailto:asterisk-video-bounces at lists.digium.com] Im Auftrag von Klaus 
> Darilion
> Gesendet: Dienstag, 1. April 2008 11:40
> An: Development discussion of video media support in Asterisk
> Betreff: Re: [Asterisk-video] need help with codecs
> 
> Hi!
> 
> The menu.mp4 demo file works fine for me. (try playing it 10 times - 
> it is
a
> rather short video)
> 
> What channel do you use (incoming)? SIP? H324m? The demo video does 
> nto
work
> with H324M, only with SIP. For H324M you have to make videos with 
> smaller bandwidth.
> 
> regards
> klaus
> 
> Nico Gundacker schrieb:
>> Hello all!
>>
>>  
>>
>> I like to use the app_mp4 from sip.fontventa.com and I was able to 
>> install that on my system. The mp4save and the mp4load applications 
>> are working well, but only playing the mp4 file that were previously 
>> created with mp4save. Even those files I downloaded from the app_mp4 
>> demo page are not working. Also I was trying a lot of other mp4 files.
>> I took a video-file and converted that to several mp4-files, with 
>> different settings, but none of these are working. Below you see the 
>> asterisk error-message that I received when using the examples form
> fontventa page:
>>  
>>
>> MP4ERROR: FindTrackId: Track index doesn't exist - track 3 type hint
>>
>> MP4ERROR: MP4Array::[]: index 2 of 2: Numerical result out of range
>>
>>     -- Executing [s at videomail:2] Goto("SIP/2001-081e6820", "s|1") in 
>> new stack
>>
>>     -- Goto (videomail,s,1)
>>
>>     -- Executing [s at videomail:1] mp4play("SIP/2001-081e6820",
>> "/tmp/menu/menu.mp4") in new stack
>>
>> mp4play /tmp/menu/menu.mp4
>>
>> found hint track 2
>>
>> track 1 vide
>>
>> found hint track 4
>>
>> track 3 vide
>>
>> found hint track 6
>>
>> track 5 vide
>>
>>  
>>
>> I know this is not a help or support forum. But maybe someone of you 
>> could give me a little help. Is there a way to convert video files 
>> (for example avi,mpeg,
) to a mp4 standard, that can be used together 
>> with mp4play? Or how can I fix the error-messages.
>>
>>  
>>
>> Thank you all!
>>
>>  
>>
>> Greetings Nico
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> _______________________________________________
>> --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
> 
> _______________________________________________
> --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
> 
> 
> _______________________________________________
> --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
> 
> 
> _______________________________________________
> --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
> 
> 
> _______________________________________________
> --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

_______________________________________________
--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


_______________________________________________
--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


_______________________________________________
--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


_______________________________________________
--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




More information about the asterisk-video mailing list