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
On 10-01-13 19:15, Knut Krause wrote:> 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?It could have been you had a file with the problem which is released under a Creative Commons licence, but that's not very common. Just asking. You can do a few things. Reading your previous post, it seems you now how to work with a command line, so could you post the output of the following two commands: flac -a -F some_corrupt_file.flac (see the .ana file which is generated) metaflac --list some_corrupt_file.flac (just the console output) Plus the exact size (in bytes) of the FLAC-file and the WAV-file that you retrieve using flac -d -F some_corrupt_file.flac You can also try to cut off the last 500kb of the FLAC-file if you are using Linux (or other UNIX-like probably, I have no idea how to do this in Windows or Mac) tail -c 500000 some_corrupt_file.flac > tail_cut_off.flac That's a sample of at most 10 seconds and won't get you into trouble.
So, let's provide some information then :-) ---------------------------------------------------------------------------------------------- soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ flac -aF 02\ St?rtebecker.flac 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. 02 St?rtebecker.flac: analyzing, 96% complete 02 St?rtebecker.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_END_OF_STREAM 02 St?rtebecker.flac: ERROR, MD5 signature mismatch ---------------------------------------------------------------------------------------------- The *.ana: http://bpaste.net/show/69346/ ---------------------------------------------------------------------------------------------- The size in bytes: soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ du 02\ St?rtebecker.flac 16680 02 St?rtebecker.flac ---------------------------------------------------------------------------------------------- The size of the wav file soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ flac -dF 02\ St?rtebecker.flac 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. 02 St?rtebecker.flac: 96% complete 02 St?rtebecker.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_END_OF_STREAM 02 St?rtebecker.flac: ERROR, MD5 signature mismatch soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ du 02\ St?rtebecker.wav 22468 02 St?rtebecker.wav ------------------------------------------------------------------------------------------------ The tail of the corrupted file: http://lagom.de/tmp/tail.flac I hope this is all information needed :-) regards Knut Am Donnerstag, 10. Januar 2013, 19:36:34 schrieb Martijn van Beurden:> On 10-01-13 19:15, Knut Krause wrote: > > 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? > > It could have been you had a file with the problem which is released > under a Creative Commons licence, but that's not very common. Just asking. > > You can do a few things. Reading your previous post, it seems you now > how to work with a command line, so could you post the output of the > following two commands: > > flac -a -F some_corrupt_file.flac (see the .ana file which is generated) > metaflac --list some_corrupt_file.flac (just the console output) > > Plus the exact size (in bytes) of the FLAC-file and the WAV-file that > you retrieve using flac -d -F some_corrupt_file.flac > > You can also try to cut off the last 500kb of the FLAC-file if you are > using Linux (or other UNIX-like probably, I have no idea how to do this > in Windows or Mac) > tail -c 500000 some_corrupt_file.flac > tail_cut_off.flac > That's a sample of at most 10 seconds and won't get you into trouble. > > > > _______________________________________________ > Flac mailing list > Flac at xiph.org > http://lists.xiph.org/mailman/listinfo/flac