Re: opencv-4.12.0 FTBFS with ffmpeg8

"Joe Locash" ([email protected] via blfs-dev Mailing List) <[email protected]> Sat, 29 Nov 2025 07:29:54 -0500
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 11/29/25 12:27 AM, Bruce Dubbs ([email protected] via 
blfs-dev Mailing List) wrote:
> Can I get someone to look at opencv with ffmpeg8?
>
> What I get is
>
> /build/opencv/opencv-4.12.0/modules/videoio/src/cap_ffmpeg_impl.hpp:688:9: 
> error: ‘avcodec_close’ was not declared in this scope; did you mean 
> ‘avio_close’?
>   688 |         avcodec_close( context );
>       |         ^~~~~~~~~~~~~
>
> and
>
> /build/opencv/opencv-4.12.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2008:12: 
> error: ‘av_stream_get_side_data’ was not declared in this scope; did 
> you mean ‘av_frame_get_side_data’?
>  2008 |     data = av_stream_get_side_data(video_st, 
> AV_PKT_DATA_DISPLAYMATRIX, NULL);
>
> opencv is required for plasma, so we need to get this fixed as soon as 
> we can. 

https://github.com/opencv/opencv/commit/90c444abd387ffa70b2e72a34922903a2f0f4f5a

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page