[Libva] VA-API does no v-sync with H264 interlaced videos

Lutz Sammer johns98 at gmx.net
Thu Mar 7 00:38:49 PST 2013


On 03/01/2013 08:07 AM, Xiang, Haihao wrote:
> On Mon, 2013-02-25 at 20:02 +0100, Lutz Sammer wrote:
>> Hello,
>>
>> I wrote a video player for VA-API.
>> It works fine with TV-stations in mpeg 576i and h264 720p.
>> Only stations with H264 1080i and H264 576i have the problem.
>> I think it is important that it is H264 and interlaced.
>>
>> The problem is that vaPutSurface doesn't wait on v-sync.
>> When I run putsurface (from the libva tools/examples) on the same X11,
>> it shows 62.75 FPS.
>
> VA doesn't handle vsync. Instead, it is the responsibility of display
> server (such as X11, Wayland).

What does this mean?

vaPutSurface does wait on v-sync!
All examples and other code I have read didn't include any v-sync code.

What should I expect?

vaPutSurface (X11) waits on v-sync?
vaPutSurface (X11) didn't wait on v-sync?
vaPutSurface (X11) v-sync behaviour is undefined?

Johns




More information about the Libva mailing list