Summary: | media-video/ffmpeg - libavresample is deprecated since 2017 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jospezial <jospezial> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jstein, mmokrejs, paolo.pedroni, sam, voron1 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 722296 | ||
Bug Blocks: |
Description
jospezial
2020-05-10 21:42:05 UTC
do we have any package still needing this ? (In reply to Alexis Ballier from comment #1) > do we have any package still needing this ? media-video/transcode-1.1.7-r4 https://bugs.gentoo.org/show_bug.cgi?id=722296 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 ALSA_CFLAGS: ALSA_LIBS: -lasound JACK plugin: yes JACK_CFLAGS: JACK_LIBS: -ljack Pulseaudio plugin: yes pulseaudio_CFLAGS: -D_REENTRANT pulseaudio_LIBS: -lpulse Samplerate plugin: yes samplerate_CFLAGS: samplerate_LIBS: -lsamplerate 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: ================================================================= Package Settings ================================================================= 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)" Upstream issue: https://github.com/alsa-project/alsa-plugins/issues/7 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 media-video/webcamoid[ffmpeg] uses it as well. If there is any interest I can develop a patch series to put libavresample under a USE flag and make alsa-plugins[ffmpeg] and webcamoid[ffmpeg] dependent on it. removed from ffmpeg git master https://github.com/FFmpeg/FFmpeg/commit/420cedd49745b284c35d97b936b71ff79b43bdf7 (In reply to jospezial from comment #9) > removed from ffmpeg git master > https://github.com/FFmpeg/FFmpeg/commit/ > 420cedd49745b284c35d97b936b71ff79b43bdf7 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b347f3e83ffc3405cdac5524c07acb20bee906f9 removed from media-video/ffmpeg-9999.ebuild ffmpeg-4.4.2.ebuild and ffmpeg-4.2.4-r2.ebuild are the last ebuilds with --enable-avresample The 2 PRs in gentoo about avresample are closed now. ffmpeg-5.0.1.ebuild and ffmpeg-9999.ebuild don't have it anymore. Let's keep this bug open as reminder for people who use the old versions and to avoid duplicates. Can be closed when the 2 affected versions are removed from tree. Just a note, also media-libs/libopenshot-0.3.2-r1 searched for it but as it also finds libswresample as mentioend in this thread it is probably working as expected against media-video/ffmpeg-6.1.1-r1: -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.100 -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'libswscale' -- Found libswscale, version 7.5.100 -- Checking for module 'libswresample' -- Found libswresample, version 4.12.100 -- Checking for module 'libavresample' -- Package 'libavresample', required by 'virtual:world', not found -- Found FFmpeg: /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so;/usr/lib64/libswresample.so (found version "6.1.1") found components: avcodec avformat avutil swscale swresample missing components: avresample |