av/filter/loudnorm_impl.c: In function ‘loudnorm_get_stats’:
av/filter/loudnorm_impl.c:86:5: warning: implicit declaration of function ‘av_channel_layout_describe’; did you mean ‘av_get_channel_layout_string’? [-Wimplicit-function-declaration]
av_channel_layout_describe(&codecpar->ch_layout, ch_layout_str, sizeof(ch_layout_str));
^~~~~~~~~~~~~~~~~~~~~~~~~~
av_get_channel_layout_string
av/filter/loudnorm_impl.c:86:43: error: ‘AVCodecParameters {aka struct AVCodecParameters}’ has no member named ‘ch_layout’; did you mean ‘channel_layout’?
av_channel_layout_describe(&codecpar->ch_layout, ch_layout_str, sizeof(ch_layout_str));
^~~~~~~~~
channel_layout
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for av
Failed to build av
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> av如果各位遇到这个问题,说明是ffmpeg版本过低,可以预先装好aiortc。使用下面的命令:
conda install -c conda-forge "ffmpeg>=6.0" "av>=14,<17" aiortc
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for av
Failed to build av
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> av如果各位遇到这个问题,说明是ffmpeg版本过低,可以预先装好aiortc。使用下面的命令:
conda install -c conda-forge "ffmpeg>=6.0" "av>=14,<17" aiortc