在conda安装的python虚拟环境,ffmpeg就算加到了环境变量PATH也会不工作,需要如下安装一下: conda uninstall ffmpeg conda install -c conda-forge ffmpeg