Skip to content
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

Decode Functionality #20

Open
czchmate opened this issue Mar 16, 2016 · 5 comments
Open

Decode Functionality #20

czchmate opened this issue Mar 16, 2016 · 5 comments

Comments

@czchmate
Copy link

Would it be possible to incorporate FDK-AAC's decoding functionality or is there some reason that it hasn't been implemented?

There are certain instances where I'd love to be able to decode to .WAV or, if we're ambitious, decode/encode into .FLAC. Currently, I have to rely on non-open source options when I'm on a Windows box. Not my favorite thing to do.

@darealshinji
Copy link

Nice idea. But you don't have to rely on closed-source options. You can use ffmpeg (ffmpeg -i in.m4a out.wav) or Audacity to encode aac files into PCM wav.

@czchmate
Copy link
Author

Ha! Actually, right after I sent that I was thinking, "but wait, I use ffmpeg for most other file conversions." In fact, I've even used it for AAC. Moreover, I actually did a recent custom compile of ffmpeg with the fdk-aac library included. Maybe I should think before I type.

@nu774
Copy link
Owner

nu774 commented Mar 17, 2016

FDK-AAC is not as well optimized as ffmpeg native AAC decoder (which is insanely fast on recent CPU).
Now that ffmpeg supports minor profiles such as AAC-ELD, I don't see much point in using FDK-AAC decoder.

@AliceWonderMiscreations

There is value. The fdk-aac library supports decoding, but there are not (AFAIK) and decoders that use it.

There are other CLI ways to decode AAC such as FFmpeg, FAAD2, and even the fluendo GStreamer plugins via gst-launch but diversity is options is always a good thing.

First of all sometimes a project loses traction. Secondly, with MP3 it is not uncommon to come across files that break the spec that one decoder can not handle but another one can salvage.

Whether it is this project or a separate project, I would like to see a CLI AAC decoder that uses the fdk-aac decoding library.

@nu774
Copy link
Owner

nu774 commented Oct 20, 2016

Well actually, ffmpeg has been supporting not only encoding but also decoding by libfdk-aac when build with --enable-libfdk-aac (this requires --enable-nonfree, therefore you have to build ffmpeg yourself to enable it).

I have developed this project only because ffmpeg doesn't support proper gapless encoding (ffmpeg doesn't write necessary metadata for gapless playback). As for decoding, I have no interest.

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

No branches or pull requests

4 participants