configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

简介: configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

config.log中错误如下:


/* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char avcodec_alloc_frame ();
| int
| main ()
| {
| return avcodec_alloc_frame ();
|   ;
|   return 0;
| }
configure:13725: result: no
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

这个错误看起来很奇怪,我so都有,怎么报错?原因是使用的库太新了。需要老的库。多老的库?2.8


http://ffmpeg.org/releases/ffmpeg-2.8.15.tar.bz2



如果还出错:


configure时增加参数:

LIBS="-lswresample -lavutil -lyuv -ljpeg " \

机器上有别的版本的ffmpg编译库,删除

编译错误。参考:

https://blog.csdn.net/quantum7/article/details/104411123


如果是实在没有办法了,干脆编辑configure,have_ffmpeg=no改为yes

目录
相关文章
|
1月前
|
Ubuntu Linux iOS开发
问题./configure: error: the HTTP gzip module requires the zlib library.处理
问题./configure: error: the HTTP gzip module requires the zlib library.处理
411 6
configure: error: Could not find cups!
configure: error: Could not find cups!
475 0
Module not found: Error: Can‘t resolve ‘../mp4/5999e6a2ba70bfa863da83c0c6d0189a.mp4‘
Module not found: Error: Can‘t resolve ‘../mp4/5999e6a2ba70bfa863da83c0c6d0189a.mp4‘
|
Unix Linux 异构计算
成功解决 ERROR: An error occurred while performing the step: “Building kernel modules“. See /var/log/nv
成功解决 ERROR: An error occurred while performing the step: “Building kernel modules“. See /var/log/nv
成功解决 ERROR: An error occurred while performing the step: “Building kernel modules“. See  /var/log/nv
|
PyTorch 算法框架/工具
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
212 0
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
configure: error: libacl not found
configure: error: libacl not found
82 0
|
编解码
configure: error: You requested G729 audio codec but not found...die
configure: error: You requested G729 audio codec but not found...die
83 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
94 0
ERROR: libx264 not found
ERROR: libx264 not found
167 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
140 0