Zum Inhalt
HALOWERK

Medienwerk

video black detect

Takes a video of up to 30 minutes and finds, in one pass, segments where the picture is black (blackdetect), where it freezes (freezedetect) and where the sound drops out (silencedetect), each with start, end and duration, using minimum lengths and thresholds you can set. A summary says whether the file passes with no finding longer than the limits. Leading and trailing black is reported separately because it is often intended. Runs locally with ffmpeg; nothing leaves this machine. Billing.

POST https://medien.halowerk.com/v1/video-black-detect

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJa
duration_minutesintegerJa
min_black_secondsnumberNein
min_freeze_secondsnumberNein
min_silence_secondsnumberNein
silence_dbnumberNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    },
    "min_black_seconds": {
      "type": "number",
      "minimum": 0.04,
      "maximum": 10,
      "default": 0.5
    },
    "min_freeze_seconds": {
      "type": "number",
      "minimum": 0.5,
      "maximum": 60,
      "default": 2
    },
    "min_silence_seconds": {
      "type": "number",
      "minimum": 0.2,
      "maximum": 60,
      "default": 2
    },
    "silence_db": {
      "type": "number",
      "minimum": -90,
      "maximum": -20,
      "default": -50
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →