[FFmpeg-user] How do I use the HW accerlator?

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 17 12:27:03 CEST 2012


nrson <nrson <at> win4net.com> writes:

> My configure and version on WinGW are as follows:
> 
> ffmpeg version 0.9.1.git

Always use current git head if you are not distributing FFmpeg

>    built on Apr 20 2012 11:14:30 with gcc 4.6.2
>    configuration: --enable-gpl --enable-shared 

> --enable-swscale 
> --enable-hwaccel=h264_dxva2 --enable-decoder=h264
> --enable-w32threads --enable-memalign-hack --disable-libvorbis 
> --disable-libx264

These options look all unneeded, they are the default iirc.

> --disable-yasm

This is not advisable if you care about performance.

> When I reviewd the config.h after compiling, the results was as 
> following
> 
>    #define CONFIG_HWACCELS 0
>    #define CONFIG_H264_DXVA2_HWACCEL 0
> 
> How do I solves the problem?

Look at config.log, search for dxva, it will tell you that 
you have to install additional headers.

Carl Eugen



More information about the ffmpeg-user mailing list