> or = ffmpeg-4.1.3 ebuilds show
WARNING: Building with deprecated library libavresample
in configure phase.
# Mandatory configuration
"lavr: deprecate the entire library
Deprecate the entire library. Merged years ago to provide compatibility
with Libav, it remained unmaintained by the FFmpeg project and duplicated
functionality provided by libswresample.
In order to improve consistency and reduce attack surface, as well as to ease
burden on maintainers, it has been deprecated. Users of this library are asked
to migrate to libswresample, which, as well as providing more functionality,
is faster and has higher accuracy."
Please remove --enable-avresample (defaults to "no") or add an USE flag for it.
libswresample is built by default.
If there are any packages still depending on lavr then we can make a tracker bug of this after the change.
do we have any package still needing this ?
(In reply to Alexis Ballier from comment #1)
> do we have any package still needing this ?
was the only one that needed a patch when I rebuilt the installed packages depending on ffmpeg.
Let's find it out.
After some months of testing with disabled avresample and with now fixed transcode bug I see no problems on my system.
Please go ahead and remove the config option setting.
alsa-plugins still seems to use it at least
(In reply to Alexis Ballier from comment #4)
> alsa-plugins still seems to use it at least
But configure of media-plugins/alsa-plugins-1.2.2 succeeds even if it does not find libavresample.
/var/tmp/portage/media-plugins/alsa-plugins-1.2.2/work/alsa-plugins-1.2.2/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/alsa-plugins-1.2.2 --htmldir=/usr/share/doc/alsa-plugins-1.2.2/html --with-sysroot=/ --libdir=/usr/lib64 --with-alsalconfdir=/etc/alsa/conf.d --with-speex=lib --disable-arcamav --enable-libav --enable-jack --enable-samplerate --enable-mix --disable-oss --enable-pulseaudio --enable-speexdsp --enable-usbstream
checking for samplerate... yes
checking for libavcodec libavutil libavresample... no
Plugin directory: /usr/lib64/alsa-lib
JACK plugin: yes
Pulseaudio plugin: yes
Samplerate plugin: yes
Maemo plugin: no
Using Osso resource manager: no
Libav A52 plugin:
Libav rate plugin:
Speex rate plugin: lib
Speex preprocess plugin: yes
AAF plugin: no
>>> Source configured.
And no problems to emerge it:
media-plugins/alsa-plugins-1.2.2::gentoo was built with the following:
USE="ffmpeg jack libsamplerate mix pulseaudio speex usb_stream -arcam_av -debug -oss" ABI_X86="32 (64) (-x32)"
No commits to alsa-plugins git since 19. Feb. 2020
(In reply to jospezial from comment #5)
> (In reply to Alexis Ballier from comment #4)
> > alsa-plugins still seems to use it at least
> But configure of media-plugins/alsa-plugins-1.2.2 succeeds even if it does
> not find libavresample.
well, yeah, because it disables the feature, which is even worse since it's a silent fail