Hi, since years I simply encoded my CDs using various tools to flac and simply listened to it and never had any problems. Today I wrote a little script though to add replaygain values to my music collection and I found out that a lot of my flac files are corrupt. The corruption almost always occurs in the last 10% like flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type `flac' for details. 01 Overture.flac: testing, 96% complete 01 Overture.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_END_OF_STREAM Is there a way to fix this? I tested decoding the file with -F and then reencoding it with flac. This seems to lead to an error free version but is this the way to go? Regards Knut
Hi, Do you still know what tools you used to encode these FLAC-files? It seems similar errors have popped up elsewhere after using various tagging-utilities. It seems it is indeed a tagging issue, as the error indicates something in that direction and the errors always occur at the last few percent. I guess it isn't possible to share one of these files somewhere so I can have a look? If you are sure the files are actually unharmed and you want to re-encode them, you can use flac -f -F file.flac. This will re-encode the files in place, overwriting the original, so be sure to keep a copy of the original until you are sure this is indeed the way to go. The big advantage of this method is that you keep all tags, if the file has any. On 10-01-13 16:34, Knut Krause wrote:> Hi, > > since years I simply encoded my CDs using various tools to flac and simply > listened to it and never had any problems. > > Today I wrote a little script though to add replaygain values to my music > collection and I found out that a lot of my flac files are corrupt. > > The corruption almost always occurs in the last 10% like > > flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson > flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are > welcome to redistribute it under certain conditions. Type `flac' for details. > > 01 Overture.flac: testing, 96% complete > > 01 Overture.flac: ERROR while decoding data > state = FLAC__STREAM_DECODER_END_OF_STREAM > > Is there a way to fix this? I tested decoding the file with -F and then > reencoding it with flac. This seems to lead to an error free version but is > this the way to go? > > Regards > > > Knut > _______________________________________________ > Flac mailing list > Flac at xiph.org > http://lists.xiph.org/mailman/listinfo/flac
Hej, well I'm not sure because those file that are corrupt have been around for a quite long time. It could have been k3b but I'm really not sure. Right now I was ripping with Audex and tagging with Audex/Amarok/kid3. Those files seem to be fine though. My lates approaches have been with Picard/beets :-) I think it's not possible to share those files without getting in legal trouble here or is it possible somehow to extract some information so it won't be an issue? regards Knut Am Donnerstag, 10. Januar 2013, 19:08:24 schrieb Martijn van Beurden:> Hi, > > Do you still know what tools you used to encode these FLAC-files? It > seems similar errors have popped up elsewhere after using various > tagging-utilities. It seems it is indeed a tagging issue, as the error > indicates something in that direction and the errors always occur at the > last few percent. I guess it isn't possible to share one of these files > somewhere so I can have a look? > > If you are sure the files are actually unharmed and you want to > re-encode them, you can use flac -f -F file.flac. This will re-encode > the files in place, overwriting the original, so be sure to keep a copy > of the original until you are sure this is indeed the way to go. The big > advantage of this method is that you keep all tags, if the file has any. > > On 10-01-13 16:34, Knut Krause wrote: > > Hi, > > > > since years I simply encoded my CDs using various tools to flac and simply > > listened to it and never had any problems. > > > > Today I wrote a little script though to add replaygain values to my music > > collection and I found out that a lot of my flac files are corrupt. > > > > The corruption almost always occurs in the last 10% like > > > > flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh > > Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, > > and you are welcome to redistribute it under certain conditions. Type > > `flac' for details. > > > > 01 Overture.flac: testing, 96% complete > > > > 01 Overture.flac: ERROR while decoding data > > > > state = FLAC__STREAM_DECODER_END_OF_STREAM > > > > Is there a way to fix this? I tested decoding the file with -F and then > > reencoding it with flac. This seems to lead to an error free version but > > is > > this the way to go? > > > > Regards > > > > > > Knut > > _______________________________________________ > > Flac mailing list > > Flac at xiph.org > > http://lists.xiph.org/mailman/listinfo/flac > > _______________________________________________ > Flac mailing list > Flac at xiph.org > http://lists.xiph.org/mailman/listinfo/flac