GNOME Bugzilla – Bug 311162
[flacdec] doesn't handle 24-bit files
Last modified: 2005-07-22 10:02:09 UTC
Please describe the problem: When attempting to decode a 24-bit flac file, the flacdec plugin exits with an error. Steps to reproduce: Run "gst-launch filesrc location=sample.flac ! flacdec ! fakesink" where "sample.flac" is a 24-bit FLAC file. Actual results: gst-launch prints: RUNNING pipeline ... ** (process:10396): WARNING **: flacdec: invalid depth 24 found ERROR: from element /pipeline0/flacdec0: Could not decode stream. Additional debug info: gstflacdec.c(333): gst_flacdec_error_callback: /pipeline0/flacdec0: bad header and exits Expected results: I would expect flacdec to successfully handle the compliant FLAC file. Does this happen every time? Yes Other information: A sample file can be downloaded from http://www.archive.org/audio/etree-details-db.php?id=27237 There is a "sister" bug at #311070
This should be fixed in CVS now. The output sounds a bit 'hollow' using the sample file from the etree link above, but I suspect that's due to it being a live recording (if not, please reopen). Cheers -Tim 2005-07-22 Tim-Philipp Muller <tim at centricular dot net> * ext/flac/gstflacdec.c: (gst_flacdec_write), (gst_flacdec_convert_src): * ext/flac/gstflacdec.h: Handle .flac files with 24 and 32 bits per sample (fixes #311162).