Skip to content

OGG to MP4 converter

This converter puts your OGG under a plain black 1280×720 picture and saves an MP4 for places that refuse audio files, like YouTube. The Vorbis sound is decoded and encoded again as AAC; from our test OGG a minute of MP4 took 1.1 MB.

Choose a file or drag it here
MP3, AAC, FLAC, OGG, WMA, AIFF, WAV, M4A (up to 200 MB)
Input
OGG files
Kimenet
MP4, black picture
Limit
Up to 200 MB
Price
Free, no account

How to convert OGG to MP4

  1. 01

    Choose your OGG

    Drop it on the box. The limit is 200 MB.

  2. 02

    Check what changes

    The table under your file shows the MP4's size, picture and sound.

  3. 03

    Download the MP4

    The link lasts one day.

What's in the MP4?

A plain black picture under your sound, and nothing else. H.264 stores that black in 44 KB a minute, 4% of the MP4 from our test clip.

A frame of the video: plain black
A frame of the MP4, 5 seconds in
Picture
Black, 1280×720, 30 frames a second, H.264
Sound
AAC, 128 kbit/s from our 44.1 kHz stereo clip
Length
The black runs 0.6 s past the sound
Cover art
Not used, even if the file has one
Title, artist
Dropped

Where can you use the MP4?

YouTube
Takes it. YouTube's help says audio files can't be uploaded as a video and lists MP4 among its upload formats. Its recommended settings ask for AAC at 384 kbit/s and 48 kHz with the index at the front of the file; this MP4 has AAC at about 128 kbit/s, your file's sample rate and the index at the end. Those are recommendations, not upload rules.
Instagram reels
Instagram asks for at least 30 frames a second and 720 pixels, between 1.91:1 and 9:16. This video is 30 frames a second, 720 pixels tall and 16:9: inside the limits, at the minimums.
TikTok
TikTok's developer docs list MP4 and H.264, 23 to 60 frames a second, and at least 360 pixels a side. This video is 30 frames a second at 1280×720.
WhatsApp
Sends videos up to 100 MB at 720p on a fast connection, or 64 MB at 480p on a slow one. 100 MB is about 93 minutes of MP4 like our test clip. Status videos stop at 90 seconds.
PowerPoint
PowerPoint recommends MP4 with H.264 and AAC, which this is. Its audio list has no OGG, so a video is a way in.
Keynote
On a Mac, Keynote adds audio files in a format QuickTime supports to a slide or as a soundtrack, without a video.
Windows Media Player
Microsoft lists H.264 among the video formats Media Player plays without extras.

Want your cover art instead of black?

Save your image as cover.jpg next to the sound file and run this.

FFmpeg, with your cover image

From a PNG cover FFmpeg wrote a 4:4:4 MP4 until we added -pix_fmt yuv420p, and YouTube recommends 4:2:0. With -shortest alone the picture ran 2.1 seconds past a 10-second song; the two flags after it end the MP4 with the sound.

ffmpeg -loop 1 -framerate 30 -i cover.jpg -i song.ogg -vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -c:v libx264 -tune stillimage -pix_fmt yuv420p -c:a aac -b:a 192k -shortest -fflags +shortest -max_interleave_delta 100M -movflags +faststart song.mp4

Does the sound change?

Yes: after Vorbis, the sound goes through a second lossy encoder, AAC at about 128 kbit/s.

Our OGG had sound up to about 20.3 kHz and the MP4's stops near 17.4 kHz. Subtract the MP4's sound from the OGG and what is left is 14.6 dB below the music; the OGG itself was 18.2 dB from the lossless original.

The OGG

210 KB

20 kHz10 kHz

The MP4's sound

161 KB

10 kHzStops near 17.4 kHz
Ten seconds of the clip, low notes at the bottom and high ones at the top. Press Play and switch between the OGG and the MP4.

The music is 10 seconds of an instrumental we generated with ElevenLabs for these tests, 44.1 kHz stereo.

How big will the MP4 be?

Minutes of sound
4
  • OGG, Vorbis quality 55.0 MB
  • MP44.3 MB

The pale end of a video's bar is its black picture.

Vorbis has no fixed bitrate, so OGG sizes vary with the music; ours took 1.2 MB a minute.

Measured on our music clip at 44.1 kHz stereo; treat other sizes as estimates. AAC spends less where there is less to keep: an 8 kHz mono recording got 42 kbit/s, and ten seconds of silence took 3 KB.

If the conversion doesn't work

"Choose a file under 200 MB."
That is about 2 h 49 min of sound (OGG, Vorbis quality 5). The FFmpeg command has no limit.

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

OGG to MP4 questions

All file converters

Search converters