Skip to content

Detect interlaced sources from frame flags#41

Merged
bjay-wk merged 1 commit into
mainfrom
codex/interlace-frame-detection
May 27, 2026
Merged

Detect interlaced sources from frame flags#41
bjay-wk merged 1 commit into
mainfrom
codex/interlace-frame-detection

Conversation

@bjay-wk

@bjay-wk bjay-wk commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Update local encoding interlace detection to check stream field_order first and fall back to sampled frame-level interlaced_frame flags.
  • Keep existing downscale behavior: when input is detected as interlaced, CLI applies bwdif=0:-1:0 before scaling.
  • Add unit coverage for field_order, frame-flag fallback, and progressive metadata.

Validation

  • cargo test media::transcode::tests
  • Sample MXF reports field_order=tt, so the CLI classifies it as interlaced and applies bwdif during local downscale.

@bjay-wk bjay-wk marked this pull request as ready for review May 27, 2026 15:55
@bjay-wk bjay-wk changed the title [codex] Detect interlaced sources from frame flags Detect interlaced sources from frame flags May 27, 2026
@bjay-wk bjay-wk merged commit 9ece373 into main May 27, 2026
1 check passed
@bjay-wk bjay-wk deleted the codex/interlace-frame-detection branch May 27, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant