突然发现有个包叫ffmpeg4.4
所以修好了
Git Clone URL: | https://aur.archlinux.org/beslyric-for-x-git.git (read-only, click to copy) |
---|---|
Package Base: | beslyric-for-x-git |
Description: | An simple but useful lyrics generator, mainly for Netease Cloud Music. |
Upstream URL: | https://github.com/Beslyric-for-X/Beslyric-for-X |
Licenses: | GPL |
Conflicts: | beslyric-for-x |
Provides: | beslyric-for-x |
Submitter: | RRRRRm |
Maintainer: | RRRRRm |
Last Packager: | RRRRRm |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2021-08-23 22:05 (UTC) |
Last Updated: | 2024-06-07 20:11 (UTC) |
突然发现有个包叫ffmpeg4.4
所以修好了
我没找到在ffmpeg5.x.x下编译的方法. 好像作者还没有兼容ffmpeg5
==> 缺失依赖关系:
-> ffmpeg<5.0.0
==> 正在检查编译时依赖关系
==> 错误: 无法解决所有的依赖关系。
直接改成 ffmpeg4.4 会出现
./Entities/MP3Editor/ffmpegDefine.h:1092:21: 错误:invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
1092 | codec = encoder ?
| ~~~~~~~~^
| |
| const AVCodec*
1093 | avcodec_find_encoder_by_name(name) :
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1094 | avcodec_find_decoder_by_name(name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1097:25: 错误:invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
1097 | codec = encoder ? avcodec_find_encoder(desc->id) :
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
1098 | avcodec_find_decoder(desc->id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h: 在函数‘AVCodec* choose_decoder(OptionsContext*, AVFormatContext*, AVStream*)’中:
./Entities/MP3Editor/ffmpegDefine.h:1126:36: 错误:invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
1126 | return avcodec_find_decoder(st->codecpar->codec_id);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
./Entities/MP3Editor/ffmpegDefine.h: 在函数‘int choose_encoder(OptionsContext*, AVFormatContext*, OutputStream*)’中:
./Entities/MP3Editor/ffmpegDefine.h:1158:44: 错误:invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
1158 | ost->enc = avcodec_find_encoder(ost->st->codecpar->codec_id);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
./Entities/MP3Editor/ffmpegDefine.h: 在函数‘int get_preset_file_2(const char*, const char*, AVIOContext**)’中:
./Entities/MP3Editor/ffmpegDefine.h:1193:19: 警告:comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
1193 | for (i = 0; i < FF_ARRAY_ELEMS(base) && ret < 0; i++) {
| ^
./Entities/MP3Editor/ffmpegDefine.h: 在函数‘OutputStream* new_output_stream(OptionsContext*, AVFormatContext*, AVMediaType, int, FfmpegParamContext*)’中:
./Entities/MP3Editor/ffmpegDefine.h:1354:15: 错误:‘AVBitStreamFilter’不是一个类型名
1354 | const AVBitStreamFilter *filter;
| ^~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1364:9: 错误:‘filter’在此作用域中尚未声明
1364 | filter = av_bsf_get_by_name(bsf_name);
| ^~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1364:18: 错误:‘av_bsf_get_by_name’在此作用域中尚未声明
1364 | filter = av_bsf_get_by_name(bsf_name);
| ^~~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1370:14: 错误:‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1370 | ost->bsf_ctx = (AVBSFContext**)av_realloc_array(ost->bsf_ctx,
| ^~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1370:25: 错误:‘AVBSFContext’ was not declared in this scope; did you mean ‘AVIOContext’?
1370 | ost->bsf_ctx = (AVBSFContext**)av_realloc_array(ost->bsf_ctx,
| ^~~~~~~~~~~~
| AVIOContext
./Entities/MP3Editor/ffmpegDefine.h:1370:39: 错误:expected primary-expression before ‘)’ token
1370 | ost->bsf_ctx = (AVBSFContext**)av_realloc_array(ost->bsf_ctx,
| ^
./Entities/MP3Editor/ffmpegDefine.h:1373:19: 错误:‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1373 | if (!ost->bsf_ctx)
| ^~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1376:42: 错误:‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1376 | ret = av_bsf_alloc(filter, &ost->bsf_ctx[ost->nb_bitstream_filters]);
| ^~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1376:15: 错误:‘av_bsf_alloc’ was not declared in this scope; did you mean ‘av_max_alloc’?
1376 | ret = av_bsf_alloc(filter, &ost->bsf_ctx[ost->nb_bitstream_filters]);
| ^~~~~~~~~~~~
| av_max_alloc
./Entities/MP3Editor/ffmpegDefine.h:1385:52: 错误:‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1385 | const AVOption *opt = av_opt_next(ost->bsf_ctx[ost->nb_bitstream_filters-1]->priv_data, NULL);
| ^~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1391:47: 错误:‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1391 | ret = av_opt_set_from_string(ost->bsf_ctx[ost->nb_bitstream_filters-1]->priv_data, bsf_options_str, shorthand, "=", ":");
|
paru 运行更新提示
==> 错误: depends 包含无效字符: ' '
==> 错误: pkgver in depends 不允许包含冒号、斜杠、连字符或空白符。
Pinned Comments
RRRRRm commented on 2024-06-07 20:14 (UTC)
突然发现有个包叫ffmpeg4.4
所以修好了