# Audio & Video to Text: Transcription in 99 Languages, SRT (`stfgdev/audio-video-transcriber`) Actor

Transcribe audio, video and podcasts to text with timestamps, SRT and VTT subtitles. 99 languages, detected automatically. Runs entirely inside your run: no outside speech API sees your audio. From $0.01 per audio minute; failed files are free.

- **URL**: https://apify.com/stfgdev/audio-video-transcriber.md
- **Developed by:** [STFG](https://apify.com/stfgdev) (community)
- **Categories:** AI, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 audio minutes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 & Video to Text: transcription in 99 languages, with SRT and VTT subtitles

Turn recordings into text with timestamps, plus ready-to-use **SRT** and **VTT** subtitle files. Paste links to audio or video files, or a podcast feed, and get one transcript per recording. The language is detected for each file, and the file goes to the best of three open speech models for that language.

- **Private by design**: speech recognition runs inside your own run. Your audio is **never sent to an outside speech API** (no OpenAI, no cloud speech service), it is deleted when the run ends, and it is not used for training.
- **99 languages, detected automatically**, including English, Spanish, Portuguese, French, German, Hindi, Arabic, Indonesian, Vietnamese, Japanese, Korean, Mandarin and Cantonese.
- **Chinese done properly**: Mandarin in Simplified or Traditional characters, and Cantonese written the way Hong Kong writes it (係, 嘅, 咗), not paraphrased into Mandarin.
- **Podcast feeds**: paste an RSS feed or an Apple Podcasts show link and transcribe the newest episodes.
- **$0.01 per audio minute** for Chinese, Japanese, Korean, English and 24 other European languages. Failed files are not charged.

### Try it

The form is pre-filled with a 45-second English sample. Press **Start** and you get the result below for the price of one audio minute.

### What you get

One result per recording. This is the real output for the sample recording, uncorrected: the reader says "Wuxia", which the tool wrote as "Wuzier", and sentence capitals are sometimes off where the reader pauses mid-sentence.

```json
{
  "status": "ok",
  "language": "en",
  "model": "parakeet-tdt-0.6b-v3",
  "durationSeconds": 45.6,
  "text": "Hong Kong Action Cinema is the principal source of the Hong Kong film industry's global fame. It combines elements from the action movie, as codified by Hollywood, With Chinese storytelling and aesthetic traditions. To create a culturally distinctive form that nevertheless has a wide transcultural appeal. In recent years the flow has reversed somewhat. with American European action films being heavily influenced by Hong Kong genre conventions. The first Hong Kong action films favoured the Wuzier style. Emphasizing mysticism and sword play. But this trend was politically suppressed in the nineteen thirties.",
  "segments": [
    { "start": 0.52, "end": 6.55, "text": "Hong Kong Action Cinema is the principal source of the Hong Kong film industry's global fame." },
    { "start": 7.49, "end": 11.67, "text": "It combines elements from the action movie, as codified by Hollywood," }
  ],
  "srtUrl": "https://api.apify.com/v2/key-value-stores/.../records/transcript-001-xxxxxxxx.srt",
  "chargedMinutes": 1,
  "chargedEvent": "audio-minute"
}
```

The `segments` list is shortened here; the real result has all 9 sentences.

| Field | Meaning |
|---|---|
| `text` | The whole transcript as one string |
| `paragraphs` | The same text broken into paragraphs at pauses, easier to read or paste into a document |
| `segments` | Sentences with start and end time in seconds |
| `srtUrl`, `vttUrl` | Download links for subtitle files |
| `language` | Detected (or chosen) language code, such as `en`, `es`, `hi`, `zh`, `yue` |
| `model` | Which speech model transcribed the file |
| `chargedEvent` | `audio-minute` or `audio-minute-extended` (see Price) |
| `truncated` | `true` when the recording was longer than your minute limit |
| `status`, `error` | `ok`, or `error` with a plain explanation of what went wrong |

### Which model handles which language

| Languages | Model | Price |
|---|---|---|
| English, Spanish, Portuguese, French, German, Italian, Dutch, Polish, Russian, Ukrainian, Swedish, Danish, Finnish, Czech, Slovak, Slovenian, Croatian, Romanian, Hungarian, Bulgarian, Greek, Lithuanian, Latvian, Estonian, Maltese | [Parakeet TDT 0.6B v3](https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3) (NVIDIA): a leading open model for these languages | standard |
| Mandarin, Cantonese, Japanese, Korean | [SenseVoice-Small](https://github.com/FunAudioLLM/SenseVoice) (Alibaba): more accurate than Whisper on Chinese and Cantonese in its published tests | standard |
| All other languages Whisper knows (Hindi, Arabic, Indonesian, Vietnamese, Thai, Turkish, Persian, Tamil, Swahili and about 70 more) | [Whisper small](https://github.com/openai/whisper) (OpenAI, run locally) | extended |

### What you can paste in

| Link type | Example |
|---|---|
| Audio or video file | `https://example.com/interview.mp3`, `.m4a`, `.wav`, `.mp4`, `.mov`, `.webm` and most other formats |
| Podcast RSS feed | `https://example.com/podcast/feed.xml` |
| Apple Podcasts show | `https://podcasts.apple.com/us/podcast/id1234567890` |
| A file you uploaded | The public link of a record in an Apify key-value store |

Links must point at the media file or feed itself. A web page that merely contains a player (a video site, a social post) is not a media file; download the video first with a tool made for that site, then pass the file link here.

### How to use it

1. Paste your links into **Media links or podcast feeds**, one per line.
2. Leave **Spoken language** on Auto-detect.
3. For podcast feeds, set how many of the newest episodes you want.
4. Start the run. Results appear in the **Transcripts** table; export them as JSON, CSV or Excel, or fetch them through the API.

### Price

- **Standard: $0.01 per audio minute** ($0.60 per hour) for English, the 24 other European languages above, Mandarin, Cantonese, Japanese and Korean. A 30-minute interview costs $0.30.
- **Extended: $0.03 per audio minute** ($1.80 per hour) for every other language. These go through Whisper small, which needs several times more computing time per minute and is less accurate; try one file first.

You are charged for each started minute of audio, only after the transcript has been saved; files that fail or contain no speech are free. Set **Maximum minutes per file**, or a maximum charge for the run, and the tool stops within that limit.

### How accurate is it?

Honest expectations, from our own tests:

- **Clear speech** (narration, lectures, news, prepared talks, interviews with one speaker at a time): reads cleanly with occasional wrong words, as in the sample above.
- **Casual conversation** (several people, laughter, slang, people talking over each other): the meaning comes through, but expect errors every few sentences.
- **Extended languages** are less accurate than standard ones, and less common languages much less so. Try one file before a large batch.
- **Names, brands and rare terms** are often misspelled, as in any speech recognition. Check them before publishing.
- There is **no speaker labelling**: the transcript does not say who is speaking. Numbers in English are sometimes written as words.

### Use it from code or an AI agent

Call it through the Apify API, the Python or JavaScript clients, or the Apify MCP server. Input is one list of links; output is one JSON record per recording, so it drops straight into a summarisation, translation or search pipeline.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<username>/audio-video-transcriber").call(run_input={
    "sources": ["https://example.com/meeting.m4a"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["language"], item["text"][:200])
```

### Your recordings and privacy

- The file is downloaded inside your run, transcribed there, and deleted when the run ends.
- Speech recognition runs inside the run itself. Your audio and transcripts are **not sent to any outside service** and are not used for training.
- Transcripts and subtitle files are stored only in your own Apify storage, under your account's retention settings.
- The tool only writes text. It does not identify speakers, and it does not analyse emotion or any other personal trait.
- It needs **limited permissions** only: it cannot read anything else in your Apify account.

You are responsible for having the right to transcribe the recordings you submit.

### Questions

**Can it transcribe a YouTube or TikTok link?** No. It reads media files and podcast feeds, not video-site pages.

**Does it translate?** No, it writes what was said in the language it was said in.

**How long can a recording be?** Up to 10 hours per file (set by Maximum minutes per file) and 3 GB.

**The language was detected wrongly.** Choose it under **Spoken language** and run again; this happens mostly with very short or music-heavy files.

**Something came out wrong?** Open an issue on the Issues tab with the link you used and we will look into it.

### Credits

Speech recognition by [Parakeet TDT 0.6B v3](https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3) (NVIDIA, CC BY 4.0), [SenseVoice-Small](https://github.com/FunAudioLLM/SenseVoice) (FunAudioLLM / Alibaba, FunASR Model Open Source License) and [Whisper](https://github.com/openai/whisper) (OpenAI, MIT), run with [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) (Apache-2.0). Voice activity detection by [Silero VAD](https://github.com/snakers4/silero-vad) (MIT). Chinese script conversion by [OpenCC](https://github.com/BYVoid/OpenCC) (Apache-2.0).

Sample recording: a 45-second excerpt (0:07 to 0:53, with short fades) of [En-Hong Kong action cinema.ogg](https://commons.wikimedia.org/wiki/File:En-Hong_Kong_action_cinema.ogg), a spoken version of the English Wikipedia article "Hong Kong action cinema", read by Panser Born, text by the article's authors, from Wikimedia Commons, licensed [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/). The excerpt and its transcript above are shared under the same licence.

# Actor input Schema

## `sources` (type: `array`):

One link per line. Each link can be a direct audio or video file (mp3, m4a, wav, mp4, mov, webm, ...), a podcast RSS feed, or an Apple Podcasts show link. Files you uploaded to an Apify key-value store work too. The example link is a 45-second English sample.

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

Leave on Auto-detect: the language is identified for each file and the best model for it is used. Choose a language only if detection gets it wrong. Chinese, Japanese, Korean, English and 24 European languages are charged at the standard rate; all other languages at the extended rate (see Pricing).

## `chineseScript` (type: `string`):

For Chinese only. Auto writes Cantonese in Traditional (Hong Kong) characters and Mandarin in Simplified. Choose one to force it for all Chinese output.

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

For podcast feeds: how many of the newest episodes to transcribe.

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

Longer recordings are transcribed up to this length and marked as truncated. You are only charged for the minutes transcribed.

## `subtitleFormats` (type: `array`):

Subtitle files to save for each recording. Links to them are added to the results.

## `includeSegments` (type: `boolean`):

Adds a list of sentences with start and end times to each result.

## Actor input object example

```json
{
  "sources": [
    "https://api.apify.com/v2/key-value-stores/goyEKYd80hg4wVmA3/records/english-sample.mp3"
  ],
  "language": "auto",
  "chineseScript": "auto",
  "maxEpisodesPerFeed": 1,
  "maxMinutesPerFile": 180,
  "subtitleFormats": [
    "srt"
  ],
  "includeSegments": true
}
```

# Actor output Schema

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

One JSON record per recording: full text, paragraphs, timestamped segments, detected language, duration, links to the subtitle files, or an error message for a recording that could not be processed.

## `subtitleFiles` (type: `string`):

SRT and WebVTT subtitle files, one per recording and format requested.

# 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 = {
    "sources": [
        "https://api.apify.com/v2/key-value-stores/goyEKYd80hg4wVmA3/records/english-sample.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("stfgdev/audio-video-transcriber").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 = { "sources": ["https://api.apify.com/v2/key-value-stores/goyEKYd80hg4wVmA3/records/english-sample.mp3"] }

# Run the Actor and wait for it to finish
run = client.actor("stfgdev/audio-video-transcriber").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 '{
  "sources": [
    "https://api.apify.com/v2/key-value-stores/goyEKYd80hg4wVmA3/records/english-sample.mp3"
  ]
}' |
apify call stfgdev/audio-video-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stfgdev/audio-video-transcriber"
        }
    }
}
```

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/1nVmA5KiQA1gxOegK/builds/eYBS6I2kurL99im8m/openapi.json
