# Transcribe video to text and subtitles (MP4, MOV, MKV)

**Use case:** 

Turns video files into text with timestamps plus SRT, VTT and TXT files. Give direct links to MP4, MOV, MKV or WEBM files: the first audio track is transcribed, in 25 European languages detected automatically. $0.01 per started audio minute per file. This example transcribes a 4 min 16 s NASA skywatching video.

## Input

```json
{
  "fileUrls": [
    "https://images-assets.nasa.gov/video/JPL-20240501-WHATSUf-0001-Whats_Up_May_2024/JPL-20240501-WHATSUf-0001-Whats_Up_May_2024~mobile.mp4"
  ],
  "includeSegments": true,
  "includeWordTimestamps": false,
  "speakerLabels": false,
  "numSpeakers": 0,
  "maxMinutesPerFile": 240,
  "maxFileSizeMb": 1000,
  "subtitleLineChars": 42
}
```

## Output

```json
{
  "url": {
    "label": "File",
    "format": "link"
  },
  "status": {
    "label": "Status"
  },
  "text": {
    "label": "Transcript",
    "format": "text"
  }
}
```

## How it works

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

The Audio & Video Transcription to Text, SRT and VTT Actor is ready to run with the inputs already set for "Transcribe video to text and subtitles (MP4, MOV, MKV)". [Sign up or log in](https://console.apify.com/create-task-from-example/BGHHHfza0vERAJzj1) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Transcribe video to text and subtitles (MP4, MOV, MKV)" task

The Audio & Video Transcription to Text, SRT and VTT Actor will start running based on the input automatically. You can also change all the input fields, like file urls, include timestamped segments, and more, to match your specific use case.

### 3. Receive the "Transcribe video to text and subtitles (MP4, MOV, MKV)" 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 file, status, and transcript.

### 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 "Transcribe video to text and subtitles (MP4, MOV, MKV)" task via API](https://apify.com/klarto/audio-video-transcription.md).

## FAQ

### Which video formats does the video to text task accept?

The video to text task takes direct links to MP4, MOV, MKV, WEBM and other files FFmpeg can read, and Dropbox or Google Drive share links. Only the first audio track is used. YouTube and TikTok links are refused.

### How much does transcribing a video cost?

The video to text task charges $0.01 per started audio minute per file: the 4 min 16 s example is charged 5 minutes, $0.05, plus the $0.0002 Apify start event at 4 GB. No-speech and failed files are free; music may be charged.

### Does the video to text task make subtitles?

Yes. The video to text task saves SRT, VTT and TXT files for each video in the run's key-value store, with links in the row. subtitleLineChars sets the line length (42 by default).

### Can the video to text task label who is speaking?

Yes. Turn on speakerLabels: the video to text task marks turns as 'Speaker 1', 'Speaker 2' (up to 8 found automatically) for $0.005 more per minute, only when added. In our tests the count was right in 10 of 14 recordings.

### How accurate is the video to text task?

The video to text task is good on clear speech, but we have not measured word error rates ourselves. Names and rare words can be misspelled: in the example, 'comet Halley' came out as 'comet Hallie'. Background music lowers accuracy.

## About this Actor

This example demonstrates how to use [Audio & Video Transcription to Text, SRT and VTT](https://apify.com/klarto/audio-video-transcription.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/klarto/audio-video-transcription.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/klarto/audio-video-transcription.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`).
