gpt4 book ai didi

perl - 在 windows xp 上安装 ffmpeg(perl 包)

转载 作者:行者123 更新时间:2023-12-04 23:30:38 25 4
gpt4 key购买 nike

我正在尝试安装 ffmpeg通过在我的命令提示符下键入“cpan install 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

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

最佳答案

来自 FFmpeg页:

FFmpeg (in this module, referred to here as FFmpeg-Perl) is a Perl interface to the base project FFmpeg (referred to here as FFmpeg-C).



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

关于perl - 在 windows xp 上安装 ffmpeg(perl 包),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14104996/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com