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
There are a lot of errors compiling with ffmpeg 7.0 as follows:
316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc: In member function ‘void decord::AudioReader::HandleFrame(AVCodecContext*, AVFrame*)’:
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:232:99: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 232 | int outNumChannels = av_get_channel_layout_nb_channels(mono ? AV_CH_LAYOUT_MONO : pFrame->channel_layout);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:232:30: error: ‘av_get_channel_layout_nb_channels’ was not declared in this scope
#0 316.5 232 | int outNumChannels = av_get_channel_layout_nb_channels(mono ? AV_CH_LAYOUT_MONO : pFrame->channel_layout);
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc: In member function ‘void decord::AudioReader::InitSWR(AVCodecContext*)’:
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:284:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 284 | if (pCodecContext->channel_layout == 0) {
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:91: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:45: error: ‘av_get_default_channel_layout’ was not declared in this scope
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:287:83: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 287 | av_opt_set_channel_layout(this->swr, "in_channel_layout", pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:287:9: error: ‘av_opt_set_channel_layout’ was not declared in this scope; did you mean ‘av_opt_set_chlayout’?
#0 316.5 287 | av_opt_set_channel_layout(this->swr, "in_channel_layout", pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 | av_opt_set_chlayout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:288:110: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 288 | av_opt_set_channel_layout(this->swr, "out_channel_layout", mono ? AV_CH_LAYOUT_MONO : pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.7 make[2]: *** [CMakeFiles/decord.dir/build.make:63: CMakeFiles/decord.dir/src/audio/audio_interface.cc.o] Error 1
#0 316.7 make[2]: *** Waiting for unfinished jobs....
#0 316.7 make[2]: *** [CMakeFiles/decord.dir/build.make:76: CMakeFiles/decord.dir/src/audio/audio_reader.cc.o] Error 1
#0 319.6 make[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/decord.dir/all] Error 2
#0 319.6 make: *** [Makefile:130: all] Error 2
The text was updated successfully, but these errors were encountered:
chencuber
changed the title
Can some support compiling with ffmpeg 7.0 which supports vvc/h.266 encoding?
Can someone support compiling with ffmpeg 7.0 which supports vvc/h.266 encoding?
Jul 26, 2024
chencuber
changed the title
Can someone support compiling with ffmpeg 7.0 which supports vvc/h.266 encoding?
Can someone support compiling with ffmpeg 7.0 which supports vvc/h.266 decoding?
Jul 26, 2024
There are a lot of errors compiling with ffmpeg 7.0 as follows:
316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc: In member function ‘void decord::AudioReader::HandleFrame(AVCodecContext*, AVFrame*)’:
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:232:99: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 232 | int outNumChannels = av_get_channel_layout_nb_channels(mono ? AV_CH_LAYOUT_MONO : pFrame->channel_layout);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:232:30: error: ‘av_get_channel_layout_nb_channels’ was not declared in this scope
#0 316.5 232 | int outNumChannels = av_get_channel_layout_nb_channels(mono ? AV_CH_LAYOUT_MONO : pFrame->channel_layout);
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc: In member function ‘void decord::AudioReader::InitSWR(AVCodecContext*)’:
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:284:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 284 | if (pCodecContext->channel_layout == 0) {
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:91: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:285:45: error: ‘av_get_default_channel_layout’ was not declared in this scope
#0 316.5 285 | pCodecContext->channel_layout = av_get_default_channel_layout( pCodecContext->channels );
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:287:83: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 287 | av_opt_set_channel_layout(this->swr, "in_channel_layout", pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:287:9: error: ‘av_opt_set_channel_layout’ was not declared in this scope; did you mean ‘av_opt_set_chlayout’?
#0 316.5 287 | av_opt_set_channel_layout(this->swr, "in_channel_layout", pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#0 316.5 | av_opt_set_chlayout
#0 316.5 /home/RedVQA/docker/decord/src/audio/audio_reader.cc:288:110: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
#0 316.5 288 | av_opt_set_channel_layout(this->swr, "out_channel_layout", mono ? AV_CH_LAYOUT_MONO : pCodecContext->channel_layout, 0);
#0 316.5 | ^~~~~~~~~~~~~~
#0 316.5 | ch_layout
#0 316.7 make[2]: *** [CMakeFiles/decord.dir/build.make:63: CMakeFiles/decord.dir/src/audio/audio_interface.cc.o] Error 1
#0 316.7 make[2]: *** Waiting for unfinished jobs....
#0 316.7 make[2]: *** [CMakeFiles/decord.dir/build.make:76: CMakeFiles/decord.dir/src/audio/audio_reader.cc.o] Error 1
#0 319.6 make[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/decord.dir/all] Error 2
#0 319.6 make: *** [Makefile:130: all] Error 2
The text was updated successfully, but these errors were encountered: