The QuickTime ColorRepresentation is decoded into separate tags as of ExifTool 
12.45.

        - Phil

> On Oct 13, 2022, at 1:52 PM, Paul Gevers <elb...@debian.org> wrote:
> 
> Source: libimage-exiftool-perl, mat2
> Control: found -1 libimage-exiftool-perl/12.47+dfsg-1
> Control: found -1 mat2/0.13.0-1
> Severity: serious
> Tags: sid bookworm
> User: debian...@lists.debian.org
> Usertags: breaks needs-update
> 
> Dear maintainer(s),
> 
> With a recent upload of libimage-exiftool-perl the autopkgtest of mat2 fails 
> in testing when that autopkgtest is run with the binary packages of 
> libimage-exiftool-perl from unstable. It passes when run with only packages 
> from testing. In tabular form:
> 
>                       pass            fail
> libimage-exiftool-perl from testing    12.47+dfsg-1
> mat2                   from testing    0.13.0-1
> all others             from testing    from testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration of libimage-exiftool-perl 
> to testing [1]. Due to the nature of this issue, I filed this bug report 
> against both packages. Can you please investigate the situation and reassign 
> the bug to the right package?
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=libimage-exiftool-perl
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/m/mat2/27021864/log.gz
> 
> _______________________ TestCleaning.test_all_parametred 
> _______________________
> 
> self = <tests.test_libmat2.TestCleaning testMethod=test_all_parametred>
> 
>    def test_all_parametred(self):
>        for case in self.data:
>            with self.subTest(case=case):
>                if 'ffmpeg' in case:
>                    try:
>                        video._get_ffmpeg_path()
>                    except RuntimeError:
>                        raise unittest.SkipTest
>                    print('[+] Testing %s' % case['name'])
>                target = './tests/data/clean.' + case['name']
>                shutil.copy('./tests/data/dirty.' + case['name'], target)
>                p1 = case['parser'](target)
>                    for k, v in p1.get_meta().items():
>                    if k not in case['meta']:
>                        continue
>                    if isinstance(v, dict):
>                        for _k, _v in v.items():
>                            if _k in case['meta'][k]:
>                                self.assertEqual(_v, case['meta'][k][_k])
>                    else:
>                        self.assertEqual(v, case['meta'][k])
>                    p1.lightweight_cleaning = True
>                self.assertTrue(p1.remove_all())
>                    p2 = case['parser'](p1.output_filename)
>                meta = p2.get_meta()
>                if meta:
>                    for k, v in p2.get_meta().items():
>>                      self.assertIn(k, case['expected_meta'], '"%s" is not in 
>> "%s" (%s)' % (k, case['expected_meta'], case['name']))
> E                       AssertionError: 'ColorProfiles' not found in 
> {'AverageBitrate': 465641, 'BufferSize': 0, 'CompatibleBrands': ['isom', 
> 'iso2', 'avc1', 'mp41'], 'ColorRepresentation': 'nclx 1 1 1', 'CompressorID': 
> 'avc1', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 
> 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base 
> Media v1 [IS0 14496-12:2003]', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 
> 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MinorVersion': '0.2.0', 
> 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 
> 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 
> 0, 'TrackID': 1, 'TrackLayer': 0} : "ColorProfiles" is not in 
> "{'AverageBitrate': 465641, 'BufferSize': 0, 'CompatibleBrands': ['isom', 
> 'iso2', 'avc1', 'mp41'], 'ColorRepresentation': 'nclx 1 1 1', 'CompressorID': 
> 'avc1', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 
> 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base 
> Media v1 [IS0 14496-12:2003]', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 
> 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MinorVersion': '0.2.0', 
> 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 
> 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 
> 0, 'TrackID': 1, 'TrackLayer': 0}" (mp4)
> 
> tests/test_libmat2.py:552: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> [+] Testing pdf
> [+] Testing png
> [+] Testing jpg
> [+] Testing wav
> [+] Testing aiff
> [+] Testing mp3
> [+] Testing ogg
> [+] Testing flac
> [+] Testing docx
> [+] Testing odt
> [+] Testing tiff
> [+] Testing bmp
> [+] Testing torrent
> [+] Testing odf
> [+] Testing odg
> [+] Testing txt
> [+] Testing gif
> [+] Testing css
> [+] Testing svg
> [+] Testing ppm
> [+] Testing avi
> [+] Testing mp4
> ----------------------------- Captured stderr call 
> -----------------------------
> Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
> =============================== warnings summary 
> ===============================
> libmat2/pdf.py:11
> /tmp/autopkgtest-lxc.x0nqr1ru/downtmp/build.wzb/src/libmat2/pdf.py:11: 
> DeprecationWarning: The distutils package is deprecated and slated for 
> removal in Python 3.12. Use setuptools or check PEP 632 for potential 
> alternatives
>    from distutils.version import LooseVersion
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_libmat2.py::TestCleaning::test_all_parametred - 
> AssertionEr...
> ================== 1 failed, 120 passed, 1 warning in 59.42s 
> ===================
> autopkgtest [05:27:32]: test command1
> 

Reply via email to