You do not need build, just prepara libav dependence
- Linux(x64)
sudo apt install libavcodec-dev libavformat-dev libavutil-dev libswresample-dev
- Windows(x64)
Download ffmpeg-win64, then copy (avcodec-59.dll) , (avformat-59.dll) , (avutil-57.dll) , (swresample-4.dll) from ffmpeg/bin to this path.
pip install cython
install gcc and ffmpeg....
python setup.py build_ext -i