GNOME Bugzilla – Bug 789946
FLAC CD imports create corrupt FLAC files
Last modified: 2017-11-06 22:52:59 UTC
Created attachment 363027 [details] MusicBrainz Picard import log ## SUMMARY When Rhythmbox 3.4.1 imports CDs as FLAC, it imports corrupt FLAC files. ## EXPLANATION I've noticed this since August 2017. Whenever I try ripping a CD, it creates FLAC files with (I think) broken headers. For example, when I try loading the FLAC files into any application, they give an error for the files. I tried OGG and it worked as expected. The only file format that seems to be broken is the FLAC imports. Rhythmbox may be writing an invalid sync code or frame header. ## EXPECTED BEHAVIOR 1. Insert CD, set import preference in RB to FLAC 2. Import CD 3. Open file with MusicBrainz Picard, ffmpeg, or FLAC 4. Work with file normally, either by writing metadata, converting, or playing the file ## ACTUAL BEHAVIOR 1. Insert CD, set import preference in RB to FLAC 2. Import CD 3. Open file with MusicBrainz Picard, ffmpeg, or FLAC 4. Receive error messages that files are corrupt ## APPENDIX Attached to this bug are three log files. For one file that I imported from a CD (filename=03 Conta Costa.flac), I attached the logs from MusicBrainz Picard, ffmpeg, and FLAC itself.
Created attachment 363028 [details] ffmpeg import log
Created attachment 363029 [details] FLAC import log
Reproducible in git master. Should be the same as bug 745992.
@gkrithi8 I forgot bug 745992 was mine too. I only started having this issue recently (in the last six to eight months, maybe). I was definitely able to import FLAC files later, after I filed bug 745992 in 2015. I think these are separate issues. I probably need to retest that old issue anyways.
Seems to be an issue with gst-plugins-good : audioparsers element. ( libgstaudioparsers.so ) Files: gstflacparse.{h,c} Commit: https://github.com/GStreamer/gst-plugins-good/commit/adeee44b Reverting the commit and building loads metadata fine.
gstreamer bug: https://bugzilla.gnome.org/show_bug.cgi?id=727802 Please mark bug dependency.
Bug dependencies don't do anything. Is there something to fix in rhythmbox here?
(In reply to Jonathan Matthew from comment #7) > Bug dependencies don't do anything. Is there something to fix in rhythmbox > here? No.
More recent gstreamer bug: https://bugzilla.gnome.org/show_bug.cgi?id=785558
The currently open bug in gstreamer is https://bugzilla.gnome.org/show_bug.cgi?id=785558 See also the comment by Phillip Wood of considering to use flacenc directly for Sound Juicer until this is resolved. Might be an option for Rhythmbox, too, if you decide this should be fixed independently of gstreamer.
(In reply to Philipp Wolfer from comment #10) > The currently open bug in gstreamer is > https://bugzilla.gnome.org/show_bug.cgi?id=785558 > > See also the comment by Phillip Wood of considering to use flacenc directly > for Sound Juicer until this is resolved. Might be an option for Rhythmbox, > too, if you decide this should be fixed independently of gstreamer. no, I'm not going to do that. *** This bug has been marked as a duplicate of bug 785558 ***