A build of PyAV with ffmpeg 7.0.1 fails with the following error:
src/av/frame.c:3811:38: Fehler: »struct AVFrame« hat kein Element namens »channel_layout«; meinten Sie »ch_layout«?
src/av/frame.c:3821:36: Fehler: »struct AVFrame« hat kein Element namens »channels«
The error translates to "has no member named …" and is related to the deprecation of channel_layout and channels some time ago and it's removal now with ffmpeg 7.
Overview
A build of PyAV with ffmpeg 7.0.1 fails with the following error:
The error translates to "has no member named …" and is related to the deprecation of channel_layout and channels some time ago and it's removal now with ffmpeg 7.
https://github.com/FFmpeg/FFmpeg/commit/65ddc74988245a01421a63c5cffa4d900c47117c
The installed ffmpeg version is 7.0.1
Expected behavior
Build should succeed.
Actual behavior
See error above.
Build report:
Investigation
see above
Reproduction
Build PyAV from source with ffmpeg 7 libraries.
Versions
Research
I have done the following:
Additional context