[FFmpeg-user] OpenCL? What Effect Does It Have

Tom Evans tevans.uk at googlemail.com
Tue Aug 6 15:37:25 CEST 2013

On Tue, Aug 6, 2013 at 2:02 PM, James Board <jpboard2 at yahoo.com> wrote:
> OpenCL is an API for using GPUs to do computationally
> intensive tasks.  See this URL
>     http://en.wikipedia.org/wiki/OpenCL
> By coding expensiev tasks in OpenCL, especially image processing operations
> which ffmpeg does all the time, you can achieve 10x to 100x performance
> improvement.  I'd like to know what parts of ffmpeg have been
> accelerated with OpenCL.  This could potentially improve the
> performance and prestige of ffmpeg.  But it doesn't sound like much
> work has been done in this area.  Is that true?

OpenCL can be used to accelerate the unsharp and deshake filters, as
documented in the filters documentation.


Sometimes it gives worse results than using the CPU:


Generally the consensus (at least on here, as far as I can tell) is
that GPU assisted encoding is slow and gives crap results. YMMV.



More information about the ffmpeg-user mailing list