some FLAC files are not loaded/parsed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Confirmed
|
High
|
Unassigned |
Bug Description
OS: Kubuntu 18.04
Kernel: 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64
CPU: Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz
Mixxx version: mixxx-2.
Issue description:
Some FLAC files are not loaded/ analyzed by the software. Example FLAC file here: https:/
This file is loaded and parsed normally by Audacity and Virtual DJ.
From the application log:
Debug [Main]: BeatFactory:
Debug [Main]: SoundSourceProxy - SoundSourceProvider "Xiph.org libFLAC" created a SoundSource for file "file:/
Debug [Main]: SoundSourceProxy - Skip importing of track metadata and embedded cover art from file "file:/
Debug [Main]: BaseTrackCache(
Debug [Main]: WCoverArt:
Debug [Main]: dropEventFiles() true (QUrl("
Debug [Main]: mimeData.hasText() true "library"
Debug [Main]: dropEventFiles() true (QUrl("
Debug [Main]: mimeData.hasText() true "library"
Debug [Main]: BaseTrackPlayer
Debug [CachingReaderW
Debug [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
Debug [Main]: BaseTrackPlayer
Debug [Main]: TrackAnalysisSc
Changed in mixxx: | |
assignee: | Uwe Klotz (uklotzde) → nobody |
The FLAC stream metadata doesn't contain the total length (in sample frames) that Mixxx expects:
Format : FLAC
Format/Info : Free Lossless Audio Codec
File size : 15.5 MiB
Overall bit rate mode : Variable
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 15.5 MiB (100%)
Writing library : libFLAC 1.3.2 (UTC 2017-01-01)
I've never seen any file without length metadata before. We need to find out how to handle this without decoding the whole file upfront until EOF.