# Convert an MP3 to SRT and VTT subtitles

**Use case:** 

Give it a direct link to an MP3 or another audio file and get timed SRT and WebVTT subtitle files back, plus the plain transcript in the dataset. Cues are kept short (8 words), which works well for video captions. The example file is a public-domain podcast episode, cut to the first 3 minutes so a test run costs next to nothing.

## Input

```json
{
  "mediaUrls": [
    "https://traffic.megaphone.fm/NATIONALAERONAUTICSANDSPACEADMINISTRATION6370129648.mp3"
  ],
  "confirmRights": true,
  "maxEpisodesPerFeed": 1,
  "onlyNewEpisodes": false,
  "transcriptionProvider": "local",
  "language": "en",
  "groqWhisperModel": "whisper-large-v3-turbo",
  "localModel": "base.en",
  "maxAudioMinutesPerEpisode": 3,
  "outputFormats": [
    "srt",
    "vtt"
  ],
  "includeWordTimestamps": true,
  "maxWordsPerCue": 8,
  "maxFileSizeMb": 500
}
```

## Output

```json
{
  "podcastTitle": {
    "label": "Podcast title",
    "format": "string"
  },
  "episodeTitle": {
    "label": "Episode title",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published at (UTC)",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "transcribedSeconds": {
    "label": "Transcribed (s)",
    "format": "number"
  },
  "wordCount": {
    "label": "Words",
    "format": "integer"
  },
  "billedAudioMinutes": {
    "label": "Billed audio minutes",
    "format": "integer"
  },
  "txtUrl": {
    "label": "TXT file",
    "format": "string"
  },
  "srtUrl": {
    "label": "SRT file",
    "format": "string"
  },
  "vttUrl": {
    "label": "VTT file",
    "format": "string"
  },
  "jsonUrl": {
    "label": "JSON file",
    "format": "string"
  },
  "text": {
    "label": "Full text",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Convert an MP3 to SRT and VTT subtitles" task

The Podcast Transcriber: Podcast & Audio to Text, MP3, SRT, VTT Actor will start running based on the input automatically. You can also change all the input fields, like direct audio/video file url(s), i own this audio or am allowed to transcribe it, and more, to match your specific use case.

### 3. Receive the "Convert an MP3 to SRT and VTT subtitles" 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 podcast title, episode title, published at (utc), 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 "Convert an MP3 to SRT and VTT subtitles" task via API](https://apify.com/prime619/podcast-transcriber.md).

## About this Actor

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