[FFmpeg-user] Filter lut3d with GPU Accelaration?

Rainer Fritz rainer at dcs.co.at
Thu Apr 3 00:53:31 CEST 2014


Hi Clement !

I'm using an actual version:
configuration: --prefix=/usr/local --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-openssl --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libx265 --enable-opencl --enable-opengl
  libavutil      52. 66.101 / 52. 66.101
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100

My cmd line looks like that:
ffmpeg -i /Users/k-effects/Desktop/J001C034_140110_R6MS.mov -vf lut3d="/Users/k-effects/Desktop/Alexa_LogC2Video_Rec709.cube" -s 1920x1080 -c:v dnxhd -pix_fmt yuv422p -b:v 120M /Users/k-effects/Desktop/Test_dnxhd.mxf

Which works awesome! But thought LUT conversion could be made by GPU to get something like realtime… would love to use ffplay in realtime with the lut3d filter….

Keep up the awesome work !

best,

Rainer




Am 02.04.2014 um 14:03 schrieb Clément Bœsch <u at pkh.me>:

> On Wed, Apr 02, 2014 at 01:48:40PM +0200, Rainer Fritz wrote:
>> Dear All !
>> 
>> Thx for such a great tool ffmpeg is. I use the lut3d filter often and getting currently
>> on a MacbbokPro i7 about 12fps when transcoding from Prores4444 to DNxHD for example.
>> 
> 
> What version of FFmpeg are you using? I've added the threading a while
> ago, make sure 'S' is present when you run:
> 
> ☭ ffmpeg -v 0 -filters|grep lut3d
> TS. lut3d            V->V       Adjust colors using a 3D LUT.
> 
>> Is there a possibility to accelarate this filter by the GPU (openCL or openGL)? How much work will it be to implement this?
> 
> Patch welcome I guess, I don't plan to work on this.
> 
>> Who can be contacted regarding this?
>> 
> 
> You could eventually open a ticket in the trac (http://trac.ffmpeg.org)
> 
>> THX
>> 
>> Rainer Fritz
>> 
> 
> -- 
> Clément B.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list