当前位置:网站首页>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)
边栏推荐
猜你喜欢
嵌入式Qt-做一个秒表
cpolar应用实例之多设备数据采集
默认参数的代码实现及日期的注入与显示
Nacos的基本配置
持续集成(四)Jenkins配置报警机制
Wechat Gymnasium Appointment Mini Program Graduation Design Finished Works Mini Program Graduation Design Finished Work (6) Question Opening Reply PPT
2022安全员-C证考试题库模拟考试平台操作
ECCV 2022 | 清华&腾讯AI Lab提出REALY:重新思考3D人脸重建的评估方法
Five speakers: seventy genius_platform software platform development 】 【 turn YUY2 RGB24 implementation source code
FP6606CLP5 SOP-8 USB Type-C和PD充电控制器
随机推荐
年轻人接棒大妈,金价跌回“4字头”,七夕迎黄金消费小热潮
golang源码分析(3):thrift
golang源码分析(7):chan
golang学习之七:并发编程基础(goroutine、channel、select)
ES: WeakSet
创新云集技术咖,工赋汇聚实战派:2022工赋开发者峰会
Redis的介绍和使用
Nacos面试题
安全至上:落地DevSecOps最佳实践你不得不知道的工具
边界访问的空间权限
npm install报gyp info it worked if it ends with ok
Oracle 11 g rac finished patch, dbca new patches of SQL database also needs to perform?
Several common cross-domain solutions
MySQL常见函数
npm install 时,卡住不动,五种解决方法
Pytest study notes
Kubernetes:(七)优化大法(江湖失传已久的武林秘籍)
[C Language Brush Questions] Three Questions for Getting Started with Pointers | String Length, String Copy, Two Number Swap
golang源码分析(10)slice
golang源码分析(13)gorpc源码分析