Your message dated Thu, 7 May 2026 14:46:35 +0200
with message-id <[email protected]>
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 [email protected]
immediately.)


-- 
1131746: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131746
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-av
Version: 16.1.0+ds-3
Severity: serious
Tags: upstream
X-Debbugs-Cc: [email protected]

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

--- End Message ---
--- Begin Message ---
Version: 17.0.1+ds-1

This should be resolved by the last upload (which cannot be installed
due to due to depending on unresolvable python3 version).

--- End Message ---

Reply via email to