-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Prefer FFmpeg for all formats except FLAC/OGG #10313
Comments
Commented by: Be-ing Is there an inherit limitation in FFmpeg that prevents using it for FLAC, Vorbis, and Opus? Are there upstream bug reports about the limiting factors? |
Commented by: uklotzde Decoding tests don't pass for FLAC and OGG, seeking seems to be buggy, all documented in code comments. The native libraries work (almost) flawlessly. We could use FFmpeg for OPUS instead of the native decoder as I just noticed, all tests pass. I remember that this required raising the bounds for allowed decoding errors slightly. |
Commented by: uklotzde Decoding WavPack files also works, so we don't necessarily need to keep SoundSourceWv for the 1 or 2 people who might still use it. |
Commented by: uklotzde
|
Commented by: Be-ing Perhaps we could drop all SoundSources besides FFmpeg and libsndfile once libsndfile/libsndfile#643 is fixed. |
Commented by: Holzhaus Unless we have a way to determine encoder sample offsets, this will potentially invalidate all existing cue points. |
Reported by: uklotzde
Date: 2021-02-04T22:37:46Z
Status: New
Importance: Medium
Launchpad Issue: lp1914662
SoundSourceCoreAudio: Unmaintained due to lack of macOS contributors. Already requires an internal API adapter since the last refactoring.
SoundSourceMediaFoundation: Unmaintained due to lack of Windows contributors and buggy (https://bugs.launchpad.net/mixxx/+bug/1899242)
SoundSourceMP3: Based on abandoned libraries libid3tag and libmad.
SoundSourceM4A: Based on abandoned (libmp4v2) and almost abandoned (libfaad2) libraries. Already requires an ugly workaround.
SoundSourceSndfile: Is well maintained, has a simple API and is already used as a fallback. Currently the primary SoundSource for AIFF and WAV. No offset issues expected when switching to FFmpeg.
SoundSourceWv: Minor maintenance burden, but otherwise does not hurt. The API is simple enough to keep it.
SoundSourceOpus: Obsolete. Contains some special metadata code that is unlikely to be used. Vorbis Comment tags are the most common.
SoundSourceFLAC/SoundSourceOggVorbis: Cannot be replaced by FFmpeg!!
The text was updated successfully, but these errors were encountered: