reprostim detect-noscreen

Utility to determine no-signal rainbow frames in *.mkv videos recorded by reprostim-videocapture tool.

Usage

reprostim detect-noscreen [OPTIONS] PATH

Options

-o, --output <output>

Specify output file to save results in JSON format. If not set, results are printed to standard output. Default is None.

--step <step>

Specify the step for processing frames, default is 1 frame.

--number-of-checks <number_of_checks>

Specify the number of checks across entire video frames. When set to 0, all frames are checked.

--show-progress <show_progress>

Specify the interval for showing progress, default is 1.0 seconds. When set to 0 or less, progress is not shown.

--truncated <truncated>
Specify behavior on truncated video detection. Default is exit2:

exit2 - exit with error code 2, default value.

fixup - use ffmpeg to fix the video by copying it into a temporary location with command:

ffmpeg -i {video_file} -an -c copy {video_fixed}

check5 - check for nosignal first 5 frames only in truncated video.

Note: to check if video is truncated, use command:

mediainfo -i <video_file> | grep "IsTruncated"

Options:

exit2 | fixup | check5

--invalid-timing <invalid_timing>
Specify behavior on video with invalid duration:

exit3 - exit with error code 3, default value.

fixup - use ffmpeg to fix the video by copying it into a temporary location with command:

ffmpeg -i {video_file} -an -c copy {video_fixed}

check5 - check for nosignal first 5 frames only in truncated video.

Options:

exit3 | fixup | check5

--threshold <threshold>

Specify the threshold for nosignal frames, default is 0.01 which means 1% of the totally checked frames.

Arguments

PATH

Required argument