Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: UPDATE: FFmpeg 6.1.1
To:
ports <ports@openbsd.org>
Cc:
Brad Smith <brad@comstyle.com>
Date:
Thu, 14 Nov 2024 12:18:03 +0100

Download raw body.

Thread
On Thu Nov 14, 2024 at 09:46:18AM +0100, Rafael Sadowski wrote:
> On Tue Sep 24, 2024 at 12:28:35PM +0200, Theo Buehler wrote:
> > On Sun, Sep 22, 2024 at 07:55:38AM +0200, Rafael Sadowski wrote:
> > > Could some throw this into a bulk build please?
> > > 
> > > The entire Qt5/Qt6 ecosystem depends on FFmpeg API >= 5.
> > 
> > This doesn't look too bad. The qtwebengines depend on an extra symbol
> > that would need to be patched into system ffmpeg since the chromium
> > devs didn't want to listen to the ffmpeg devs:
> > 
> > https://ffmpeg.org/pipermail/ffmpeg-devel/2021-September/285401.html
> > 
> > That's a bit annoying. Link to the patch below.
> > 
> > vlc has some vaapi issues. I haven't looked further. A few of the other
> > fallout has patches floating around the net, others don't seem to be
> > ready for new ffmpeg and others are probably ready for removal.
> > 
> > Here's the short list. Not sure how badly the bulk was cut short, seems
> > to have affected mostly the Qt ecosystem.
> > 
> > audio/chromaprint
> > audio/moc
> > audio/potamus
> > emulators/ppsspp
> > games/alephone/alephone
> > graphics/openscenegraph
> > multimedia/synfig
> > telephony/linphone/mediastreamer2
> > x11/qt5/qtwebengine!
> > x11/qt6/qtwebengine!
> > x11/vlc
> > 
> > 
> > x11/vlc
> > 
> > checking for libavcodec/vaapi.h... no
> > configure: WARNING: libva is present but libavcodec/vaapi.h is missing
> > ...
> > Error: /tmp/pobj/vlc-3.0.20/fake-amd64/usr/local/lib/vlc/plugins/codec/libvaapi_drm_plugin.so does not exist
> > Error: /tmp/pobj/vlc-3.0.20/fake-amd64/usr/local/lib/vlc/plugins/codec/libvaapi_plugin.so does not exist
> > pkg_create: can't continue
> > 
> 
> I also see this in my last ffmpeg6 bulk build:
> 
> 307071 Error: /tmp/pobj/vlc-3.0.20/fake-amd64/usr/local/lib/vlc/plugins/codec/libvaapi_drm_plugin.so does not exist
> 307072 Error: /tmp/pobj/vlc-3.0.20/fake-amd64/usr/local/lib/vlc/plugins/codec/libvaapi_plugin.so does not exist
> 

It's because VLC depends on libavcodec/vaapi.h that was removed in ffmpeg6.

This is also the reason why everyone delivers ffmpeg4 and ffmpeg6.