MediaArea/MediaConch

Files fail in CLI but pass in GUI against same policy file

Opened this issue · 4 comments

CLI:
mediaconch -p /Users/pamiqc/ami-preservation/qc_utilities/MediaconchPolicies/MediaConch_NYPL-PAMI_videoAnalog_SC.xml /Users/pamiqc/Downloads/testAV/Video/463624/data/ServiceCopies/myh_463624_v01_sc.mp4
fail! /Users/pamiqc/Downloads/testAV/Video/463624/data/ServiceCopies/myh_463624_v01_sc.mp4
-- [fail:MediaConch_NYPL-PAMI_videoAnalog_SC]
-- [fail:Video Codec should be H264]
-- [fail:Video CodecID is H264]
-- [fail:Video CodecID is AVC1]
-- [fail:Format is MPEG-4]
-- [fail:Format is AVC]

...but GUI output is all ✅

GUI XML report here: https://drive.google.com/file/d/1lCroUi0MWtzFFSjn022JkO-tA4JYphl9/view?usp=sharing
Policy file here: https://drive.google.com/file/d/1QnQw1CE6-QgKkYQzo1caEgPqAJpdKbi-/view?usp=sharing

I'm unable to reproduce this problem with a local file.

Can you share the output of mediaconch -mi -fx /Users/pamiqc/Downloads/testAV/Video/463624/data/ServiceCopies/myh_463624_v01_sc.mp4 ?

@genfhk Sorry for the late reply.

The MediaInfo report is correct and pass the policy.
Did you tried the --force option to tell mediaconch to re-parse the file ?

Is the policy failing with others outputs (e.g -ft or -fx ?)