Zum Inhalt
HALOWERK

Medienwerk

video subtitle mux

Takes a video (up to 24 MB) and one to five SRT or WebVTT subtitle texts with language codes, and returns the video with each as a separate, switchable subtitle track tagged with its language, the first marked default. Picture and sound are copied, not re-encoded, so quality is unchanged and it is fast. MP4 uses mov_text (plays in QuickTime, browsers with players, most phones); MKV uses SRT tracks (VLC, mpv, Plex). Unlike /v1/burn-subtitles nothing is drawn into the picture. Runs locally.

POST https://medien.halowerk.com/v1/video-subtitle-mux

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJa
subtitlesarrayJa
containerstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "subtitles"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048
        },
        "content_base64": {
          "type": "string",
          "maxLength": 11000000
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "subtitles": {
      "type": "array",
      "minItems": 1,
      "maxItems": 5,
      "items": {
        "type": "object",
        "required": [
          "text",
          "language"
        ],
        "additionalProperties": false,
        "properties": {
          "text": {
            "type": "string",
            "minLength": 10,
            "maxLength": 400000
          },
          "language": {
            "type": "string",
            "enum": [
              "de",
              "en",
              "fr",
              "es",
              "it",
              "nl",
              "pt",
              "pl",
              "tr",
              "sv",
              "da",
              "cs",
              "ru",
              "uk",
              "ja",
              "zh",
              "ko",
              "ar"
            ]
          },
          "title": {
            "type": "string",
            "maxLength": 60
          }
        }
      }
    },
    "container": {
      "type": "string",
      "enum": [
        "mp4",
        "mkv"
      ],
      "default": "mp4"
    }
  }
}

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 →