[Asterisk-video] mp4save(): different audio and video lengths

Sergio Garcia Murillo sergio.garcia at fontventa.com
Tue May 6 03:16:46 CDT 2008


Hi Sven

Could you send me a patch with oyour solution?

BR
Sergio

----- Original Message -----
From: Sven Brandau [mailto:brandau at gmx.de]
To: asterisk-video at lists.digium.com
Sent: Mon, 05 May 2008 15:30:33 +0200
Subject: Re: [Asterisk-video] mp4save(): different audio and video lengths

Hi @All,

I'm working on a solution.

I've found that some mobile phones (Moto K3) sending out AMR No-Data
packets, instead of comfort noise frames (AMR-SID). So I replaced the
No-Data packets with the last received AMR-SID frame (file app_h324m.c /
function create_ast_frame). This solution worked fine for me.

The only thing is, that the recording for audio and video starts on a
different time - audio and video is already not synchronized, but only
a few milliseconds. It depends on the mp4save option /V - waiting for the
first I-frame.

I'm already working on this issue and will announce my solution here on the
mailing list.

Regards,
Sven

Low Yu Siang wrote:
> Hi,
> 
> May I know if anyone has solved the recording
> audio/video length problem?
> 
> Tech from i6net wrote :
>> Hi,
>>
>> I am going to work on it.
>>
>> But for the moment, I am qualifying the video 
>> transcoder and the h324m module.
>> The Gateway (SIP -> 3G or 3G -> SIP) configuration
> locks after some secondes or minutes if it use the
> transcoder.
>> 2 ways for the recording :
>> - Replace the silence by generating the AMR datas
> with a audio silence.
>> - Check if we can timestamps correctly the AMR
> packets in the MP4/3GP hinted file.
> 
> 
>       ___________________________________________________________ 
> Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure 
> 
> http://green.yahoo.com/uk/earth-day/
> 
> _______________________________________________
> --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


-- 
----------------------------------------------------------------------
Dipl. Ing. Sven Brandau                     Software Systems Architect

Tel:    +49-30-70033914                        Freelancer & Consultant
Fax:    +49-30-75633961
Mobile: +49-173-9960100
WWW:    www.brandau.biz
Email:  brandau at gmx.de                              Anhalter Strasse 7
         info at brandau.biz                                D-10963 Berlin
----------------------------------------------------------------------

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