Can not build ffmpeg with gpu acceleration on macOS

I’m trying to use my GPU for video encoding/decoding operations on macOS.

  • OS: MacOS 10.12.5 (Sierra) //hackintosh if it matters
  • CUDA Toolkit 8.0 installed
  • NVidia GTX 1080 with latest web driver

followed this guides:


./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp \
--extra-cflags=-I/Developer/NVIDIA/CUDA-8.0/include --extra-ldflags=-L/Developer/NVIDIA/CUDA-8.0/lib

got this error:

ERROR: cuvid requested, but not all dependencies are satisfied: cuda

config.log - full configure log

I did not installed Video Codec SDK (not sure how to make it on macOS, just thought that it may come with cuda toolkit) and according to this page I have a lot of limitations on OSX

Does it possible on macOS? Or this will work only for linux/windows?