# MP3 to SRT Subtitles with Whisper

**Use case:** 

Transcribes a 5-minute public-domain LibriVox MP3 and writes SRT and VTT subtitle files, with cues cut at sentence breaks and at most 42 characters per line and 2 lines per cue.

## Input

```json
{
  "mediaUrls": [
    "https://archive.org/download/stories_006_librivox/my_financial_career_leacock_dr_64kb.mp3"
  ],
  "maxEpisodesPerFeed": 1,
  "episodeTitleFilter": "interview|Q&A",
  "episodesPublishedAfter": "30 days",
  "model": "base",
  "language": "auto",
  "task": "transcribe",
  "wordTimestamps": false,
  "initialPrompt": "Kubernetes, Grafana, Dr. Nkemelu",
  "vadFilter": true,
  "subtitleMaxLineLength": 42,
  "subtitleMaxLines": 2,
  "maxFileSizeMb": 2000,
  "downloadTimeoutSecs": 900
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "podcast_title": {
    "label": "Podcast",
    "format": "string"
  },
  "duration_secs": {
    "label": "Length (s)",
    "format": "number"
  },
  "billed_minutes": {
    "label": "Billed min",
    "format": "integer"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "model": {
    "label": "Model",
    "format": "string"
  },
  "word_count": {
    "label": "Words",
    "format": "integer"
  },
  "srt_url": {
    "label": "SRT",
    "format": "string"
  },
  "vtt_url": {
    "label": "VTT",
    "format": "string"
  },
  "text_url": {
    "label": "TXT",
    "format": "string"
  },
  "json_url": {
    "label": "JSON",
    "format": "string"
  },
  "processing_secs": {
    "label": "Time (s)",
    "format": "number"
  },
  "speed_x": {
    "label": "Speed (x realtime)",
    "format": "number"
  },
  "source_url": {
    "label": "Source",
    "format": "string"
  },
  "errors": {
    "label": "Errors",
    "format": "array"
  }
}
```

## How it works

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

The Audio & Video Transcription (Whisper): Podcast, MP3 to SRT Actor is ready to run with the inputs already set for "MP3 to SRT Subtitles with Whisper". [Sign up or log in](https://console.apify.com/create-task-from-example/jau555P7veM3jYOQX) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "MP3 to SRT Subtitles with Whisper" task

The Audio & Video Transcription (Whisper): Podcast, MP3 to SRT Actor will start running based on the input automatically. You can also change all the input fields, like media urls or podcast feeds, episodes per feed, and more, to match your specific use case.

### 3. Receive the "MP3 to SRT Subtitles with Whisper" 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 status, title, podcast, 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 "MP3 to SRT Subtitles with Whisper" task via API](https://apify.com/tidewell/media-transcriber.md).

## FAQ

### How much does this example cost?

The file is 5 min 23 s, billed as 6 started minutes with base at $0.004 each, plus $0.002 to start at 4 GB: about $0.026.

### Where is the SRT file?

The srt_url column links to it in the run's key-value store. vtt_url, text_url and json_url give the same transcript as VTT, plain text and JSON.

### How are subtitle cues timed?

From word timestamps. Cues break at sentence and clause ends where possible. subtitleMaxLineLength and subtitleMaxLines set the layout.

### Which Whisper model should I use?

base is fast and fine for clear English. small is clearly better on names, accents and other languages. medium and large-v3-turbo are the most accurate and the slowest.

### Can I transcribe my own files?

Yes. Paste direct audio or video links, podcast RSS feeds, Apple Podcasts links or Google Drive and Dropbox share links, or upload files. YouTube, Spotify and other platform pages are not supported.

## About this Actor

This example demonstrates how to use [Audio & Video Transcription (Whisper): Podcast, MP3 to SRT](https://apify.com/tidewell/media-transcriber.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/tidewell/media-transcriber.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/tidewell/media-transcriber.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`).
