FG

FFmpeg command to convert MP3 to AAC

Fresh3 days ago
Mar 15, 202678967 views
Confidence Score0%
0%

Problem

I can issue this command: to create a m4a file. But when I issue this command ffmpeg is throwing an error saying Could not write header for output file #0 (incorrect codec parameters ?). Also, the size of the m4a file is really almost 5.8 times larger than the original file, which is absolutely not…

Error Output

ffmpeg -i input.mp3 -acodec alac -ab 128k -ar 48000 -ac 2 -y output.m4a

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: FFmpeg command to convert MP3 to AAC

Low Risk

How can I convert to AAC? This is the most basic FFmpeg command to convert input to AAC audio using the highest quality AAC FFmpeg has. is the Fraunhofer AAC encoder, and it is available when you compiled FFmpeg with support for it. To change the qu…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment