[Asterisk-video] app_mp4 for sip

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jul 19 18:01:39 CDT 2007


thanks, i will give it a try.

regards
klaus

Manos Megagiannis wrote:
> App_mp4 works fine for me with sip. (atleast with h263, h263+ video,
> and uLaw or aLaw audio.
> Check the audio codec on your sip client.
> mp4info <filename> will give you the information about the recorded
> codec and hinting.
> 
> To create mp4s with h263+ and uLaw try this bash script:
> 
> #!/bin/bash
> # argument1: input filename
> # argument2: output filename
> echo "*** ffmpeg audio ***"
> ffmpeg -y -i $1 -ar 8000 -ac 1 -ab 64 -f mulaw temp1.pcm
> echo "*** pcm2mp4 ***"
> pcm2mp4 temp1.pcm temp1.mp4
> echo "*** ffmpeg video ***"
> ffmpeg -y -i $1 -s qcif temp1.h263
> mv temp1.h263 temp1.263
> echo "*** mp4creator ***"
> mp4creator -c temp1.263 -H temp1.mp4
> mv temp1.mp4 $2
> rm -f temp1.*
> 
> 
> Manos
> 
> 
> On 7/19/07, Atle Samuelsen <clona at cyberhouse.no> wrote:
>> * Klaus Darilion <klaus.mailinglists at pernau.at> [070719 16:34]:
>>> Hi Sergio!
>>>
>>> up to now I've only used mp4play to feed h324m_gw. Today I have also
>>> tried but I do not have much luck:
>>>
>>> 1. mp4save(). The video is saved, but no audio
>>>
>>> 2. mp4play(). Playing back the previously recorded .mp4 file works.
>>>
>>> But I can not generate an mp4 file which is accepted by mp4play.
>>>
>>> Then I removed the hint track from the mp4save() video and added a new
>>> hint track with mp4creator. Then, this video also does not work anymore.
>>>
>>> Thus, I suspsect that there is something wrong with the hint track. How
>>> can I create an mp4 file suitable for mp4play?
>>
>>
>> I ack this behaivour..  Also if you use something wich sends somewhat
>> bigger resolution, the mp4save thing crashes..
>>
>> - Atle
>>
>>> thanks
>>> klaus
>>>
>>> _______________________________________________
>>> --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