# Audio File & Podcast Feed Transcriber: Text, SRT, VTT (`skillmerc/media-to-text`) Actor

Turn direct audio or video file links and podcast RSS episodes into text, timed segments, SRT and VTT. Runs the open-source Whisper model with whisper.cpp inside the actor: no API key, no third-party service. Pay per minute of audio transcribed.

- **URL**: https://apify.com/skillmerc/media-to-text.md
- **Developed by:** [SKILLMERC](https://apify.com/skillmerc) (community)
- **Categories:** AI, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 audio minute transcribeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Audio File & Podcast Feed Transcriber: Text, SRT, VTT

For anyone who has a direct link to an audio or video file, or a podcast RSS feed, and needs the words as text: this actor downloads each file, transcribes the speech, and gives you plain text, timed segments, SRT and VTT subtitles, one row per file.

It runs the open-source Whisper speech model (MIT licence) through whisper.cpp inside the actor. No API key, no account anywhere else, and the audio is not sent to any third-party service.

### What it does

- **Media file links**: mp3, m4a, aac, wav, ogg, opus, flac, mp4, webm, mov, or any link that answers with an audio or video content type.
- **Podcast RSS feeds**: reads the feed, takes the newest episodes (you choose how many) and transcribes their audio files.
- **Language**: detected from the first 30 seconds, or set by you.
- **Outputs**: plain text always; timed segments, SRT and VTT if you ask.
- **Pay only for audio transcribed**: failed files, refused links and files over your length limit cost nothing.

It does **not** download from YouTube, TikTok, Instagram, Facebook, X, Spotify, Vimeo, SoundCloud or any other page that needs a downloader. Those links are skipped with the reason `page_not_file`. For YouTube captions, use our "YouTube Transcript" actor.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `mediaUrls` | list of links | one 2 minute LibriVox recording | Direct audio or video file links. |
| `podcastFeedUrls` | list of links | none | RSS feeds. Their episode files (enclosures) are transcribed. |
| `maxEpisodesPerFeed` | integer, 1 to 100 | 3 | Newest episodes taken from each feed. |
| `language` | text | `auto` | `auto`, or a 2 letter ISO code such as `en`, `de`, `es`, `fr`, `pt`, `af`. |
| `model` | `base` or `tiny` | `base` | `base` is more accurate. `tiny` is faster with more wrong words. |
| `outputFormats` | list | segments, srt, vtt | Extra formats. Plain text is always included. |
| `maxMinutesPerFile` | integer, 1 to 180 | 60 | Longer files are skipped as `too_long`, free. |
| `maxFileSizeMb` | integer, 1 to 1,000 | 300 | Larger downloads are stopped and skipped as `too_large`, free. |

The default input is "Annabel Lee" by Edgar Allan Poe, read for LibriVox (Short Poetry Collection 002). LibriVox recordings are in the public domain.

Example:

```json
{
  "mediaUrls": ["https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3"],
  "podcastFeedUrls": ["https://www.nasa.gov/feeds/podcasts/small-steps-giant-leaps"],
  "maxEpisodesPerFeed": 1,
  "language": "auto",
  "model": "base",
  "outputFormats": ["segments", "srt", "vtt"]
}
```

### Output

One row per transcribed file in the default dataset.

| Field | What it is |
|---|---|
| `sourceUrl` | The file link. |
| `feedUrl`, `episodeTitle`, `episodePublishedAt` | Only for feed episodes. `episodePublishedAt` is null when the feed gives no date. |
| `fileName` | Last part of the link. |
| `contentType` | What the server said the file is. |
| `durationSeconds` | Audio length. |
| `minutesCharged` | Started minutes of audio billed for this file. |
| `language` | Detected language, or the one you set. |
| `model` | `base` or `tiny`. |
| `text` | The whole transcript as one text. |
| `segments` | `[{ start, end, text }]`, times in seconds (if asked). |
| `srt`, `vtt` | Subtitles (if asked). |
| `srtUrl`, `vttUrl`, `segmentsUrl` | Only for very long transcripts: when a row would pass about 8 MB, these move to the run's key-value store and the row links to them. |
| `wordCount` | Words in `text`. |
| `processingSeconds` | Time spent decoding and transcribing. |
| `transcribedAt` | When the row was made. |

Sample row from a real run (text cut):

```json
{
  "sourceUrl": "https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3",
  "fileName": "annabel_lee_eap_jc_64kb.mp3",
  "contentType": "audio/mpeg",
  "durationSeconds": 121.2,
  "minutesCharged": 3,
  "language": "en",
  "model": "base",
  "text": "Annabelle Lee, by Edgar Allan Poe, a public domain recording for LibroRox.org, read by Jim Cadwell. It was many and many a year ago in a kingdom by the sea ...",
  "wordCount": 319
}
```

The run's `OUTPUT` record in the key-value store has a summary: files queued, transcribed, minutes charged, and every failure with its reason. Failures also go to the named dataset `media-to-text-failed` in your account, free.

### Price

Pay per event:

| Event | Free plan | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Audio minute transcribed | USD 0.010 | USD 0.010 | USD 0.0095 | USD 0.009 |
| Actor start (per GB of memory, 2 at the default 2 GB) | USD 0.00005 | USD 0.00005 | USD 0.00005 | USD 0.00005 |

So a 10 minute file costs USD 0.10 and a 60 minute file USD 0.60 on the Free plan and Bronze; on Gold and above they cost USD 0.09 and USD 0.54. Add USD 0.0001 a run for the start at the default 2 GB memory.

You pay for **started minutes of audio actually transcribed**: a 2 minute 1 second file is 3 minutes. Nothing is charged for a file that fails, is refused, is too long or too large, or has no speech. Rows in the dataset are not charged on top.

The actor respects your maximum cost per run: before each file it checks the minutes still fit, and if not it stops with a warning in the log and in `OUTPUT`.

### Accuracy and speed

Measured on Apify at the default 2,048 MB memory unless noted, on public domain recordings, 20 Nov 2026:

| Model | File | Audio | Processing time | Speed |
|---|---|---|---|---|
| `base` | "Annabel Lee" (default input) | 2 min 1 s | 95 s | about 1.3x faster than real time |
| `base` | "The Love Song of J. Alfred Prufrock" | 11 min 24 s | 561 s | about 1.2x faster than real time |
| `base` (4,096 MB) | same Prufrock file | 11 min 24 s | 300 s | about 2.3x faster than real time |
| `tiny` | NASA podcast "Small Steps, Giant Leaps", episode "Supercomputing" (US government work) | 17 min 11 s | 410 s | about 2.5x faster than real time |

Speed depends on the CPU Apify gives the run, which grows with memory. More memory makes a run finish sooner but does not lower the price, which is per audio minute. A 60 minute file at the default memory takes about 50 minutes, so raise the run timeout for long files or batches.

`tiny` is the faster option, with more wrong words; on the NASA episode it got the topic and most sentences right but misspelled a speaker's name.

Notes from our own runs:

- On clear read speech in English, `base` gets most words right: about 19 words in 20 on the default file. It misspells names it does not know (it wrote "LibroRox" for LibriVox and "Annabelle" for Annabel) and can garble a line of old or unusual wording: "that a maiden there lived whom you may know" came out as "that amade in their lay of Tumia Maynow". `tiny` got that line right on the same file but slipped on other words. Check names and key passages before you publish a transcript.
- There is no speaker labelling (diarization) and no punctuation model beyond what Whisper writes.
- Music without speech gives `no_speech`. Background music under speech lowers accuracy.
- Language detection uses the first 30 seconds. If a file starts with music or another language, set `language`.

### Limits

- Direct file links and RSS feeds only. No platform downloads, no login, no cookies, no DRM, no proxies.
- Up to 180 minutes per file (default limit 60) and 1,000 MB per file (default 300).
- Files are done one after another. A run stops at its timeout (default 1 hour); raise the timeout for long batches.
- The file is deleted from the actor's disk as soon as it is transcribed. Nothing is kept after the run except your dataset rows.

### Is it legal?

You must have the right to transcribe each file you give the actor: your own recordings, public domain or openly licensed audio, or audio you have permission to process. Recorded speech can be personal data under the GDPR, POPIA and similar laws; if it is, you need a lawful basis to process it. The actor keeps no copy of the media. This actor is not made, endorsed or sponsored by OpenAI or by any podcast or hosting platform.

### Troubleshooting

| Reason | What it means | What to do |
|---|---|---|
| `page_not_file` | The link is a web page (YouTube, TikTok, Spotify, a blog post...), not a file. | Give the direct file link (it usually ends in .mp3 or .mp4). |
| `not_found` | The server answered with an error (404, 403...) or could not be reached. | Open the link in a private browser window; it must download without logging in. |
| `too_large` | The file is over `maxFileSizeMb`. | Raise the limit (up to 1,000). |
| `too_long` | The audio is over `maxMinutesPerFile`. Not charged. | Raise the limit (up to 180). |
| `unsupported_format` | Not audio or video, a feed in the file list, or a file with no audio track. | Put feeds in `podcastFeedUrls`; check the file plays. |
| `decode_error` | The file is damaged or in a format ffmpeg cannot read. | Try another copy of the file. |
| `no_speech` | No speech was found. Not charged. | Check the file has speech; set `language` if it is not detected. |

### Credits

Speech recognition by whisper.cpp (MIT) with the Whisper `base` and `tiny` models (MIT). Audio decoding by FFmpeg.

# Actor input Schema

## `mediaUrls` (type: `array`):

Direct links to audio or video files (mp3, m4a, aac, wav, ogg, opus, flac, mp4, webm, mov). Page links from YouTube, TikTok, Instagram, Facebook, X or Spotify are refused. You must have the right to transcribe each file.

## `podcastFeedUrls` (type: `array`):

RSS feed links. The actor reads each feed's episode files (enclosures), newest first.

## `maxEpisodesPerFeed` (type: `integer`):

How many of the newest episodes to transcribe from each feed.

## `language` (type: `string`):

"auto" detects the spoken language from the first 30 seconds. Or give a 2 letter ISO code such as en, de, es, fr, pt or af to skip detection.

## `model` (type: `string`):

base: better accuracy, the default. tiny: about twice as fast, more wrong words. Both are open-source Whisper models run by whisper.cpp inside the actor.

## `outputFormats` (type: `array`):

Plain text is always included. Add timed segments (start and end seconds), SRT and VTT subtitles.

## `maxMinutesPerFile` (type: `integer`):

Longer files are skipped as too_long and cost nothing. Hard cap 180.

## `maxFileSizeMb` (type: `integer`):

Larger downloads are stopped and skipped as too_large.

## Actor input object example

```json
{
  "mediaUrls": [
    "https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3"
  ],
  "maxEpisodesPerFeed": 3,
  "language": "auto",
  "model": "base",
  "outputFormats": [
    "segments",
    "srt",
    "vtt"
  ],
  "maxMinutesPerFile": 60,
  "maxFileSizeMb": 300
}
```

# Actor output Schema

## `transcripts` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mediaUrls": [
        "https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("skillmerc/media-to-text").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "mediaUrls": ["https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3"] }

# Run the Actor and wait for it to finish
run = client.actor("skillmerc/media-to-text").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mediaUrls": [
    "https://archive.org/download/shortpoetry_002_librivox/annabel_lee_eap_jc_64kb.mp3"
  ]
}' |
apify call skillmerc/media-to-text --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,skillmerc/media-to-text"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/br3yuHQOJet1ABkUd/builds/sDoqMPb945gYzSed9/openapi.json
