videobeaux

Logo

The friendly multilateral video toolkit built for artists by artists.

View the Project on GitHub schwwaaa/videobeaux

meta_extraction

Description

Extracts detailed metadata—such as codecs, bitrates, dimensions, color information, loudness, black-frame metrics, and stream structure—from any media file.

Purpose

meta_extraction is designed to provide deep insight into media characteristics for:

It can scan frames, detect black segments, analyze loudness, and output structured metadata for additional tools.

How It Works

  1. Stream Inspection
    Reads the container and stream-level metadata (codec, resolution, color space, duration, bitrates, etc.).
  2. Frame Sampling
    • sample_frames sets how many frames to analyze.
    • sample_stride controls spacing between sampled frames.
    • sample_limit prevents excessive scanning on long videos.
  3. Black Frame Detection
    If enabled, black detection evaluates frames for luminance thresholds.
    • black_pic_th tunes sensitivity.
    • black_dur_min sets minimum black duration to report.
    • blackdetect toggles the feature.
  4. Loudness Analysis
    When enabled, checks LU, LRA, and peak values for broadcast loudness compliance.
  5. Output
    Metadata is written to a structured file (JSON or text depending on implementation).

Program Template

videobeaux -P meta_extraction \
  -i input.mp4 \
  -o output.mp4 \
  --outputfile VALUE \
  --sample_frames VALUE \
  --sample_stride VALUE \
  --sample_limit VALUE \
  --blackdetect VALUE \
  --black_pic_th VALUE \
  --black_dur_min VALUE \
  --loudness VALUE

Arguments

Real World Example

videobeaux -P meta_extraction \
  -i myvideo.mp4 \
  -o meta_extraction_styled.mp4 \
  --outputfile EXAMPLE \
  --sample_frames EXAMPLE \
  --sample_stride EXAMPLE \
  --sample_limit EXAMPLE \
  --blackdetect EXAMPLE \
  --black_pic_th EXAMPLE \
  --black_dur_min EXAMPLE \
  --loudness EXAMPLE

Technical Notes

Quality Tips