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

Lutz Sammer johns98 at gmx.net
Mon Feb 25 11:02:53 PST 2013


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.

With other videos putsurface shows the correct 50.20 FPS.

Sometimes after running putsurface the video runs with the correct
50hz.

The X11 server runs always with 1080p 50 Hz.

Is this a known bug? What can I do to find the problem?

Johns

vainfo:
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.0)
vainfo: Driver version: Intel i965 driver - 1.0.19

kernel 3.8.0

x11-drivers/xf86-video-intel-2.21.3



More information about the Libva mailing list