在windows xp上安装ffmpeg (perl包)



我试图通过在命令提示符中键入"cpan install ffmpeg "来安装ffmpeg。我已经安装了Image::Magick, Image::PBM, Image::Magick::Iterator,我知道,这是我需要的一些先决条件,但似乎这还不够。这里有一些额外的信息。我得到错误信息:

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

我猜我需要安装这些文件,并告诉安装程序在哪里找到它们。如果这是我需要做的,我该怎么做?

从FFmpeg页面:

FFmpeg(在本模块中称为FFmpeg-Perl)是基本项目FFmpeg(此处称为FFmpeg- c)的Perl接口。

看起来Perl FFmpeg模块只是C库的包装器。如果您正在使用MinGW,可能是因为您的MinGW环境(C库)中没有安装FFMpeg。您需要先安装它,然后再尝试安装FFmpeg (Perl库)。

相关内容

  • 没有找到相关文章

最新更新