Repository navigation
Log idet Counts on Every Interlace Scan - #1188
Conversation
Each interlace scan logs its verdict and multi-frame, single-frame, and repeated-field counts at Information level, so normal processing of a collection surveys its field orders before the field-order rule changes. The catalog records the counts as an informational idet field per entry, which the reduce equivalence gate ignores. Refs #1176 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 39 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
PR Summary by QodoLog interlace scan counts and catalog field-order results
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can tweak Display settings with a live preview to see your comment before it ships |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the interlace telemetry change includes parser/template regression coverage and corresponding documentation.
No open issues 🎉
What changed in this PR
Adds Information-level interlace telemetry, exposing FFmpeg idet verdicts and field-order counts in regression catalogs without affecting reduction equivalence.
Changes:
- Logs interlace verdicts and MultiFrame, SingleFrame, and RepeatedFields counts.
- Parses and stores
idetdata in corpus catalog entries. - Adds parser/template regression coverage.
- Documents the logging and catalog behavior.
| File | Description |
|---|---|
RegressionTests/tests/test_corpus_common.py |
Tests idet parsing and synchronizes it with the C# log template. |
RegressionTests/README.md |
Documents cataloged idet data. |
RegressionTests/corpus_common.py |
Parses interlace counts and attributes them to catalog entries. |
RegressionTests/catalog_corpus.py |
Stores parsed idet data in catalog entries. |
PlexCleaner/ProcessFile.cs |
Logs interlace verdicts and field-order counts at Information level. |
HISTORY.md |
Records the new interlace telemetry behavior. |
ARCHITECTURE.md |
Documents the Information-versus-Debug logging classification. |
Review effort: Lite
Summary
With
DeInterlaceon, each parsed interlace scan logs its verdict and idet counts on one Information line, whatever the verdict. Processing a collection then surveys its field orders. That's the evidence #1176 asks for before the field-order rule changes.ProcessFile.FindInterlacedTrackslogsInterlace scan counts : Interlaced: <bool>, Multi: ..., Single: ..., Repeated: ... : "<file>", with the multi-frame, single-frame, and repeated-field counts. Repeated fields show telecine.ARCHITECTURE.md"Logging Conventions" now lists the scan's verdict and counts under Information, and keeps the idet tool run under Debug.corpus_common.parse_logreads the line into an informationalidetfield per catalog entry. The reduce equivalence gate ignores it, since a cut clip's counts differ from its source's. The line avoids the word "detected", which the parser reads as a detection.line_targetshares trailing-filename attribution between the detection and idet branches.ProcessFile.cs, fills its placeholders, and checks thatparse_logreads every count back. So the C# template and the Python regex can't drift silently. The CI integration run can't check this, becauseDocker/test.shruns--logwarning.Refs #1176. It stays open until a promotion carries this to
main.Verification
developimage, perOPERATIONS.md"Test an unreleased build in the image":testsrcat 1280x720, andtestsrc2at 320x240, the balanced repro from Balanced TFF and BFF idet Counts Classify Progressive Video as Interlaced #1176. Both log the counts line, and the balanced clip still logs its Interlaced warning.parse_logover that real log records bothidetentries, with no spurious detection.Multi:label toMultiFrame:fails the new test, and restoring it passes.dotnet buildwith 0 warnings,dotnet testpassed. Python ruff, mypy, and unittest (53 tests) pass, and the prose gate and markdownlint are clean.🤖 Generated with Claude Code