PyAV-Org / PyAV

Pythonic bindings for FFmpeg's libraries.
https://pyav.basswood-io.com/
BSD 3-Clause "New" or "Revised" License
2.44k stars 359 forks source link

test TestEncoding::test_encoding_h264 fails on 64-bit PowerPC architectures #1452

Closed jonassmedegaard closed 2 months ago

jonassmedegaard commented 2 months ago

python-av v12.1.0 fails on ppc64el like this:

132s _______________________ TestEncoding.test_encoding_h264 ________________________
132s 
132s self = <tests.test_codec_context.TestEncoding testMethod=test_encoding_h264>
132s 
132s     def test_encoding_h264(self):
132s >       self.video_encoding("h264", {"crf": "19"})
132s 
132s tests/test_codec_context.py:272: 
132s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
132s tests/test_codec_context.py:379: in video_encoding
132s     self.assertEqual(i, gop_size)
132s E   AssertionError: 19 != 20

That is in addition to #834 still broken, despite being auto-closed.

WyattBlue commented 2 months ago

It's normal for a test or two to fail when running on some non-CI platform. We don't write the code for h264 encoders so this isn't our bug.