我正在尝试通过在命令提示符下键入“cpan install FFmpeg”来安装ffmpeg。我已经安装了Image :: Magick,Image :: PBM,Image :: Magick :: Iterator,据我所知,这是我需要的一些先决条件,但看起来这还不够。 Here's一些其他信息。我收到错误消息:
Note (probably harmless): No library found for -lavcodec
Note (probably harmless): No library found for -lavformat
Note (probably harmless): No library found for -lz
Note (probably harmless): No library found for -ldl
Note (probably harmless): No library found for -lmp3lame
Note (probably harmless): No library found for -logg
Note (probably harmless): No library found for -lvorbis
Note (probably harmless): No library found for -lvorbisenc
In file included from ffmpeg.h:2,
from FFmpeg.xs:16:
./ffmpeg-6036.c:21:22: avformat.h: No such file or directory
./ffmpeg-6036.c:22:21: swscale.h: No such file or directory
./ffmpeg-6036.c:23:23: framehook.h: No such file or directory
./ffmpeg-6036.c:24:21: dsputil.h: No such file or directory
./ffmpeg-6036.c:25:17: opt.h: No such file or directory
./ffmpeg-6036.c:44:21: version.h: No such file or directory
./ffmpeg-6036.c:45:22: cmdutils.h: No such file or directory
我猜我需要安装这些文件并告诉安装程序在哪里找到它们。如果那是我需要做的,我该怎么做?
答案 0 :(得分:0)
来自FFmpeg页面:
FFmpeg(在此模块中,此处称为FFmpeg-Perl)是基础项目FFmpeg的Perl接口(此处称为FFmpeg-C)。
看起来Perl FFmpeg模块只是C库的包装器。如果那是你正在使用MinGW,可能是你的MinGW环境(C库)中没有安装FFMpeg。你需要先安装它,然后尝试安装FFmpeg(Perl库)试。