reprostim video-audit

Utility to to analyze video files recorded by reprostim-videocapture, along with their corresponding log files and QR/audio metadata.It extracts key information about each recording and produces a summary table (videos.tsv) .

Usage

reprostim video-audit [OPTIONS] [PATHS]...

Options

-m, --mode <mode>

Specifies operation mode:.

  • [full] : regenerate everything from scratch,

  • [incremental] : process only new files and merge into existing dataset,

  • [force] : redo/update existing records,

  • [rerun-for-na]process only records with N/A values in related fields

    for external tools like ‘nosignal’ or ‘qr’ etc

  • [reset-to-na]set to N/A values in related fields

    for external tools like ‘nosignal’ or ‘qr’ etc

Default:

'incremental'

Options:

full | incremental | force | rerun-for-na | reset-to-na

-o, --output <output>

Output TSV file to store the video audit summary. Default is ‘videos.tsv’ in the current directory.

Default:

'videos.tsv'

-r, --recursive

Recursively scan subdirectories for video files.

-s, --audit-src <audit_src>
Specify audit sources: ‘internal’ for internal checks,

tool names (e.g., ‘qr’), or ‘all’ to run all:

  • [internal] : for internal basic and fast checks,

  • [qr] : for QR code based analysis and generating qrinfo files, very slow.

  • [nosignal] : to detect no-signal segments in the video in percents, slow.

  • [all] : run all available audits.

    Can be used multiple times: -s internal -s qr. Default is ‘internal’.

Default:

'internal'

Options:

internal | qr | nosignal | all

-l, --max-files <max_files>

Maximum number of video files/records to process. Use -1 for unlimited.

Default:

-1

-p, --path-mask <path_mask>

Optional path mask to filter video files based on their paths. Syntax is the same as used in Python’s fnmatch module.

-v, --verbose

Enable verbose output with JSON records.

-n, --nosignal-opts <nosignal_opts>

Override default options passed to detect-noscreen tool. Provide as a quoted string, e.g. ‘–number-of-checks 200 –threshold 0.9’. If omitted, built-in defaults are used.

-q, --qr-opts <qr_opts>

Additional options to pass to qr-parse tool. Provide as a quoted string, e.g. ‘–some-flag value’. If omitted, no extra options are passed.

-c, --config <config_path>

Optional YAML config file providing defaults for any option not explicitly set on the CLI. CLI flags always take precedence.

Arguments

PATHS

Optional argument(s)