[FFmpeg-devel] [PATCH] H264 DXVA2 implementation

elupus elupus
Tue Feb 2 02:43:44 CET 2010


On Wed, 6 Jan 2010 21:51:36 +0100, Laurent Aimar wrote:

> Hi,
> 
>  The attached path allows VLD H264 decoding using DXVA2 (GPU assisted
> decoding API under VISTA and Windows 7).
>  It is implemented by using AVHWAccel API. It has been tested successfully
> for some time in VLC using an nvidia card on Windows 7.
> 
>  To compile it, you need to have the system header dxva2api.h (either from
> microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h)
>  The generated libavcodec.dll does not depend directly on any new lib as
> the necessary objects are given by the application using FFmpeg.
> 
> Regards,

I've just pushed dxva2 support into xbmc svn using these changes. It seems
to be working for anything encoded by x264 asfar as I can tell. 

Pure bluerays seems to have troubles (the one i have anyway), get weird
corruptions at lower half of video.

Also anything encoded by quicktime is also not playing nice. Normally just
green screen, and errors about failing to execute buffer.

VC1 seems to work for the few samples I've tried it on.

Joakim




More information about the ffmpeg-devel mailing list