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

Erwan Douaille douailleerwan at gmail.com
Mon Nov 19 11:22:10 EET 2018


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 ?


Le sam. 17 nov. 2018 à 10:47, Moritz Barsnick <barsnick at gmx.net> a écrit :

> On Thu, Nov 15, 2018 at 17:21:48 +0100, Erwan Douaille wrote:
> > Do you know if it´s normal ? How to ensure my build is "opencl ready" ?
>
> I would say that your output of ./configure already says so. You have
> the hwaccell opencl, and various *_opencl filters.
>
> You could also try:
> $ /e/Downloads/ffmpeg/bin/ffmpeg -hwaccells | grep opencl
> $ /e/Downloads/ffmpeg/bin/ffmpeg -filters | grep opencl
> to see the actual result.
>
> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



-- 
Best regards,

Douaille Erwan <douaille.erwan at gmail.com>


More information about the ffmpeg-user mailing list