[MPlayer-dev-eng] vdpau codec priority?

Christian P. Schmidt schmidt at digadd.de
Wed Sep 2 20:00:36 CEST 2009


Reimar Döffinger wrote:
> On Wed, Sep 02, 2009 at 10:05:56AM +0000, Carl Eugen Hoyos wrote:
>> Reimar, are there any possibilities of solving this? Even a hack that tests for
>> vc==*vdpau if video initialisation fails and tries another vc would be worth it,
>> imo.
> 
> A proper solution is possible and was suggested, it depends on FFmpeg
> finally merging the vdpau and normal codecs and just select between them
> via the chosen colorspace.
> Unfortunately it seems everyone lost interest in cleaning up that
> particular mess on the FFmpeg side.

There is one cavet to this point: vdpau does not work on all cards with
all resolutions:

ftp://download.nvidia.com/XFree86/Linux-x86_64/185.18.14/README/appendix-h.html#id333549

G98, MCP77, MCP78, MCP79, MCP7A
[...]
VDP_DECODER_PROFILE_H264_MAIN, VDP_DECODER_PROFILE_H264_HIGH:
[...]
Unsupported widths: 49, 54, 59, 64, 113, 118, 123 macroblocks (784, 864,
944, 1024, 1808, 1888 pixels).

I'm regularly bitten by videos in "Super PAL" 1024x576 format and vdpau.
Took me some time to figure this one out as it happens on ION, which I
guess is a pretty common platform to use vdpau on. Maybe they'll fix
this in some future driver, though, as

ftp://download.nvidia.com/XFree86/Linux-x86_64/190.25/README/appendix-h.html
brings it down to "may not support".

Regards,
Christian



More information about the MPlayer-dev-eng mailing list