Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:0xsline OpenChatCut Export Quality Assurance

From Leeroopedia
Knowledge Sources
Domains Quality_Assurance, Video_Export, Media_Analysis
Last Updated 2026-10-22 14:00 GMT

Overview

Analysis principle that inspects a rendered export for black frames, frozen video, silence, and volume issues using FFmpeg filters, then generates visual evidence of cut points for quality verification.

Description

Export Quality Assurance runs after rendering to detect common export defects:

  • Black frames: `blackdetect` filter finds frames where the luminance drops below a threshold for a minimum duration.
  • Frozen video: `freezedetect` filter finds frames where pixel content stops changing.
  • Silence: `silencedetect` filter finds audio segments below a noise threshold.
  • Volume: `volumedetect` measures peak and mean audio volume.
  • Cut evidence: Generates a contact-sheet JPEG of frames at expected cut points for visual verification.

The analysis is structured as a report with quality risks, severity levels, and binary evidence images, allowing both programmatic and human review.

Usage

Use this principle when:

  • Validating that a rendered export has no black/blank sections.
  • Detecting frozen frames from encoding failures.
  • Checking audio levels for silence or clipping.
  • Generating visual evidence for human QA review.

Theoretical Basis

The analysis pipeline:

  1. Probe: Use `ffprobe` to verify the file has video/audio streams and read duration.
  2. Video analysis: Run `ffmpeg` with `blackdetect` and `freezedetect` filters.
  3. Audio analysis: Run `ffmpeg` with `silencedetect` and `volumedetect` filters.
  4. Parse logs: Extract structured findings from FFmpeg stderr output.
  5. Assess: Combine findings into a quality report with severity levels.
  6. Evidence: Generate a tiled contact-sheet JPEG of frames at cut points.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment