Unknown encoder ‘libx264‘的解决方法

简介: Unknown encoder ‘libx264‘的解决方法

1、问题描述:


运行程序的时候出现了这个错误,Unknown encoder ‘libx264’,和ffmpeg库有关.


MoviePy error: FFMPEG encountered the following error while writing file run1output_video.mp4:


b”Unrecognized option ‘preset’.\nError splitting the argument list: Option not found\n”


2、解决方案:


将ffmpeg卸载了之后再conda 重新安装(用conda,因为conda会自动下载配置所需要的依赖库):


conda uninstall ffmpeg
conda install -c conda-forge ffmpeg


3、conda install -c 中的 -c 是什么意思


-c 即 -channel

频道是Navigator和conda查找包的位置,(source)具有相同名称的包可能存在于多个通道上,如果希望从默认通道以外的其他通道安装,则指定要使用哪个通道的一种方法是使用 conda install -c channel_name package_name语法。

目录
相关文章
QSoundEffect(qaudio): Error decoding source
QSoundEffect(qaudio): Error decoding source
332 0
|
6月前
|
编解码 开发工具 git
解决Ubuntu16.04视频编码出现Unknown encoder 'libx264'问题
解决Ubuntu16.04视频编码出现Unknown encoder 'libx264'问题
317 0
|
9月前
MTK在编译10A的target时报错:make: *** [mmi_feature_check]
MTK在编译10A的target时报错:make: *** [mmi_feature_check]
39 0
|
C++
编译OpenJDK11:fixpath Unknown argument: -nologo
编译OpenJDK11:fixpath Unknown argument: -nologo
133 0
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
303 0
ERROR: libx264 not found
ERROR: libx264 not found
185 0
编译OpenJDK8:configure: Could not compile and link with freetype. This might be a 32/64-bit mismatch.
编译OpenJDK8:configure: Could not compile and link with freetype. This might be a 32/64-bit mismatch.
111 0
|
Unix
clang: error: unknown argument: ‘-fpch-deps‘
clang: error: unknown argument: ‘-fpch-deps‘
139 0
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
145 0