8000 How do I get from a gapless mp3 to a gapless m4a? · Issue #59 · nu774/fdkaac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How do I get from a gapless mp3 to a gapless m4a? #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LFriedenthal opened this issue Jan 11, 2024 · 2 comments
Open

How do I get from a gapless mp3 to a gapless m4a? #59

LFriedenthal opened this issue Jan 11, 2024 · 2 comments

Comments

@LFriedenthal
Copy link

I have these files that play gapless in Vox and iTunes.

samplemp3.zip

I tried using ffmpeg to pipe them into CAF and then fdkaac to turn them into m4a.

ffmpeg -i 003_Deadly_Delivery.mp3 -f caf pipe:1 | fdkaac -b96 -G2 - -o /Users/lora/Downloads/Deadly/gapless/003_Deadly_Delivery.m4a

I also tried using -G1. The resulting m4a files do not play gapless like the mp3s.
samplem4a.zip

Is it possible to get what I'm after?

@nu774
Copy link
Owner
nu774 commented Jan 12, 2024

These MP3 files are encoded in iTunes and the metadata required for gapless playback is stored in the form of iTunSMPB tags.
On the other hand, ffmpeg does support gapless decoding of MP3 files, but it only supports the Encoder Delay/Encoder Padding fields of the LAME header and not iTunSMPB.
Therefore, ffmpeg cannot decode MP3 files encoded in iTunes gaplessly.

@LFriedenthal
Copy link
Author

Thank you for the reply! I've been trying my best to learn what is and isn't possible when it comes to gapless. It surprises me a little that it isn't straightforward.

Is there any mp3 decoder that I could install into ffmpeg that would support iTunSMPB?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0