Thread: mplayer vdpau
View Single Post
Old 01-27-09, 02:11 PM   #644
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: mplayer vdpau

Sorry doble post


Quote:
Originally Posted by John Teg View Post
This code return 16 for all resolution (except 1920*1080 where it return 15) it's probably better to replace all of that by simply :

max_references = 16;

The code I use is :

Code:
if(vid_height > 720)
	max_references = 8;
else
	max_references = 16;
But it's only because my card seems to not be able to handle more than 8 references frames at 1080p.

And I have initialize NUM_VIDEO_SURFACES_H264 at 18 else some video didn't play (all the one using 16 references frames + b_pyramide).

My card is a 8500GT 512Mo (G86)
change to:

uint32_t surf_size = (round_width * round_height * 3) / 2;
max_references = 16;
if (max_references > 16) {
max_references = 16;
}

the video not working

vo_vdpau: get_image failed000 ct: -0.062 0/ 0 13% 10% 3.9% 10 0
[VD_FFMPEG] Only buffers allocated by vo_vdpau allowed.
mplayer: libmpcodecs/vd_ffmpeg.c:1198: vdpau_get_buffer: Assertion `0' failed.


the patch proposed by jyavenard not working.

VO: [vdpau] 1920x1078 => 1920x1078 H.264 HIGH VDPAU acceleration
Error 25 at libvo/vo_vdpau.c:990: -0.062 0/ 0 10% 8% 3.9% 7 0
sl1pkn07 is offline   Reply With Quote