Comments (4)
哈哈哈, 当时打包过了, 忘记和您说了. 今天翻Github通知才发现
from beslyric-for-x.
卧槽安装脚本居然出问题了.... 我去修一下......
from beslyric-for-x.
emmmmmm, 好像是因为系统里的ffmpeg已经更新到了 5.1.2
from beslyric-for-x.
报了好多这个样子的错
./Entities/MP3Editor/ffmpegDefine.h: In function ‘AVCodec* find_codec_or_die(const char*, AVMediaType, int)’:
./Entities/MP3Editor/ffmpegDefine.h:1092:21: error: 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: error: 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: In function ‘AVCodec* choose_decoder(OptionsContext*, AVFormatContext*, AVStream*)’:
./Entities/MP3Editor/ffmpegDefine.h:1126:36: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
1126 | return avcodec_find_decoder(st->codecpar->codec_id);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
./Entities/MP3Editor/ffmpegDefine.h: In function ‘int choose_encoder(OptionsContext*, AVFormatContext*, OutputStream*)’:
./Entities/MP3Editor/ffmpegDefine.h:1158:44: error: 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: In function ‘int get_preset_file_2(const char*, const char*, AVIOContext**)’:
./Entities/MP3Editor/ffmpegDefine.h:1193:19: warning: 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: In function ‘OutputStream* new_output_stream(OptionsContext*, AVFormatContext*, AVMediaType, int, FfmpegParamContext*)’:
./Entities/MP3Editor/ffmpegDefine.h:1354:15: error: ‘AVBitStreamFilter’ does not name a type
1354 | const AVBitStreamFilter *filter;
| ^~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1364:9: error: ‘filter’ was not declared in this scope
1364 | filter = av_bsf_get_by_name(bsf_name);
| ^~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1364:18: error: ‘av_bsf_get_by_name’ was not declared in this scope
1364 | filter = av_bsf_get_by_name(bsf_name);
| ^~~~~~~~~~~~~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1370:14: error: ‘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: error: ‘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: error: expected primary-expression before ‘)’ token
1370 | ost->bsf_ctx = (AVBSFContext**)av_realloc_array(ost->bsf_ctx,
| ^
./Entities/MP3Editor/ffmpegDefine.h:1373:19: error: ‘OutputStream’ {aka ‘struct OutputStream’} has no member named ‘bsf_ctx’
1373 | if (!ost->bsf_ctx)
| ^~~~~~~
./Entities/MP3Editor/ffmpegDefine.h:1376:42: error: ‘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: error: ‘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: error: ‘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: error: ‘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, "=", ":");
| ^~~~~~~
from beslyric-for-x.
Related Issues (20)
- 撰写 v3.2.0 版本更新信息 HOT 3
- 纠正错误提示“成功失败”,同时优化内容过长而导致显示不全的提示
- 皮肤盒子箭头对不齐,不好看,删掉 HOT 1
- 在程序里标注 BesLyric-for-X 使用的图标来源
- 完善登录信息的收集 HOT 4
- Migrate from qmake to CMake | 从 qmake 迁移到 CMake
- Remove the source code copied from FFmpeg | 移除从 FFmpeg 复制的源代码
- Introduce TagLib to process the information in audio files | 引入 TagLib 以处理音频文件中的信息
- Analyze the code with tools before committing | 在提交前使用工具分析代码
- Format the code with tools before committing | 在提交前使用工具格式化代码
- Introduce GitHub Actions | 引入 GitHub Actions
- End the support for 32-bit Windows | 停止对 32 位 Windows 的支持
- End the support for macOS 10.13 | 停止对 macOS 10.13 的支持
- Migrate from Qt 5 to Qt 6 | 从 Qt 5 迁移到 Qt 6
- 无法搜索歌曲? HOT 9
- 无法播放部分WAV文件 HOT 4
- wav 格式音乐播放后,没有声音 HOT 1
- flac ape m4a aac 不能通过拖放添加音乐 HOT 2
- 音樂文件導入後,點擊開始製作沒有聲音 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beslyric-for-x.