Does anyone know what features will be hardware accellerated when ffmpeg is compiled with --enable-opencl and if any special flags needs to be set? the documentation only seems to refer to deshake filter and some generic options without details. What about libx264, does ffmpeg need to be compiled with opencl to use that flag in x264opts?
Ramit Bhalla <ramitbhalla <at> gmail.com> writes:
the documentation only seems to refer to deshake filter
deshake and unsharp (both documented).
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?) Carl Eugen
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.
participants (2)
-
Carl Eugen Hoyos -
Ramit Bhalla