Go to example tasks

Extract MP3 audio from a video

Extracts the audio track of a video link as an MP3 file (192 kbps by default; 22.05 kHz audio allows at most 160), or as M4A, WAV, FLAC or OGG. This example turns a 4 min 16 s NASA video (10,768,546 bytes) into a 160 kbps MP3 of 5,122,133 bytes. $0.003 per started audio minute per file: 5 minutes, $0.015; failed files are free.

Try for free
Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames
Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frameskadben/video-audio-converter
#
Source
Operation
Status
+12 fields
Text
Number
Boolean
List
Object

Input

Files:https://images-assets.nasa.gov/video/JPL-20240501-WHATSUf-0001-Whats_Up_May_2024/JPL-20240501-WHATSUf-0001-Whats_Up_May_2024~mobile.mp4
Operation:audio
Audio format:mp3
Audio bitrate:0
Channels:keep
Sample rate:keep
Normalize loudness:false

Output fields

#
Source
Operation
Status
Output file
Format
Seconds
Width
Height
Bytes
Frame at (s)
Source seconds
Source bytes
Note
Billable
Error

How it works

Sign up on Apify or log in

The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor is ready to run with the inputs already set for "Extract MP3 audio from a video". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract MP3 audio from a video" task

The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor will start running based on the input automatically. You can also change all the input fields, like files, operation, and more, to match your specific use case.

Receive the "Extract MP3 audio from a video" 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 #, source, operation, and more.

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 "Extract MP3 audio from a video" task via API.

Image

Integrate "Extract MP3 audio from a video" into your workflow

Connect "Extract MP3 audio from a video" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The extract audio task saves MP3 (192 kbps by default, at most 160 for 16-24 kHz audio, 64 for 8-12 kHz), M4A (AAC), WAV (16-bit), FLAC or OGG (Opus). audioKbps changes the bitrate; channels can make it mono.

The extract audio task charges $0.003 per started audio minute per file: the 4 min 16 s example is 5 minutes, $0.015, plus the $0.0002 start event. $0.015 per started 100 MB beyond the first 100 MB; failed files are free.

Yes. With normalizeLoudness the extract audio task levels the audio to -16 LUFS (EBU R128) with FFmpeg's loudnorm filter in one pass.