当前位置:网站首页>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)
边栏推荐
- 金仓数据库KingbaseES安全指南--6.10. Peer身份验证
- 文件上传很难搞?10分钟带你学会阿里云OSS对象存储
- Arduino hardware programming introduction to language learning
- Informatica旗下PowerCenter的元数据库解析
- golang源码分析(3):thrift
- executeScript异步执行的时候没有返回值的原因
- Several common cross-domain solutions
- H5网页播放器EasyPlayer.js播放器界面的加载效果无法消失是什么原因?
- Mini Program Graduation Works WeChat Gymnasium Reservation Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
- 脉脉上的相亲生意
猜你喜欢
Wechat Gymnasium Appointment Mini Program Graduation Design Finished Work (5) Task Book
Nacos配置中心工作原理(超简单)
白话电子签章原理及风险
图解LeetCode——622. 设计循环队列(难度:中等)
【C语言刷题】指针入门三题|字符串长度、字符串复制、两数交换
2022高压电工特种作业证考试题库及答案
Oracle 11 g rac finished patch, dbca new patches of SQL database also needs to perform?
Kubernetes:(六)Pod重启策略和状态解释
Flink学习9:配置idea开发flink-Scala程序环境
SQL Statement Basics
随机推荐
暴跌99.7%后,谁还在买卖「二舅币」?
LeetCode·76.最小覆盖子串·滑动窗口
【无标题】
二舅“反转”了?
JS数组删除其中一个元素
创新云集技术咖,工赋汇聚实战派:2022工赋开发者峰会
ECCV 2022 | 清华&腾讯AI Lab提出REALY:重新思考3D人脸重建的评估方法
Gartner released, annual Challenger!
二叉查找树的查找
Nacos配置中心工作原理(超简单)
golang源码分析(13)gorpc源码分析
嵌入式Qt-做一个秒表
文件上传很难搞?10分钟带你学会阿里云OSS对象存储
What is the difference between erp system and wms system
Redis的使用--集群模式
潮玩的“第二春”,在哪?
红蓝对抗经验分享:CS免杀姿势
什么是实时流引擎?
golang源码分析(12)martini源码分析
持续交付(一)JenkinsAPI接口调用