Extract Audio from Video – MP4 to MP3, WAV, FLAC in Bulk
Pricing
from $3.00 / 1,000 audio minutes
Extract Audio from Video – MP4 to MP3, WAV, FLAC in Bulk
Extract the audio track from your video files: MP4, MOV, WebM, MKV or AVI to MP3, M4A, WAV, FLAC or Opus. Choose bitrate, mono or stereo and sample rate, normalise loudness, and split long audio into chunks that fit the Whisper API's 25 MB limit. Bulk from URLs or a dataset. $3 per 1,000 minutes.
Pricing
from $3.00 / 1,000 audio minutes
Rating
0.0
(0)
Developer
Cemal Atakli
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Extract the audio track from your video files and get download links for MP3, M4A (AAC), WAV, FLAC, Opus or OGG files. Paste one link or thousands, or read them from another Actor's dataset. There is a speech preset for transcription (16 kHz mono), two-pass loudness normalisation (EBU R128), and chunking by minutes or by file size, so every piece fits the OpenAI Whisper API's 25 MB upload limit.
Your own files only. This Actor processes direct links to media files that you own or are allowed to process: your CDN, S3/R2/GCS bucket, Dropbox or Google Cloud direct links, or files you upload in the Console. It is not a YouTube, Facebook, TikTok or Instagram downloader. Links to those platforms (and Vimeo, SoundCloud, Spotify and similar) are refused with a free error row.
What it does
- Video to MP3 and more: MP4, MOV, MKV, WebM, AVI, M4V, MPEG-TS and HLS
.m3u8playlists in; MP3, M4A, WAV, FLAC, Opus or OGG out. Audio files (MP3, WAV, M4A...) work as input too. - Lossless stream copy: with the
originalpreset, the audio is copied without re-encoding when it fits the output format (for example AAC from an MP4 into M4A, or Opus from a WebM/MKV into Opus/OGG). This is fast and keeps the exact quality.streamCopied: truetells you it happened. - Speech / transcription preset: 16 kHz mono at 64 kbps (MP3, M4A, Opus) or 16-bit (WAV, FLAC). A 64 kbps MP3 is about 0.48 MB per minute, so about 50 minutes fit in one Whisper upload.
- Split into chunks:
splitMinutes(for example 10) orsplitMaxMb(for example 24 for Whisper). Every chunk is its own file and dataset row, withchunkStartandchunkEndin seconds of the source video, so you can stitch transcripts back together. - Loudness normalisation: two-pass
loudnormto -16 LUFS / -1.5 dBTP. Each row reports the source loudness (sourceLufs) and the result (integratedLufs,truePeakDb). - Pick the audio track: for files with several tracks (languages, commentary), set
audioStreamIndex. Each row shows how many tracks the file has (audioStreams) and the track language. - Trim:
startTime/endTime(90or00:01:30). - Custom output: bitrate (32–320 kbps), mono or stereo, sample rate.
Use cases
- Transcription pipelines: turn recorded meetings, lectures, interviews and webinars into small, Whisper-ready MP3 chunks for OpenAI Whisper, Deepgram, AssemblyAI or a local model. Then pass the dataset to a speech-to-text Actor.
- Podcasters: turn video episodes into MP3 or M4A files for the audio feed, with consistent loudness.
- Dataset builders: extract 16 kHz mono WAV or FLAC from many videos for speech or audio ML datasets.
- Video teams: pull the original AAC track out of MP4 masters without re-encoding.
Input example
{"mediaUrls": ["https://download.samplelib.com/mp4/sample-10s.mp4"],"audioFormat": "mp3","preset": "speech","splitMaxMb": 24,"normalizeAudio": false}
Other ways to give files: bulkText (one URL per line, or a CSV with a url column), datasetId + datasetField (chain after another Actor), or uploadedFiles + uploadStore (files uploaded in the Console).
Output example
One row per output file (one per chunk when you split). The files are in the run's key-value store; audioUrl is the download link.
{"sourceUrl": "https://download.samplelib.com/mp4/sample-10s.mp4","status": "ok","audioUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/000-sample-10s.mp3","fileKey": "000-sample-10s.mp3","format": "mp3","bitrateKbps": 192,"sampleRate": 44100,"channels": 2,"durationSec": 10.216,"bytes": 247056,"chunkIndex": 0,"chunkCount": 1,"chunkStart": 0.0,"chunkEnd": 10.216,"streamCopied": false,"sourceCodec": "aac","sourceDurationSec": 10.216,"audioStreams": 1,"billedEvents": {"audio-minute": 1}}
Failed files get a row with status: "error", an errorCode (UNSUPPORTED_PLATFORM, NOT_MEDIA, NO_AUDIO_STREAM, FILE_TOO_LARGE, TOO_LONG, HTTP_404, ...) and a readable error. They are not charged. The OUTPUT record in the key-value store has a run summary.
Pricing
Pay per event, $3 per 1,000 audio minutes:
| Event | Price | When |
|---|---|---|
audio-minute | $0.003 | Per started minute of extracted audio, per file (a 10 s clip = 1 minute; a 61-minute video split into 3 chunks = 62 minutes, chunks are not rounded one by one) |
normalized-minute | $0.003 | Only with normalizeAudio, per started audio minute |
| Actor start | $0.00005 | Once per run |
Free: invalid or platform URLs, web pages, files without audio, files over your limits, download and conversion errors, and files skipped at your maximum charge. When your maximum total charge for the run would be exceeded, the next file is skipped (free) and the run stops gracefully.
Comparison (Apify Store, November 2026, file-based audio extractors):
| Actor | Price |
|---|---|
| This Actor | $0.003 per minute; speech preset, chunking by MB, loudness, track picking |
| data-done-right/extract-audio-from-video | $0.003 per minute |
| adorable_partial/audio-extractor | $0.003 per minute |
| ataism/whisper-audio-splitter | $0.002 per minute |
| ponderable_hydrometer/video-to-audio | $0.01 per file |
Need video compression, GIFs, speed changes or audio conversion as well? See Video Converter & Compressor.
Limits (honest)
- Direct file links only: the server must return the file itself, not a web page. Private links need a signed URL or an upload.
- The whole video is downloaded once (audio is interleaved with video), so a 2 GB file takes some seconds to download. Default limits: 2,000 MB per input file and 300 minutes per file; you can raise both. Above about 1,000 MB, give the run 2,048 MB or more memory.
- Each output file is held in memory once while it is saved. A very long uncompressed WAV can be too large for the run's memory; the Actor then returns a free
OUTPUT_TOO_LARGEerror. UsesplitMinutes, a lossy format or more memory. splitMaxMbcomputes the chunk length from the bitrate. Opus and OGG are variable bitrate and get a 10% safety margin; any chunk above the limit gets awarning.- Lossy formats are capped at stereo; WAV and FLAC keep all channels unless you use
speechorcustom. - Files are kept in the run's key-value store for your Apify data retention period.
FAQ
Can I extract audio from a YouTube video? No. This Actor does not download from YouTube, Facebook, TikTok, Instagram or any other platform. Use it with files you own or are allowed to process.
Which format should I use for Whisper? preset: speech, audioFormat: mp3, splitMaxMb: 24. Speech models resample to 16 kHz mono anyway, so you lose nothing and upload far less.
Does it re-encode? Only when needed. With the original preset and a matching format (AAC to M4A, MP3 to MP3, Opus to Opus/OGG, FLAC to FLAC, PCM to WAV) the audio stream is copied. Normalisation always re-encodes.
How do I upload files from my computer? Use "Upload files from your computer", upload into a key-value store, and select the same store in "Key-value store with your uploads".
Use with AI agents (Apify MCP)
AI agents can call this Actor through the Apify MCP server as gazidev/extract-audio-from-video: give mediaUrls with direct file links, preset: "speech" and splitMaxMb: 24, then read audioUrl, chunkStart and chunkEnd from the dataset and send each chunk to a speech-to-text model. Every call costs $0.003 per audio minute, and failed files are free.