[Asterisk-video] Ideas to improve audio and video synchronization

Thomas Frieling thomas.frieling at viif.de
Tue Oct 9 10:12:43 CDT 2007


Am Dienstag, den 09.10.2007, 13:48 +0200 schrieb Mustafa Ozveren:
> Hello,
Hi!
> 
> I think it will not resolve the main LIP problem.
>  Its just a workaround in case of video switching.
Yeah, right - we have quite a lot of video switching (about every 10 or
20 seconds...).
> But its easy to implement :
> You can write wrapping functions around sendFrame functions ...
> and write a new function openVideo() that will reset the frame queue. 
Why don't we just add this reset-call as the first line of mp4play and
rtsp? I think this is always the desired behaviour - if it is not we
could add a parameter to switch this on and off.

@Sergio: What do you think about this - at least we could test it? Can
you implement it?

Best Regards,
Thomas

> 
> Best,
> Mustafa Ozveren
> 
> 
> On 10/9/07, Thomas Frieling <thomas.frieling at viif.de> wrote: 
>         Hi all!
>         
>         Everyone who uses the h324m-lib probably knows that often the
>         synchronization of audio and video is not perfect. This is
>         because of 
>         the video-track being too big.
>         One idea we discussed was something like dropping all unsent
>         packages on
>         each new keyframe but this would result in a very bad video
>         flow.
>         
>         Last night I got a new idea:
>         What if we drop all unsent packages when starting a new video
>         with 
>         mp4play or rtsp. This would make the new video synchronous
>         again even
>         though the one before that was not.
>         
>         What do you think about that? Would this be hard to implement?
>         
>         Greetings,
>         Thomas
>         
>         
>         --
>         www.ViiF.de - your Mobile Video Community
>         
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         
>         Thomas Frieling - System Architect
>         ViiF Mobile Video GmbH, Poststr. 21-22, 10178 Berlin 
>         Cell: +49 (0) 173 63 62 62 3
>         
>         Fax: +49 30 22 50 50 63 9
>         
>         E-Mail: thomas at ViiF.de
>         
>         Sitz: Berlin, Amtgericht Berlin-Charlottenburg, HRB: 108350B
>         
>         Geschäftsführer: Daniel Höpfner, Steffen Brünn 
>         
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         
>         _______________________________________________
>         --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
> 
> 
> 
> -- 
> ---- Mustafa Ozveren 
> _______________________________________________
> --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
-- 
www.ViiF.de - your Mobile Video Community

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thomas Frieling - System Architect
ViiF Mobile Video GmbH, Poststr. 21-22, 10178 Berlin 
Cell: +49 (0) 173 63 62 62 3

Fax: +49 30 22 50 50 63 9

E-Mail: thomas at ViiF.de

Sitz: Berlin, Amtgericht Berlin-Charlottenburg, HRB: 108350B

Geschäftsführer: Daniel Höpfner, Steffen Brünn

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the asterisk-video mailing list