Coder Social home page Coder Social logo

Comments (4)

RRRRRm avatar RRRRRm commented on June 28, 2024

哈哈哈, 当时打包过了, 忘记和您说了. 今天翻Github通知才发现

地址

from beslyric-for-x.

RRRRRm avatar RRRRRm commented on June 28, 2024

卧槽安装脚本居然出问题了.... 我去修一下......

from beslyric-for-x.

RRRRRm avatar RRRRRm commented on June 28, 2024

emmmmmm, 好像是因为系统里的ffmpeg已经更新到了 5.1.2

from beslyric-for-x.

RRRRRm avatar RRRRRm commented on June 28, 2024

报了好多这个样子的错

./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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.