Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #414302 > unrolled thread
| Started by | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| First post | 2026-03-23 22:40 +0100 |
| Last post | 2026-05-07 14:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1131746: python-av: autopkgtest failures with ffmpeg 8.1 Sebastian Ramacher <sramacher@debian.org> - 2026-03-23 22:40 +0100
Bug#1131746: marked as done (python-av: autopkgtest failures with ffmpeg 8.1) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-05-07 14:50 +0200
| From | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| Date | 2026-03-23 22:40 +0100 |
| Subject | Bug#1131746: python-av: autopkgtest failures with ffmpeg 8.1 |
| Message-ID | <MBVa9-9MNv-27@gated-at.bofh.it> |
Source: python-av
Version: 16.1.0+ds-3
Severity: serious
Tags: upstream
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
python-av fails its autopkgtests with ffmpeg 8.1 on arm64:
91s =================================== FAILURES ===================================
91s _______________________ test_reformat_pixel_format_align _______________________
91s
91s def test_reformat_pixel_format_align() -> None:
91s height = 480
91s for width in range(2, 258, 2):
91s frame_yuv = VideoFrame(width, height, "yuv420p")
91s for plane in frame_yuv.planes:
91s plane.update(b"\xff" * plane.buffer_size)
91s
91s expected_rgb = numpy.zeros(shape=(height, width, 3), dtype=numpy.uint8)
91s expected_rgb[:, :, 0] = 255
91s expected_rgb[:, :, 1] = 124
91s expected_rgb[:, :, 2] = 255
91s
91s frame_rgb = frame_yuv.reformat(format="rgb24")
91s > assertNdarraysEqual(frame_rgb.to_ndarray(), expected_rgb)
91s
91s tests/test_videoframe.py:1299:
91s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
91s
91s a = array([[[255, 125, 255],
91s [255, 125, 255],
91s [255, 125, 255],
91s ...,
91s [255, 125, 255],
91s ... ...,
91s [255, 125, 255],
91s [255, 125, 255],
91s [255, 125, 255]]], shape=(480, 16, 3), dtype=uint8)
91s b = array([[[255, 124, 255],
91s [255, 124, 255],
91s [255, 124, 255],
91s ...,
91s [255, 124, 255],
91s ... ...,
91s [255, 124, 255],
91s [255, 124, 255],
91s [255, 124, 255]]], shape=(480, 16, 3), dtype=uint8)
91s
91s def assertNdarraysEqual(a: np.ndarray, b: np.ndarray) -> None:
91s assert a.shape == b.shape
91s
91s comparison = a == b
91s if not comparison.all():
91s it = np.nditer(comparison, flags=["multi_index"])
91s msg = ""
91s for equal in it:
91s if not equal:
91s msg += "- arrays differ at index {}; {} {}\n".format(
91s it.multi_index,
91s a[it.multi_index],
91s b[it.multi_index],
91s )
91s > assert False, f"ndarrays contents differ\n{msg}"
91s ^^^^^
91s E AssertionError: ndarrays contents differ
91s E - arrays differ at index (0, 0, 1); 125 124
[...]
92s E - arrays differ at index (479, 15, 1); 125 124
92s
92s tests/common.py:114: AssertionError
92s ------------------------------ Captured log call -------------------------------
92s WARNING libav.swscaler:test_videoframe.py:1298 No accelerated colorspace conversion found from yuv420p to rgb24.
92s =========================== short test summary info ============================
92s FAILED tests/test_videoframe.py::test_reformat_pixel_format_align - Assertion...
92s =========== 1 failed, 210 passed, 7 skipped, 96 deselected in 6.10s ============
See https://ci.debian.net/packages/p/python-av/testing/arm64/69657883/
for details.
Test issues with ffmpeg 8.1 seem to be fixed upstream by
https://github.com/PyAV-Org/PyAV/commit/57d8f4d7215a7b7cc7d01415613fc6aa2831a8d3
and https://github.com/PyAV-Org/PyAV/commit/900e39b9f0f7df33c3ea192b6dc13736e0b1561c
Cheers
--
Sebastian Ramacher
[toc] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2026-05-07 14:50 +0200 |
| Subject | Bug#1131746: marked as done (python-av: autopkgtest failures with ffmpeg 8.1) |
| Message-ID | <MS6kV-3hpe-3@gated-at.bofh.it> |
| In reply to | #414302 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Thu, 7 May 2026 14:46:35 +0200 with message-id <afyJqwSgQlu5hGRB@duagon-BXN3S64.localdomain> and subject line python-av: autopkgtest failures with ffmpeg 8.1 has caused the Debian Bug report #1131746, regarding python-av: autopkgtest failures with ffmpeg 8.1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1131746: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131746 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web