FFmpeg Hardware Acceleration -> GPU + DirectShow
Is there a hardware accelerated version of FFmpeg (e.g. a version that utilizes the GPU)?
Also, does anybody use FFmpeg with GPU support? Possibly for scaling and converting video format? Or, for example, use DirectShow for image scaling an开发者_Go百科d displaying images on surfaces? If so anybody can provide small code samples?
There are some VDPAU accelerated codecs for unixes with nVidia card. There is also an mpegvideo_xvmc
codec using XvMC that can decode MPEG-1 and 2 on X11 if the driver has support for it, and also some codecs using VA API.
For Windows, ffmpeg supports DXVA 2. If you want to use it with DirectShow, you should install ffdshow tryouts, since it provides the necessary DirectShow filter (and it also supports all ffmpeg filters, can display subtitles, etc)
精彩评论