You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:103:8: error: no member named 'channels' in 'AVCodecContext'
103 | cIn->channels = inSourceFormat->mChannelsPerFrame;
| ~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:106:52: error: no member named 'channels' in 'AVCodecContext'
106 | std::cout << "Converting from PCM with " << cIn->channels << " channels at " << cIn->sample_rate << " Hz\n";
| ~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:134:13: error: no member named 'channels' in 'AVCodecContext'
134 | m_encoder->channels = m_destinationFormat.mChannelsPerFrame;
| ~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:136:13: error: no member named 'channel_layout' in 'AVCodecContext'
136 | m_encoder->channel_layout = CAChannelCountToLayout(m_destinationFormat.mChannelsPerFrame);
| ~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:164:16: error: no member named 'channel_layout' in 'AVFrame'
164 | m_audioFrame->channel_layout = m_encoder->channel_layout;
| ~~~~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:164:44: error: no member named 'channel_layout' in 'AVCodecContext'
164 | m_audioFrame->channel_layout = m_encoder->channel_layout;
| ~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:167:78: error: no member named 'channels' in 'AVCodecContext'
167 | int audioSampleBuffer_size = av_samples_get_buffer_size(nullptr, m_encoder->channels, m_audioFrame->nb_samples, m_encoder->sample_fmt, 0);
| ~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:177:66: error: no member named 'channels' in 'AVCodecContext'
177 | if (int err = avcodec_fill_audio_frame(m_audioFrame, m_encoder->channels, m_encoder->sample_fmt,
| ~~~~~~~~~ ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:456:4: warning: TODO: test this new avcodec decoder code [-W#warnings]
456 | #warning TODO: test this new avcodec decoder code
| ^
/home/kluska/Sources/darling/src/CoreAudio/AudioToolbox/AudioConverterImpl.cpp:570:5: warning: TODO: test this new avcodec encoder code [-W#warnings]
570 | #warning TODO: test this new avcodec encoder code
| ^
4 warnings and 8 errors generated.
this is a known incompatibility between previous versions of FFmpeg and FFmpeg 7.
System Information
Arch Linux AMD64, last updated on August 27th, 2024
Build Log
What is the build error?
this is a known incompatibility between previous versions of FFmpeg and FFmpeg 7.
System Information
Arch Linux AMD64, last updated on August 27th, 2024
The text was updated successfully, but these errors were encountered: