Giter VIP home page Giter VIP logo

c64tapwav's People

Contributors

joelzimmerman avatar

Stargazers

 avatar  avatar  avatar  avatar

c64tapwav's Issues

Does not compile using FFMPEG 5.1.1-3 due to deprecated functions

audioreader.cpp:41:17: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’? 41 | av_free_packet(pkt); | ^~~~~~~~~~~~~~ | av_new_packet

audioreader.cpp: In function ‘int {anonymous}::decode_packet(const char*, AVCodecContext*, SwrContext*, AVFrame*, AVPacket*, int*, std::vector<float>*)’: audioreader.cpp:80:20: error: ‘avcodec_decode_audio4’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’? 80 | int len1 = avcodec_decode_audio4(codec_ctx, audio_frame, got_frame, packet); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_decode_subtitle2

audioreader.cpp: In function ‘bool read_audio_file(const char*, std::vector<float>*, int*)’: audioreader.cpp:99:9: error: ‘av_register_all’ was not declared in this scope 99 | av_register_all(); | ^~~~~~~~~~~~~~~ audioreader.cpp:116:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 116 | if (format_ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { | ^~~~~ audioreader.cpp:126:88: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 126 | AVCodec *codec = avcodec_find_decoder(format_ctx->streams[audio_stream_index]->codec->codec_id); | ^~~~~ audioreader.cpp:134:86: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’ 134 | if (avcodec_copy_context(codec_ctx, format_ctx->streams[audio_stream_index]->codec) != 0) { | ^~~~~ audioreader.cpp:134:13: error: ‘avcodec_copy_context’ was not declared in this scope; did you mean ‘avcodec_free_context’? 134 | if (avcodec_copy_context(codec_ctx, format_ctx->streams[audio_stream_index]->codec) != 0) { | ^~~~~~~~~~~~~~~~~~~~ | avcodec_free_context

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.