[FFmpeg-user] No opencl header in fresh build install dir

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Nov 19 16:35:51 EET 2018


2018-11-19 10:22 GMT+01:00, Erwan Douaille <douailleerwan at gmail.com>:
> Thanks for your reply.
>
> Indeed, opencl has been compiled and ffmpeg is "opencl ready" :
>
>> erwand at MUSTAFAR MINGW64 /e/Downloads/ffmpeg/bin
>> $ ./ffmpeg.exe -hwaccels | grep opencl
>> ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>   built with gcc 7.3.0 (Rev2, Built by MSYS2 project)
>>   configuration: --arch=x86_64 --enable-opencl
>> --prefix=/e/Downloads/ffmpeg/
>>   libavutil      56. 22.100 / 56. 22.100
>>   libavcodec     58. 35.100 / 58. 35.100
>>   libavformat    58. 20.100 / 58. 20.100
>>   libavdevice    58.  5.100 / 58.  5.100
>>   libavfilter     7. 40.101 /  7. 40.101
>>   libswscale      5.  3.100 /  5.  3.100
>>   libswresample   3.  3.100 /  3.  3.100
>> opencl
>> erwand at MUSTAFAR MINGW64 /e/Downloads/ffmpeg/bin
>> $ ./ffmpeg.exe -filters | grep opencl
>> ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>>   built with gcc 7.3.0 (Rev2, Built by MSYS2 project)
>>   configuration: --arch=x86_64 --enable-opencl
>> --prefix=/e/Downloads/ffmpeg/
>>   libavutil      56. 22.100 / 56. 22.100
>>   libavcodec     58. 35.100 / 58. 35.100
>>   libavformat    58. 20.100 / 58. 20.100
>>   libavdevice    58.  5.100 / 58.  5.100
>>   libavfilter     7. 40.101 /  7. 40.101
>>   libswscale      5.  3.100 /  5.  3.100
>>   libswresample   3.  3.100 /  3.  3.100
>>  ... avgblur_opencl    V->V       Apply average blur filter
>>  ... convolution_opencl V->V       Apply convolution mask to input video
>>  ... dilation_opencl   V->V       Apply dilation effect
>>  ... erosion_opencl    V->V       Apply erosion effect
>>  ... overlay_opencl    VV->V      Overlay one video on top of another
>>  ... prewitt_opencl    V->V       Apply prewitt operator
>>  ... program_opencl    |->V       Filter video using an OpenCL program
>>  ... roberts_opencl    V->V       Apply roberts operator
>>  ... sobel_opencl      V->V       Apply sobel operator
>>  ... tonemap_opencl    V->V       perform HDR to SDR conversion with
>> tonemapping
>>  ... unsharp_opencl    V->V       Apply unsharp mask to input video
>>  ... openclsrc         |->V       Generate video using an OpenCL program
>
>
> But I don´t understand why I don´t have any opencl headers in my include
> dir using make install.
> By example in include/libavutil I might have hwcontext_opencl.h but it
> doesn´t exist. Is it normal ?

This header is supposed to be installed if you type "make install".

Please avoid top-posting here, Carl Eugen


More information about the ffmpeg-user mailing list