Medienwerk
timestamps shift
Takes SRT or WebVTT subtitles and corrects their timing in one of two ways: either with an offset in seconds and an optional speed factor (new = old × factor + offset, e.g. 25/23.976 for a frame-rate mismatch), or with two anchors — a cue number and the time where it really belongs, for two cues far apart — from which factor and offset are calculated and reported. Cues that would start before zero are clipped to zero and counted. Output in the input format or another one (SRT, WebVTT). Pure.
POST https://medien.halowerk.com/v1/timestamps-shiftEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| subtitles | string | Ja | |
| offset_seconds | number | Nein | |
| factor | number | Nein | |
| anchors | array | Nein | Two cues (1-based number) with the time they should start at. Overrides offset and factor. |
| output_format | string | Nein |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"subtitles"
],
"additionalProperties": false,
"properties": {
"subtitles": {
"type": "string",
"minLength": 10,
"maxLength": 2000000
},
"offset_seconds": {
"type": "number",
"minimum": -36000,
"maximum": 36000,
"default": 0
},
"factor": {
"type": "number",
"minimum": 0.5,
"maximum": 2,
"default": 1
},
"anchors": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"description": "Two cues (1-based number) with the time they should start at. Overrides offset and factor.",
"items": {
"type": "object",
"required": [
"cue",
"correct_start_seconds"
],
"additionalProperties": false,
"properties": {
"cue": {
"type": "integer",
"minimum": 1
},
"correct_start_seconds": {
"type": "number",
"minimum": 0
}
}
}
},
"output_format": {
"type": "string",
"enum": [
"srt",
"vtt"
]
}
}
}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
- Medienwerk0,03 USDC · variabel
ad detect
POSThttps://medien.halowerk.com/v1/ad-detectTakes a podcast episode of up to 120 minutes and returns its advertising segments: paid sponsor reads, self-promotion (newsletter, Patreon, merchandise) and cross-promotion of other shows, each with start and end on sentence boundaries, the
- Medienwerk0,004 USDC · variabel
audio concat
POSThttps://medien.halowerk.com/v1/audio-concatTakes 2 to 10 audio or video files (each up to 24 MB, together up to 60 minutes) and joins their audio in the given order. Between parts either a pause of chosen length or a crossfade is placed; optionally every part is brought to a common
- Medienwerk0,002 USDC · variabel
audio convert
POSThttps://medien.halowerk.com/v1/audio-convertTakes an audio or video file and returns the audio in the requested format — MP3, Opus, Ogg Vorbis, AAC in M4A, WAV or FLAC — with selectable bitrate for lossy formats, sample rate and mono or stereo. Only the first audio stream is converte