当前位置:网站首页>ffmpeg cannot find libx264 after compilation
ffmpeg cannot find libx264 after compilation
2022-08-02 19:34:00 【Technical Notes from HUI】
ffmpeg no libx264
ffmpeg编译libx264完成之后,查看config.h,Compile is correct,但是怎么也找不到libx264:
$ ./ffmpeg -encoders | grep 264
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --enable-shared --enable-libx264 --enable-gpl --enable-nonfree --enable-sdl --enable-ffplay --disable-optimizations --enable-debug --extra-cflags=-g --enable-libfdk-aac --enable-libopenh264 --enable-libx264
WARNING: library configuration mismatch
avutil configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
avcodec configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
avformat configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
avdevice configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
avfilter configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
swscale configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
swresample configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
postproc configuration: --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-gpl --enable-sdl --enable-ffplay --enable-libmp3lame
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
V..... h264_v4l2m2m V4L2 mem2mem H.264 encoder wrapper (codec h264)
There is one in this outputwarning(WARNING: library configuration mismatch
),Found a path here:
--prefix=/usr/local/ffmpeg
Look here to specify when to compile/usr/local/ffmpeg
,/usr/local/ffmpegOne copy exists belowffmpeg的库,After deleting this directory,再用ffmpeg查找264,显示正常了:
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --enable-static --enable-shared --enable-libx264 --enable-gpl --enable-nonfree --enable-sdl --enable-ffplay --disable-optimizations --enable-debug --extra-cflags=-g --enable-libfdk-aac --enable-libopenh264 --enable-libx264
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
V..... libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
V..... libx264rgb libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
V..... libopenh264 OpenH264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
V..... h264_v4l2m2m V4L2 mem2mem H.264 encoder wrapper (codec h264)
边栏推荐
猜你喜欢
MYSQL下载及安装完整教程
Smart Contract Security - delegatecall (1)
[300+ selected big factory interview questions continue to share] Big data operation and maintenance sharp knife interview questions column (10)
小程序毕设作品之微信体育馆预约小程序毕业设计成品(8)毕业设计论文模板
二舅“反转”了?
Five speakers: seventy genius_platform software platform development 】 【 turn YUY2 RGB24 implementation source code
Mysql——字符串函数
Flink学习9:配置idea开发flink-Scala程序环境
内网渗透之kerberos认证(三)
年轻人接棒大妈,金价跌回“4字头”,七夕迎黄金消费小热潮
随机推荐
Nacos环境隔离
golang刷leetcode动态规划(8)盈利计划
什么是SVN(Subversion)?
Nacos配置中心用法详细介绍
Nacos面试题
持续集成(四)Jenkins配置报警机制
腾讯架构师是如何解释:Redis高性能通信的原理(精华版)
莱斯大学胡侠团队 ICML 2022 杰出论文: 新型图数据增强方法 G-Mixup|附作者对话
每日优鲜倒了,叮咚买菜的春天在哪?
年轻人接棒大妈,金价跌回“4字头”,七夕迎黄金消费小热潮
erp系统和wms系统有什么区别
2022高压电工特种作业证考试题库及答案
ES: WeakSet
DeepMind 首席科学家 Oriol Vinyals 最新访谈:通用 AI 的未来是强交互式元学习
Numpy those things
Continuous integration (4) Jenkins configuration alarm mechanism
golang源码分析(8):m、p、g、shedt、sudog
小程序毕设作品之微信体育馆预约小程序毕业设计成品(7)中期检查报告
用函数递归的方法解决汉诺塔问题
一篇文章带你搞定BFC~