Skip to content

M4A to MP4 converter

An M4A is an MP4 file that holds only sound; this converter adds a plain black 1280×720 picture, so sites that refuse audio files, like YouTube, take it. It also encodes the sound again: our 256 kbit/s AAC M4A came out at 53% of its size, and for an AAC M4A the FFmpeg command below keeps the sound untouched instead.

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

How to convert M4A to MP4

  1. 01

    Choose your M4A

    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. For sound under slides you need no video: it inserts M4A files directly.
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. -c:a copy puts your AAC in as it is: decoded, the MP4's sound matched our M4A sample for sample.

ffmpeg -loop 1 -framerate 30 -i cover.jpg -i song.m4a -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 copy -shortest -fflags +shortest -max_interleave_delta 100M -movflags +faststart song.mp4

Does the sound change?

Yes. The converter doesn't copy your AAC: it decodes it and encodes it again at about 128 kbit/s, half the 256 kbit/s of our test M4A.

Our M4A had sound up to about 21 kHz and the MP4's stops near 17.4 kHz. Subtract the MP4's sound from the M4A and what is left is 14.3 dB below the music; the M4A itself was 22.6 dB from the lossless original.

The M4A

333 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 M4A 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
  • M4A, AAC 256 kbit/s8.0 MB
  • MP44.3 MB

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

A 4-minute song is 8.0 MB as our 256 kbit/s M4A and 4.3 MB as its MP4.

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 1 h 44 min of sound (M4A, AAC 256 kbit/s). 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

M4A to MP4 questions

All file converters

Search converters