FORUMS: list search recent posts

How to convert mp3 to m4a without losing quality

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Aaron Bernabeu
How to convert mp3 to m4a without losing quality
on Feb 12, 2013 at 6:10:29 pm

Hello,

I´m trying to convert a .mp3 file to an .m4a format an the result is worse than the original. The sound have poor quality.

I´m using this command:

ffmpeg -i file.mp3 -acodec copy output.m4a

and also:

ffmpeg -i file.mp3 -acodec aac -strict experimental -ab 256k output.m4a

Someone can help me please?

Thanks in advance.


Return to posts index


Lou Logan
Re: How to convert mp3 to m4a without losing quality
on Feb 12, 2013 at 7:17:42 pm

Please include the complete ffmpeg console outputs for each ffmpeg command (and wrap them in the code tag for readability). Your first command will most likely complain:
[ipod @ 0x19694a0] track 0: could not find tag, codec not currently supported in container

However it will probably work with mp4 as your output container.

Your second command uses the native AAC encoder. It is not a great encoder, especially at lower bitrates, but it shouldn't be terrible at higher bitrates. Can you tell a difference between "file.mp3" and "output.m4a"? If yes, and if you must re-encode to AAC, then I recommend using another encoder, such as "libfdk_aac" or "libfaac" as described in the FFmpeg and AAC Encoding Guide (specifically the VBR examples). However, it is recommended to avoid re-encode from a lossy format to another lossy format if possible.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]