本帖最后由 TyroneLi 于 2019-8-1 16:54 编辑
[AppleScript] 纯文本查看 复制代码 ./configure --enable-nonfree --enable-gpl --enable-libx265 --enable-libx264 --enable-nvenc --enable-cuda --enable-cuvid --enable-cuda-sdk --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-libnpp
sudo make -j128
sudo make install
我也尝试过这样编译,不过还是报这个错,编译安装不上
[AppleScript] 纯文本查看 复制代码 CC libavfilter/vf_random.o
CC libavfilter/vf_readeia608.o
CC libavfilter/vf_readvitc.o
CC libavfilter/vf_remap.o
CC libavfilter/vf_removegrain.o
CC libavfilter/vf_removelogo.o
CC libavfilter/vf_repeatfields.o
CC libavfilter/vf_rotate.o
CC libavfilter/vf_sab.o
CC libavfilter/vf_scale.o
CC libavfilter/vf_scale_cuda.o
NVCC libavfilter/vf_scale_cuda.ptx
/bin/sh: 1: nvcc: not found
ffbuild/common.mak:95: recipe for target 'libavfilter/vf_scale_cuda.ptx' failed
make: *** [libavfilter/vf_scale_cuda.ptx] Error 127
make: *** Waiting for unfinished jobs.... 如果不把cuda加进来就可以编译安装成功,很奇怪
|