Convert MP4 to Opus

Converting MP4 to Opus takes the soundtrack out of a video and encodes it with the codec browsers use for voice calls, which stays clear at sizes where older formats have given up. For hours of lectures, interviews or narration it is the smallest sensible answer.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. OPUS cannot hold everything an MP4 can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Every soundtrack the browser can decode comes across, so a film with a second language or a commentary keeps both. A track in AC-3, E-AC-3, DTS or TrueHD is dropped without a warning.

Up to 100 files at once. Mixed formats are fine.

Opus is built for voice, and that is why it wins here

Opus was published as RFC 6716 in 2012 and designed for real-time communication, which meant surviving at bitrates nobody had previously considered usable. Every browser implements it because every browser needed it for calls, and that pedigree is exactly what makes it good at the material people pull out of video.

Most extracted audio is somebody talking: a lecture, a sermon, an interview, a webinar, a tutorial. On that material Opus stays clear and natural at sizes where MP3 turns watery and metallic. For a single podcast episode the difference is a curiosity; across a term of recordings on a phone it is the difference between fitting and not.

How small an Opus file of a lecture actually gets

The picture is the expensive part of a video and it is discarded here, so the result is governed almost entirely by the length of the recording and the quality band. A two-hour lecture that arrived as a two-gigabyte MP4 produces an audio file measured in tens of megabytes, and at the small band a good deal less than that.

The three bands move the figure by roughly a factor of two in each direction. For speech, the small band is genuinely usable rather than a compromise — this is the codec designed to work there. For music, start at balanced and go up, because low-bitrate performance on dense material is not what Opus was optimising for.

The .opus extension and the .ogg extension hold the same audio

Both are Opus audio inside an Ogg container, written by the same encoder on this site. Nothing about the bytes differs in a way a decoder cares about. What differs is what software assumes when it sees the name.

Take .opus when the codec was your decision — a voice archive, an app’s audio assets, a corpus you are building. Take .ogg when a piece of software, a game engine or an upload form asked for that extension by name, because some of those will refuse an unfamiliar suffix even for a file they can decode perfectly.

Where an Opus file will and will not play

Every current browser plays it, which makes it the natural choice for audio served from a web page. Android handles it natively, VLC and Audacity read it, and the messaging apps that record voice notes have been using it quietly for years.

Apple came to it later and less completely, and appliances have not come to it at all: car stereos, hi-fi separates, older portable players and gym equipment will show an unplayable file. That is the trade for the size, and it is a fair one when the destination is a phone or a computer and a bad one when the destination is a device with a physical volume knob.

This is a second compression, and where it shows

The audio in the MP4 is already lossy AAC. Encoding it as Opus decodes that and compresses again, so a second helping of detail goes. There is no way around it short of not converting, and the honest thing is to say so before the click rather than after.

On speech at the balanced band it is inaudible by any test you are likely to run, because both encoders make similar decisions about what a voice does not need. On applause, cymbals and dense mixes at the small band it is audible, and the fix is a higher band rather than a different format.

Building a corpus or a deck from many videos

Up to a hundred files at a time on the free tier, each converting independently, with the results downloadable together as a ZIP. Nothing waits behind anybody else because there is no shared server to queue on.

This is where the size argument compounds. A language-learning deck, an oral-history collection or a set of voice assets is hundreds of short clips, and a format that is a third of the size of the obvious alternative changes what you can carry, sync and back up rather than saving a rounding error on one file.

Speech, mono and what to check before a long batch

A lecture recorded on a single microphone is usually mono information delivered as two identical channels, and encoders handle that efficiently but not for free. If your source is genuinely single-microphone, an editor that can fold it to mono before compression is worth the step on a large collection.

The other thing worth a listen before committing to a batch is the first minute of one file at the band you intend to use. Recordings with a lot of room noise, air conditioning or overlapping speakers are harder to compress than a clean voice, and the band that sounded fine on a studio podcast can sound thin on a phone recording of a seminar.

Every soundtrack in the video is taken, not only the first

A video can carry more than one audio track — an original language and a dub, a commentary, separate microphone feeds — and every one the browser can decode is written into the Opus file, in the order the MP4 held them. A track in AC-3, E-AC-3, DTS or TrueHD is dropped without a warning. For anything recorded on a phone, a screen recorder or an ordinary export there is only one and the question never comes up.

For a professionally delivered file it is worth checking what is inside before building a collection on the result. A lecture capture holding both the room microphone and a lapel produces a file holding both, and players differ in how readily they let you switch between them; a batch of two hundred built on the wrong assumption is discovered late and redone entirely.

The recordings stay on your machine

The decode and encode happen inside the browser tab on your own processor, so nothing carrying the video is sent anywhere. There is no account, no daily count, and the free tier takes files up to 100 MB each.

For a collection of interviews or fieldwork recordings that is the point rather than a bonus. Consent for a recording rarely extends to a converter site nobody was told about, and doing the work locally means the question does not arise.

How to get an Opus file out of an MP4

  1. Drop the MP4 onto this page — a hundred at a time is fine for a batch of recordings.
  2. Choose the small band for speech, or balanced upwards for anything musical.
  3. Download the Opus files, and check one on the device they are actually going to.

MP4 and Opus: a delivery codec meeting a conversation codec

MP4 compared with OPUS
MP4OPUS
Full nameMPEG-4 VideoOpus Audio
File extension.mp4.opus
Media typevideo/mp4audio/opus
CompressionLossy — file size is bought with qualityLossy — file size is bought with quality
First published20012012
Published byMPEGXiph.Org
SpecificationISO/IEC 14496-14RFC 6716
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Audio channelsup to 255
Opens in a browserEvery browserCurrent browsers
Considered insteadWebM, MKV, MOVAAC, MP3

Opening the result

Current browsers read OPUS; older ones do not. It is the less portable of the two, so it is worth being sure the program at the other end accepts it before sending one.

VLC reads both MP4 and OPUS, so there is a way to check the result against the original without a second tool.

What each format is for

MP4 is MPEG's format, published in 2001. The specification is ISO/IEC 14496-14, and it is worth reading if the file has to outlive the tool that wrote it.

OPUS comes from Xiph.Org and dates from 2012, specified as RFC 6716. VLC, FFmpeg and Audacity all read it.

MP4 to Opus: size, speech and where it plays

Are my MP4 files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is mediabunny, a wrapper around WebCodecs, which borrows your device's own hardware decoders; your browser fetches it once and caches it.

How much smaller is Opus than MP3 for speech?

Substantially. Opus was designed for real-time voice and stays intelligible at bitrates where MP3 has already fallen apart, which is why every browser uses it for calls. For a recording of somebody talking, a small Opus file is routinely a fraction of the MP3 you would have accepted.

Is Opus better than AAC?

At low bitrates and on speech, yes, and that is the band this conversion is for. At high bitrates on music the two are close enough that the choice should be made on what will play the file rather than on quality.

What is the difference between a .opus file and a .ogg file here?

The extension. Both are Opus audio in an Ogg container, written by the same code. Use .opus when you or your software chose the codec deliberately; use .ogg when something asked for that extension by name.

Will a .opus file play on my phone?

On Android and in every current browser, yes. Apple’s support is more recent and less complete, and older cars, hi-fi separates and portable players generally have never heard of it. Opus is a format for modern software rather than for appliances.

Does converting to Opus lose quality?

Yes — it is a second round of lossy compression on audio the video had already compressed once. On speech at the balanced setting this is not something you will hear. On music at the small setting it is, so match the band to the material rather than to the storage you wish you had.

Is the video uploaded?

No. The audio is decoded and re-encoded inside your browser, so nothing carrying the video is sent anywhere. The free tier takes files up to 100 MB and up to a hundred files at a time.

More about these formats