# Video to Text Transcriber: MP4, MOV & WebM File URLs (`blitzdata/video-to-text-transcriber`) Actor

Turn video files into text from their URL. MP4, MOV and WebM links in, transcript with timed segments and SRT or WebVTT subtitles out. The audio track is pulled out for you and silence is not billed. $0.006 per audio minute, no charge for failed links.

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

## Pricing

from $6.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

## Video to Text Transcriber

Paste links to video files and get the speech back as text. This Actor handles **MP4, MOV and WebM files** and other common video containers: it takes the audio track out of the video, leaves silent stretches out before they are counted, and returns a transcript with timed segments plus ready-made **SRT and WebVTT subtitles**.

It is meant for files you or your team host yourselves: a screen recording on a CDN, a training video in cloud storage, a clip exported from an editor. You do not convert anything first; the video link goes in as it is.

### What you get

- **Video straight in**: give the link to the .mp4, .mov or .webm, the audio is extracted on our side
- **Silence costs nothing**: parts without speech are cut before billing, and a video with no speech at all is free
- **Subtitles in every row**: SRT and WebVTT text, cut into cues of at most two lines of 42 characters and seven seconds
- **Batches**: many links per run, each its own row; one broken link does not stop the rest
- **Optional extras**: speaker labels, key terms for names and jargon, a language code when you know it

### How to use Video to Text Transcriber

1. Open [Video to Text Transcriber](https://apify.com/blitzdata/video-to-text-transcriber) on Apify and click **Try for free**.
2. Fill in **Video file URLs**.
3. Adjust the optional settings you need: **Language**, **Label the speakers**, **Key terms**, **Output formats**, **Max audio length (seconds)**.
4. Click **Start**. One dataset row per item appears while the run progresses.
5. Export the dataset as JSON, CSV or Excel, or read it through the API, the Python or JavaScript client, or the MCP server (see the **API** tab).

The same input works as a JSON body through the API:

```json
{
  "urls": [
    "https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4"
  ]
}
```

### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `urls` | array | — | Direct links to video files (mp4, mov, webm, ogv and similar), one per line. A link must open the file itself, not a viewer page. Every link gives one dataset row; a link that fails gives an error row and is not charged. (required) |
| `language` | string | `"auto"` | ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'. |
| `diarize` | boolean | `false` | Work out who speaks when and label every segment, subtitle line and word with Speaker 1, Speaker 2 and so on. Useful for interviews, podcasts and panels. No extra charge. |
| `keyterms` | array | — | Names, brands and jargon the speech model should get right, one per line (for example a product name). Up to 100 terms; each helps recognition of that exact word. Billed as an add-on: $0.003 per audio minute on runs that use it. |
| `output_formats` | array | — | Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows. |
| `max_duration_seconds` | integer | `7200` | Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged. |

### Output

One dataset row per item. A failed item gets a row with `error` set and is not charged; the rest of the run continues.

A public-domain NASA interview clip (mission scientist Sarah Jones on the GOLD mission) served as an .mp4 video file, shortened:

```json
{
  "url": "https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4",
  "platform": "File",
  "video_id": "nasa-gold-sarah-jones",
  "title": "nasa-gold-sarah-jones.mp4",
  "text": "Gold measures the upper atmosphere, which is directly affected by the sun and what we call space weather. …",
  "language": "en",
  "language_source": "detected",
  "language_confidence": 0.9992513,
  "transcript_source": "asr",
  "engine": "deepgram",
  "model": "nova-3",
  "duration_seconds": 69.381,
  "speech": true,
  "speech_seconds": 51.904,
  "trimmed_seconds": 54.304,
  "segments": [
    {
      "start": 7.812,
      "end": 12.612,
      "text": "Gold measures the upper atmosphere, which is directly affected by the sun and what"
    }
  ],
  "srt": "1\n00:00:07,812 --> 00:00:12,612\nGold measures the upper atmosphere, which\nis directly affected by the sun and what\n\n…",
  "vtt": "WEBVTT\n\n…",
  "billed_unit": "audio-minute",
  "billed_quantity": 1,
  "billed_audio_minutes": 1,
  "error_code": null,
  "error": null
}
```

### Pricing

| Event | Price | Charged when |
|---|---|---|
| Audio minute | $0.006 | Each started minute of audio that contains speech, counted per file. Files without speech and failed links are free. |
| Add-on minute | $0.003 | Each billed audio minute of a run that uses key terms or redaction, on top of the audio minute. Runs without them never pay it. |

A 10-minute video with 8 minutes of speech costs about $0.05. Key terms add $0.003 per billed audio minute, only on runs that use them; everything else stays $0.006.

### Use cases

- **Training and onboarding videos**: get searchable text for a library of recorded sessions
- **Screen recordings and demos**: turn a walkthrough into the first draft of its documentation
- **Video archives**: index what was said in old recordings so they can be found by phrase
- **Captions for an edit**: download SRT for a cut that has no subtitles yet

### FAQ

**Which video formats work?**
Anything the audio extractor can open, which in practice means MP4, MOV, WebM, OGV and the other common containers. If a file fails you get an error row that names the reason, and you are not charged.

**Can I upload a file from my computer?**
The input is a list of links. Put the file somewhere that serves it over HTTP (cloud storage, a CDN, a public key-value store record) and paste that link.

**How long may a video be?**
Two hours by default, and four hours is the most one file can be; a longer file is refused for free. Lower 'Max audio length' to accept less. The cost grows linearly with the length of the speech.

**Does it read the on-screen text or describe the video?**
No. Only the spoken audio is transcribed.

### Is it legal?

This Actor reads publicly available media and turns speech into text. It does not bypass logins and does not access private content. The audio is deleted from our side after transcription and is not used by us for training. Speech recognition is done by Deepgram, a sub-processor: the audio is sent to Deepgram's API for processing under Deepgram's terms, with the Model Improvement Program opt-out set on every request, so Deepgram does not keep it for model training. You are responsible for using the output in line with the platforms' terms, copyright and the privacy law that applies to you, in particular when transcripts contain personal data.

### Support

Something wrong, a platform that stopped working, a field you need? Open an issue on the **Issues** tab of this Actor and it will be looked at.

# Actor input Schema

## `urls` (type: `array`):

Direct links to video files (mp4, mov, webm, ogv and similar), one per line. A link must open the file itself, not a viewer page. Every link gives one dataset row; a link that fails gives an error row and is not charged.

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

ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'.

## `diarize` (type: `boolean`):

Work out who speaks when and label every segment, subtitle line and word with Speaker 1, Speaker 2 and so on. Useful for interviews, podcasts and panels. No extra charge.

## `keyterms` (type: `array`):

Names, brands and jargon the speech model should get right, one per line (for example a product name). Up to 100 terms; each helps recognition of that exact word. Billed as an add-on: $0.003 per audio minute on runs that use it.

## `output_formats` (type: `array`):

Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows.

## `max_duration_seconds` (type: `integer`):

Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged.

## Actor input object example

```json
{
  "urls": [
    "https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4"
  ],
  "language": "auto",
  "diarize": false,
  "max_duration_seconds": 7200
}
```

# Actor output Schema

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

One row per item: text, timed segments, SRT and WebVTT, plus source metadata and what was billed (unit and quantity). Which columns appear depends on the Actor.

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

How many URLs were given, how many videos were found after expanding any profiles, and how many succeeded.

# 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 = {
    "urls": [
        "https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blitzdata/video-to-text-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 = { "urls": ["https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4"] }

# Run the Actor and wait for it to finish
run = client.actor("blitzdata/video-to-text-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 '{
  "urls": [
    "https://blitzdata-samples.b-cdn.net/v1/nasa-gold-sarah-jones.mp4"
  ]
}' |
apify call blitzdata/video-to-text-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blitzdata/video-to-text-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/Z9IJgbsgujTOUpVQ7/builds/sQtCYctSuJShoU0ty/openapi.json
