# German subtitle generator (SRT and VTT)

**Use case:** 

Generate German SRT and VTT subtitles from video or audio files. Each file gets subtitle files with timestamps plus the full transcript. Paste direct links to mp4, webm, mp3 and other files. The example input is a short public-domain LibriVox reading.

## Input

```json
{
  "audioUrls": [
    "https://archive.org/download/sammlung_deutscher_gedichte_018_1506_librivox/deutschegedichte018_03_wunder_hn_64kb.mp3"
  ],
  "language": "de",
  "diarization": false,
  "subtitles": true
}
```

## Output

```json
{
  "source": {
    "label": "Source",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "number"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "numSpeakers": {
    "label": "Speakers",
    "format": "number"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "srtUrl": {
    "label": "SRT",
    "format": "link"
  },
  "vttUrl": {
    "label": "VTT",
    "format": "link"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The German Audio Transcription with Speaker Diarization Actor is ready to run with the inputs already set for "German subtitle generator (SRT and VTT)". [Sign up or log in](https://console.apify.com/create-task-from-example/PK0hym6OVEyIH18nh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "German subtitle generator (SRT and VTT)" task

The German Audio Transcription with Speaker Diarization Actor will start running based on the input automatically. You can also change all the input fields, like audio or video urls, language (fallback), and more, to match your specific use case.

### 3. Receive the "German subtitle generator (SRT and VTT)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, status, duration (s), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "German subtitle generator (SRT and VTT)" task via API](https://apify.com/smoxy/german-transcription-diarization.md).

## FAQ

### Can I get SRT or VTT subtitles?

Yes. Every file gets SRT and VTT subtitles with timestamps, saved in the run's key-value store and linked in the srtUrl and vttUrl columns of the dataset.

### Which audio and video formats are supported?

mp3, wav, m4a, ogg, opus, flac, mp4, webm and most other audio or video formats, up to 4 hours and 2 GB per file and 20 files per run.

### Can I transcribe YouTube or social media videos?

Not directly: the input must be a direct link to an audio or video file, or an uploaded file. Download the file first, then paste its link or upload it.

## About this Actor

This example demonstrates how to use [German Audio Transcription with Speaker Diarization](https://apify.com/smoxy/german-transcription-diarization.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/smoxy/german-transcription-diarization.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/smoxy/german-transcription-diarization.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
