Thread: mplayer vdpau
View Single Post
Old 11-16-08, 06:19 AM   #85
jusst
Registered User
 
Join Date: Mar 2006
Posts: 99
Default Re: mplayer vdpau

hi,

this looks really promising, although it seems to be too slow to properly decode the daily opera-broadcasts at astra hd. after a few seconds mplayer reports too many frames in buffer... if it would be of interest I could post a sample clip

anyway, I tried to play around a bit with the options and tried to enable deinterlacing, so I added this to vo_vdpau.c after vdp_video_mixer_create:

Code:
        VdpVideoMixerFeature features[1];
        VdpBool enables[1];

        features[0] = VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL;
        enables[0] = VDP_TRUE;
        vdp_st = vdp_video_mixer_set_feature_enables(
            videoMixer,
            1,
            features,
            enables
        );
        CHECK_ST
running that it gives:
Code:
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1920, 1080, 0}, -)
    -> 0, 22
vdp_video_mixer_set_feature_enables(22, 1, {1}, {1})
    -> 15
Error at libvo/vo_vdpau.c:699
any hints on that? - is deinterlacing not yet supported?

UPDATE: I recognized that I need to request the feature first. Doing this, the player runs, but no deinterlacing seems to be done. Seems like the feature is not yet implemented?

regards,
julian
jusst is offline   Reply With Quote