Source: ffmpeg
Version: 7:8.1-3
Severity: normal

First of all: Thanks for the amazing job you do with maintaining ffmpeg
(and mpv), which makes it a breeze to (make custom) build(s) :-D

Because of that I had been running git snapshots of ffmpeg and had
encountered some issues for which I wanted to test if one of those
(minor) fixes would be appropriate for Debian.

While building it locally, it failed in tests with filter-frei0r-filter:

```
Test filter-frei0r-filter-unaligned failed. Look at 
tests/data/fate/filter-frei0r-filter-unaligned.err for details.
Test filter-frei0r-filter failed. Look at 
tests/data/fate/filter-frei0r-filter.err for details.
ffmpeg version 8.1-3 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 15 (Debian 15.2.0-15)
  configuration: --prefix=/usr --extra-version=3 --toolchain=hardened 
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu 
--arch=amd64 --enable-gpl --disable-stripping --disable-pocketsphinx 
--disable-libcaca --disable-libmfx --disable-omx --enable-gnutls 
--enable-libaom --enable-libass --enable-libbs2b --enable-libcdio 
--enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig 
--enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme 
--enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa 
--enable-libopenjpeg --enable-libopenmpt --enable-libopus 
--enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 
--enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal 
--enable-opencl --enable-opengl --disable-sndio --enable-libvpl 
--enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint 
--enable-frei0r --enable-ladspa --enable-libbluray --enable-libdvdnav 
--enable-libdvdread --enable-libjack --enable-libjxl --enable-libpulse 
--enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh 
--enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi 
--enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e 
--enable-librsvg --enable-shared
  libavutil      60. 26.100 / 60. 26.100
  libavcodec     62. 28.100 / 62. 28.100
  libavformat    62. 12.100 / 62. 12.100
  libavdevice    62.  3.100 / 62.  3.100
  libavfilter    11. 14.100 / 11. 14.100
  libswscale      9.  5.100 /  9.  5.100
  libswresample   6.  3.100 /  6.  3.100
[Parsed_frei0r_1 @ 0x560a7f656080] Could not find module 'distort0r'.
[AVFilterGraph @ 0x560a7f6558c0] Error initializing filters
Error : Invalid argument
threads=1
ffmpeg version 8.1-3 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 15 (Debian 15.2.0-15)
  configuration: --prefix=/usr --extra-version=3 --toolchain=hardened 
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu 
--arch=amd64 --enable-gpl --disable-stripping --disable-pocketsphinx 
--disable-libcaca --disable-libmfx --disable-omx --enable-gnutls 
--enable-libaom --enable-libass --enable-libbs2b --enable-libcdio 
--enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig 
--enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme 
--enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa 
--enable-libopenjpeg --enable-libopenmpt --enable-libopus 
--enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 
--enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal 
--enable-opencl --enable-opengl --disable-sndio --enable-libvpl 
--enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint 
--enable-frei0r --enable-ladspa --enable-libbluray --enable-libdvdnav 
--enable-libdvdread --enable-libjack --enable-libjxl --enable-libpulse 
--enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh 
--enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi 
--enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e 
--enable-librsvg --enable-shared
  libavutil      60. 26.100 / 60. 26.100
  libavcodec     62. 28.100 / 62. 28.100
  libavformat    62. 12.100 / 62. 12.100
  libavdevice    62.  3.100 / 62.  3.100
  libavfilter    11. 14.100 / 11. 14.100
  libswscale      9.  5.100 /  9.  5.100
  libswresample   6.  3.100 /  6.  3.100
[Parsed_frei0r_1 @ 0x56331de6c100] Could not find module 'distort0r'.
[AVFilterGraph @ 0x56331de6b880] Error initializing filters
Error : Invalid argument
threads=1
make[2]: *** 
[/home/diederik/dev/debian/salsa/multimedia-team/ffmpeg/tests/Makefile:322: 
fate-filter-frei0r-filter-unaligned] Error 234
TEST    filter-allrgb
make[2]: *** 
[/home/diederik/dev/debian/salsa/multimedia-team/ffmpeg/tests/Makefile:322: 
fate-filter-frei0r-filter] Error 234
```

Which (later) resulted in a failed build:

```
make[2]: Target 'check' not remade because of errors.
make[2]: Leaving directory 
'/home/diederik/dev/debian/salsa/multimedia-team/ffmpeg/debian/standard'
dh_auto_test: error: cd debian/standard && make -j16 check -k returned exit 
code 2
make[1]: *** [debian/rules:292: override_dh_auto_test-arch] Error 25
make[1]: Leaving directory 
'/home/diederik/dev/debian/salsa/multimedia-team/ffmpeg'
make: *** [debian/rules:242: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I -uc -us' failed: it exited with 29
```

My commit message (from those snapshot builds) where I disabled those
tests (as I didn't know how to properly fix them):

```
    d/rules: Disable filter-frei0r-filter* tests

    There was an upstream bug wrt frei0r plugin fixed in commit
    549b45459e4c ("avfilter/vf_frei0r: fix time not being passed in seconds")

    That commit added a test for it, but that test fails on my system.
    Error message: "Could not find module 'distort0r'"

    But that module is available via the frei0r-plugins package at
    /usr/lib/x86_64-linux-gnu/frei0r-1/distort0r.so

    I think /usr/lib/x86_64-linux-gnu/ is likely included in the search
    path, but possibly the 'frei0r-1' subdir not.
    I do not (yet) know how to fix it, so disable that test for now.

    Another frei0r test got added, which also failed, in commit
    4c4ab2ec6ff9 ("fate/filter-video: add frei0r test where input is realigned")

    Its commit description mentioned 'FREI0R_PATH', which makes it likely
    this is indeed a PATH issue. Disable this test too.
```

It could be completely bogus/irrelevant, but I'm quite sure you will be
able to tell that. If not, hopefully the above gives a useful hint.

Cheers,
  Diederik

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.8+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to