[FFmpeg-devel] Porting ffmpeg to CUDA

Guillaume POIRIER poirierg
Wed Aug 29 21:53:37 CEST 2007


On 8/29/07, Simon Hargreaves <simon at openthought.com> wrote:
> Has there been any thought to porting ffmpeg to CUDA?
> http://developer.nvidia.com/object/cuda.html

Like always, _clean_ patches are welcome.

> It looks like it could be relatively easy to do and give a huge speed
> advantage to encode and decode operations.

I have my doubts that it's that easy to use it for video processing.
At the very least, I'm convinced that it's a lost hope to attempt to
make it run completely deported on the GPU. Only the most
calculation-intensive and branch-free parts are worth deporting.
CUDA seems more fit for people who do a lot of floating point, whereas
video processing is mostly integer processing.

> I'm going to have a go at
> doing some simple things first before attempting to compile ffmpeg with it.

Keep up posted. You may not be so excited by CUDA once you get a
hands-on experience with it :-)

A soldier will fight long and hard for a bit of colored ribbon.
 -- Napoleon Bonaparte

More information about the ffmpeg-devel mailing list