[FFmpeg-user] OpenCL features

Ramit Bhalla ramitbhalla at gmail.com
Tue Feb 4 23:42:05 CET 2014


> What about libx264, does ffmpeg need to be compiled
> > with opencl to use that flag in x264opts?
>
> I think that wouldn't make sense.
> (Are you sure that opencl makes sense for libx264?)
>
> From what I read here, x264opts has an option called opencl, when
specifics it uses hardware for lookahead. Am wondeirn how much difference
that would make in the overall encoding process?

FROM THE FFMPEG SITE:

Will a graphics card make x264 encode
faster?<https://trac.ffmpeg.org/wiki/x264EncodingGuide#Willagraphicscardmakex264encodefaster>
Not necessarily. x264 supports
OpenCL<http://git.videolan.org/?p=x264.git;a=commit;h=3a5f6c0aeacfcb21e7853ab4879f23ec8ae5e042>
 for some lookahead operations. There are also some proprietary encoders
that utilize the GPU, but that does not mean they are well optimized,
though encoding time may be faster; and they might be worse than vanilla
x264<http://phoronix.com/forums/showthread.php?50697-Test-tool-for-snb-h264-encoder-in-libva-git&p=205580#post205580>,
and possibly slower. Regardless, FFmpeg today doesn't support any means of
GPU encoding, outside of libx264.


More information about the ffmpeg-user mailing list