[FFmpeg-user] How to build ffmpeg with OpenCL

Ramit Bhalla ramitbhalla at gmail.com
Fri Jan 31 16:50:42 CET 2014


I'm trying to figure out how to build ffmpeg with opencl. I add the flag --enable-opencl to the configure.
Am using mingw on Ubuntu to build for Win32 and Win64 targets.
The configure fails with the following error:

configuring ffmpeg_git (/home/mcebuddy/Software/ffmpeg/sandbox/win32/ffmpeg_git) as $ PATH=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ./configure --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-iconv --enable-libtwolame --enable-opencl --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++ --enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
ERROR: opencl not found

I've downloaded the OpenCL 1.2 Headers using the guide from:
http://streamcomputing.eu/blog/2011-06- ... u-orderly/

into /usr/include/CL

anyone have any ideas what's going on?


More information about the ffmpeg-user mailing list