其实很早以前就知道VS这玩意儿了, 但是一直没用过, 今天晚上尝试着在自己的本子上编译了一下, 主要过程跟这个帖子一样就不重复码出来了
https://nmm-hd.org/newbbs/viewtopic.php?f=23&t=1238
测试用脚本: vs.pyc
代码: 全选
import vapoursynth as vs
core = vs.get_core()
print(core.version())
代码: 全选
dsylcy@aries:~/Documents$ python vs.vpy
VapourSynth Video Processing Library
Copyright (c) 2012-2014 Fredrik Mellbin
Core r23
API r3
于是开始自己摸爬滚打, 先是ffms2, 以下为编译过程:
代码: 全选
cd ~
mkdir src
cd src
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
./configure --extra-libs="-ldl" --enable-gpl --enable-nonfree
make -j 4 && make install
cd ../..
git clone https://github.com/FFMS/ffms2.git
cd ffms2
./configure --enable-static --disable-shared
make -j 4 && make install
至于LSMASHSource就更糟糕了, 连份Linux平台的编译文档都找不到, 所以我现在是装完VS然后发现什么也做不了了, 求各位大神指点指点!