Actions21
- Editing & Transcode Actions
- Muxing & Concatenate Actions
- Generation Actions
- Analyze Actions
- Audio FX Actions
- Video FX Actions
- Create Actions
Analyze → Detect Black Frames
AI-generatedSummary
Detects black frames in a given video file based on specified duration and threshold parameters.
Inputs
- ffmpegPath — Path to the FFmpeg binary (default is 'ffmpeg').
- ffprobePath — Path to the FFprobe binary (default is 'ffprobe').
- anInput (required) — Path to the input video file to analyze.
- blackMinDur — Minimum duration (in seconds) for frames to be considered black (default is 0.1).
- blackPicTh — Threshold for percentage of black pixel coverage (0-1, default is 0.98).
Output shape
a list of intervals indicating the start and end times of detected black frames
Returns intervals in the format of start and end timestamps along with their duration.
Examples
Example 1: Detect black frames in a video for content quality assessment, specifying the input video path and desired thresholds.
Set the blackMinDur to 0.5 and blackPicTh to 0.95 to filter out trivial black frames.