Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 623 Bytes

readme.md

File metadata and controls

14 lines (13 loc) · 623 Bytes

一.Ready-made

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.

二.Build

1 install cython

pip install cython

2.preparation

install gcc and ffmpeg....

3 build dynamic lib

python setup.py build_ext -i