Denis Oliver Kropp wrote:
> Claudio Ciccani via CVS wrote:
>
>> CVSROOT: /cvs/directfb
>> Module name: DirectFB-extra
>> Changes by: klan 20060112 13:11:22
>>
>> Modified files:
>> interfaces/IDirectFBVideoProvider:
>> idirectfbvideoprovider_ffmpeg.c
>> Log message:
>> Improved a bit Audio/Video syncronization:
>> recompute video refresh time using the following equation
>> [frame_delay_in_seconds = 1/rate + video_pts - audio_pts]
>> and reduce audio buffer size to 120ms.
>
>
> You can achieve 100% audio/video synchronization only by using
> IFusionSoundStream::GetPresentationDelay() and use it in your
> equations to calculate the next video frame to show.
>
Thanks for the suggestion!
IFusionSoundStream::GetPresentationDelay() is already used to ajust the
audio presentation timestamp (forgot to include this aspect in the log
message).
--
Regards,
Claudio Ciccani
[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs