#1072430 libonvif: FTBFS with ffmpeg 7.0: Decoder.h:42:42: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’

Package:
src:libonvif
Source:
src:libonvif
Submitter:
Sebastian Ramacher
Date:
2025-08-11 15:24:09 UTC
Severity:
normal
Tags:
#1072430#5
Date:
2024-06-02 13:21:40 UTC
From:
To:
Hi,

during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build


Relevant part (hopefully):
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/libonvif_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

#1072430#14
Date:
2024-09-13 20:06:53 UTC
From:
To:
Upstream version 2.2.8 fixes the compatibility issues with ffmpeg 7.
It's available as stable here:

https://github.com/sr99622/libonvif

The version in debian/unstable (1.4.4-1.1) is to be considered obsolete.
It would be good to port the newer version from upstream.