Re: any work on ffmpeg 7?

Gilles Caulier <[email protected]> Sun, 2 Jun 2024 19:15:30 +0200
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <CAHFG6sGupL13QW7V=OCz=ZD6otFuV5vS8OVZBmjh4BJjk7EVCg@mail.gmail.com>
Hi, Robbins,

Not yet. The Qt5 version is based on QtAVPlayer and the code from
digiKam core is z little bit outdated compared to the github
repository. I will sync digiKam to see if it can improve the ffmpeg 7
support.

In all cases, QtAvPlayer needs to be patched first and code backported
in digiKam, if you plan to fix the code.

For other parts in digiKam based on ffmpeg, it is still the
thumbnailer which requires fixing too.

Voil=C3=A0. My best.

Gilles

Le dim. 2 juin 2024 =C3=A0 17:35, Steven Robbins <[email protected]> a =C3=A9=
crit :
>
> Hello,
>
> I just received word that the debian package of Digikam (version 8.3.0) f=
ails
> to build against the new ffmpeg 7.0.1 release.
>
> Just curious if anyone here has experience with ffmpeg 7?
>
> Note that the debian build currently targets Qt 5.  The build failure com=
es
> from QtAVPlayer's use of ffmpeg, e.g.
>
> > /<<PKGBUILDDIR>>/core/libs/video/QtAVPlayer/qavdemuxer.cpp: In member
> function =E2=80=98int QAVDemuxer::load(const QString&, QAVIODevice*)=E2=
=80=99:
> > /<<PKGBUILDDIR>>/core/libs/video/QtAVPlayer/qavdemuxer.cpp:352:36: erro=
r:
> =E2=80=98const struct AVInputFormat=E2=80=99 has no member named =E2=80=
=98read_seek=E2=80=99
> >   352 |     d->seekable =3D d->ctx->iformat->read_seek || d->ctx->iform=
at-
> >read_seek2;
> >       |                                    ^~~~~~~~~
> > /<<PKGBUILDDIR>>/core/libs/video/QtAVPlayer/qavdemuxer.cpp:352:66: erro=
r:
> =E2=80=98const struct AVInputFormat=E2=80=99 has no member named =E2=80=
=98read_seek2=E2=80=99
> >   352 |     d->seekable =3D d->ctx->iformat->read_seek || d->ctx->iform=
at-
> >read_seek2;
> >       |
> ^~~~~~~~~~
> > [ 28%] Building CXX object core/utilities/advancedrename/CMakeFiles/
> gui_advancedrename_obj.dir/advancedrenamewidget.cpp.o
>
> My recollection is that mainline development has shiftted to using the AV
> component in Qt6?  Does that still use ffmpeg under the hood?
>
> The full build log is available here: https://people.debian.org/~sramache=
r/
> ffmpeg-7.0/digikam_arm64.build
>
> Thanks,
> -Steve