【发布时间】:2021-04-10 02:11:59
【问题描述】:
我按照步骤here to compile FFmpeg. 而且没有问题。它运作良好。但我不明白一些事情。 我的主目录下有两个文件夹。 --ffmpeg_sources --ffmpeg_build
在 ffmpeg_sources/libavformat 中我有多个标头
aiff.h
apetag.h
argo_asf.h
asfcrypt.h
asf.h
ast.h
av1.h
avc.h
avformat.h
avi.h
avio.h
avio_internal.h
avlanguage.h
ogg.h
...
但 ffmpeg_build/avformat 有 3 个标头。
avformat.h
avio.h
version.h
顺便说一句,这是我的 usr/include/x86_64-linux-gnu/libavformat
avformat.h
avio.h
version.h
为什么这两个文件中不是所有的标题?
例如:我想使用“ogg_read_packet”,但是当我尝试include <libavformat/oggdec.h> 时,我得到cannot open source file "libavformat/oggdec.h"C/C++(1696) 错误。
【问题讨论】: