[Flac-dev] problems with flac?

Josh Coalson xflac at yahoo.com
Thu Dec 18 14:27:02 PST 2003


Just found this lying around... did you ever get an answer?

I'm not sure what the problem was; I can see how it could
happen if the wave data was not as long as as the header
said it was.

if the FLAC stream has all the audio of the original and
is otherwise OK, you can use metaflac to recreate the
seek table.

if you have a WAVE file that can reproduce the problem let
us know.

Josh

--- "Brent A. Musat" <brentmusat at yahoo.com> wrote:
> So I recently encoded my entire CD collection (over
> 7000 songs) to flac and I have found that 18 of them
> have a strange problem.  The files are corrupted in
> some way.. They will stop playing abruptly in the
> middle of the song.  I've attached a listing of the
> metadata and you'll see what I mean.  
> 
> You can see that the seek points toward the end have a
> bunch of zeros and I'm not sure how they got there. 
> The 18 songs that exhibit this problem are some of my
> longer tracks, but not all my long songs have this
> problem.  I honestly can't confirm if the original
> ripped wav was corrupted or not since it has been
> converted to flac!  But the CD's play fine and
> subsequent ripping works fine.  
>  
> Any explanations as to why the data looks this way?
> brent...
>  
> 
> METADATA block #0
> type: 0 (STREAMINFO)
> is last: false
> length: 34
> minumum blocksize: 4608 samples
> maximum blocksize: 4608 samples
> minimum framesize: 2066 bytes
> maximum framesize: 13776 bytes
> sample_rate: 44100 Hz
> channels: 2
> bits-per-sample: 16
> total samples: 25162872
> MD5 signature: 86a3934bfd09db5c9475a6db777ef5b1
> METADATA block #1
> type: 3 (SEEKTABLE)
> is last: false
> length: 1278
> seek points: 71
> point 0: sample_number=0, stream_offset=0,
> frame_samples=4608
> point 1: sample_number=442368, stream_offset=561277,
> frame_samples=4608
> point 2: sample_number=889344, stream_offset=1247829,
> frame_samples=4608
> point 3: sample_number=1331712, stream_offset=1968819,
> frame_samples=4608
> point 4: sample_number=1778688, stream_offset=2769020,
> frame_samples=4608
> point 5: sample_number=2225664, stream_offset=3562045,
> frame_samples=4608
> point 6: sample_number=2668032, stream_offset=4436688,
> frame_samples=4608
> point 7: sample_number=3115008, stream_offset=5361764,
> frame_samples=4608
> point 8: sample_number=3557376, stream_offset=6299177,
> frame_samples=4608
> point 9: sample_number=4004352, stream_offset=7218510,
> frame_samples=4608
> point 10: sample_number=4451328,
> stream_offset=8130322, frame_samples=4608
> point 11: sample_number=4893696,
> stream_offset=9019715, frame_samples=4608
> point 12: sample_number=5340672,
> stream_offset=9925284, frame_samples=4608
> point 13: sample_number=5783040,
> stream_offset=10866230, frame_samples=4608
> point 14: sample_number=6230016,
> stream_offset=11804097, frame_samples=4608
> point 15: sample_number=6676992,
> stream_offset=12763027, frame_samples=4608
> point 16: sample_number=7119360,
> stream_offset=13697427, frame_samples=4608
> point 17: sample_number=7566336,
> stream_offset=14678162, frame_samples=4608
> point 18: sample_number=8013312,
> stream_offset=15666864, frame_samples=4608
> point 19: sample_number=8455680,
> stream_offset=16658074, frame_samples=4608
> point 20: sample_number=8902656,
> stream_offset=17775669, frame_samples=4608
> point 21: sample_number=9345024,
> stream_offset=18833766, frame_samples=4608
> point 22: sample_number=9792000,
> stream_offset=19910747, frame_samples=4608
> point 23: sample_number=10238976,
> stream_offset=21009208, frame_samples=4608
> point 24: sample_number=10681344,
> stream_offset=21912358, frame_samples=4608
> point 25: sample_number=11128320,
> stream_offset=22862846, frame_samples=4608
> point 26: sample_number=11570688,
> stream_offset=23865225, frame_samples=4608
> point 27: sample_number=12017664,
> stream_offset=24813344, frame_samples=4608
> point 28: sample_number=12464640,
> stream_offset=25766436, frame_samples=4608
> point 29: sample_number=12907008,
> stream_offset=26687110, frame_samples=4608
> point 30: sample_number=13353984,
> stream_offset=27718525, frame_samples=4608
> point 31: sample_number=13800960,
> stream_offset=28674821, frame_samples=4608
> point 32: sample_number=14243328,
> stream_offset=29710129, frame_samples=4608
> point 33: sample_number=14690304,
> stream_offset=30755410, frame_samples=4608
> point 34: sample_number=15132672,
> stream_offset=31712626, frame_samples=4608
> point 35: sample_number=15579648,
> stream_offset=32737243, frame_samples=4608
> point 36: sample_number=16026624,
> stream_offset=33783292, frame_samples=4608
> point 37: sample_number=16468992,
> stream_offset=34774351, frame_samples=4608
> point 38: sample_number=16915968,
> stream_offset=35838458, frame_samples=4608
> point 39: sample_number=17358336,
> stream_offset=36777690, frame_samples=4608
> point 40: sample_number=17805312,
> stream_offset=37823998, frame_samples=4608
> point 41: sample_number=18252288,
> stream_offset=38768946, frame_samples=4608
> point 42: sample_number=18694656,
> stream_offset=39630639, frame_samples=4608
> point 43: sample_number=19141632,
> stream_offset=40415298, frame_samples=4608
> point 44: sample_number=19588608,
> stream_offset=41238609, frame_samples=4608
> point 45: sample_number=20030976,
> stream_offset=42105849, frame_samples=4608
> point 46: sample_number=20477952,
> stream_offset=43023889, frame_samples=4608
> point 47: sample_number=20920320,
> stream_offset=43962398, frame_samples=4608
> point 48: sample_number=21367296,
> stream_offset=44921096, frame_samples=4608
> point 49: sample_number=21814272,
> stream_offset=45900520, frame_samples=4608
> point 50: sample_number=22256640,
> stream_offset=46861204, frame_samples=4608
> point 51: sample_number=22703616,
> stream_offset=47757774, frame_samples=4608
> point 52: sample_number=23145984,
> stream_offset=48567845, frame_samples=4608
> point 53: sample_number=23592960,
> stream_offset=49387813, frame_samples=4608
> point 54: sample_number=24039936,
> stream_offset=50213502, frame_samples=4608
> point 55: sample_number=24482304,
> stream_offset=51025134, frame_samples=4608
> point 56: sample_number=24929280,
> stream_offset=51859435, frame_samples=4608
> point 57: sample_number=25376332, stream_offset=0,
> frame_samples=0
> point 58: sample_number=25821531, stream_offset=0,
> frame_samples=0
> point 59: sample_number=26266730, stream_offset=0,
> frame_samples=0
> point 60: sample_number=26711929, stream_offset=0,
> frame_samples=0
> point 61: sample_number=27157127, stream_offset=0,
> frame_samples=0
> point 62: sample_number=27602326, stream_offset=0,
> frame_samples=0
> point 63: sample_number=28047525, stream_offset=0,
> frame_samples=0
> point 64: sample_number=28492724, stream_offset=0,
> frame_samples=0
> point 65: sample_number=28937923, stream_offset=0,
> frame_samples=0
> point 66: sample_number=29383121, stream_offset=0,
> frame_samples=0
> point 67: sample_number=29828320, stream_offset=0,
> frame_samples=0
> point 68: sample_number=30273519, stream_offset=0,
> frame_samples=0
> point 69: sample_number=30718718, stream_offset=0,
> frame_samples=0
> point 70: sample_number=31163917, stream_offset=0,
> frame_samples=0
> METADATA block #2
> type: 4 (VORBIS_COMMENT)
> is last: false
> length: 296
> vendor string: reference libFLAC 1.1.0 20030126
> comments: 9
> comment[0]: REPLAYGAIN_TRACK_PEAK=0.89843750
> comment[1]: REPLAYGAIN_TRACK_GAIN=-5.67 dB
> comment[2]: REPLAYGAIN_ALBUM_PEAK=0.89843750
> comment[3]: REPLAYGAIN_ALBUM_GAIN=-5.67 dB
> comment[4]: TITLE=A Saucerful of Secrets
> comment[5]: ARTIST=Pink Floyd
> comment[6]: ALBUM=A Saucerful of Secrets
> comment[7]: TRACKNUMBER=05
> comment[8]: DATE=1968
> METADATA block #3
> type: 1 (PADDING)
> is last: true
> length: 3988
> 
> 
=== message truncated ===> METADATA block #0
>   type: 0 (STREAMINFO)
>   is last: false
>   length: 34
>   minumum blocksize: 4608 samples
>   maximum blocksize: 4608 samples
>   minimum framesize: 2066 bytes
>   maximum framesize: 13776 bytes
>   sample_rate: 44100 Hz
>   channels: 2
>   bits-per-sample: 16
>   total samples: 25162872
>   MD5 signature: 86a3934bfd09db5c9475a6db777ef5b1
> METADATA block #1
>   type: 3 (SEEKTABLE)
>   is last: false
>   length: 1278
>   seek points: 71
>     point 0: sample_number=0, stream_offset=0, frame_samples=4608
>     point 1: sample_number=442368, stream_offset=561277,
> frame_samples=4608
>     point 2: sample_number=889344, stream_offset=1247829,
> frame_samples=4608
>     point 3: sample_number=1331712, stream_offset=1968819,
> frame_samples=4608
>     point 4: sample_number=1778688, stream_offset=2769020,
> frame_samples=4608
>     point 5: sample_number=2225664, stream_offset=3562045,
> frame_samples=4608
>     point 6: sample_number=2668032, stream_offset=4436688,
> frame_samples=4608
>     point 7: sample_number=3115008, stream_offset=5361764,
> frame_samples=4608
>     point 8: sample_number=3557376, stream_offset=6299177,
> frame_samples=4608
>     point 9: sample_number=4004352, stream_offset=7218510,
> frame_samples=4608
>     point 10: sample_number=4451328, stream_offset=8130322,
> frame_samples=4608
>     point 11: sample_number=4893696, stream_offset=9019715,
> frame_samples=4608
>     point 12: sample_number=5340672, stream_offset=9925284,
> frame_samples=4608
>     point 13: sample_number=5783040, stream_offset=10866230,
> frame_samples=4608
>     point 14: sample_number=6230016, stream_offset=11804097,
> frame_samples=4608
>     point 15: sample_number=6676992, stream_offset=12763027,
> frame_samples=4608
>     point 16: sample_number=7119360, stream_offset=13697427,
> frame_samples=4608
>     point 17: sample_number=7566336, stream_offset=14678162,
> frame_samples=4608
>     point 18: sample_number=8013312, stream_offset=15666864,
> frame_samples=4608
>     point 19: sample_number=8455680, stream_offset=16658074,
> frame_samples=4608
>     point 20: sample_number=8902656, stream_offset=17775669,
> frame_samples=4608
>     point 21: sample_number=9345024, stream_offset=18833766,
> frame_samples=4608
>     point 22: sample_number=9792000, stream_offset=19910747,
> frame_samples=4608
>     point 23: sample_number=10238976, stream_offset=21009208,
> frame_samples=4608
>     point 24: sample_number=10681344, stream_offset=21912358,
> frame_samples=4608
>     point 25: sample_number=11128320, stream_offset=22862846,
> frame_samples=4608
>     point 26: sample_number=11570688, stream_offset=23865225,
> frame_samples=4608
>     point 27: sample_number=12017664, stream_offset=24813344,
> frame_samples=4608
>     point 28: sample_number=12464640, stream_offset=25766436,
> frame_samples=4608
>     point 29: sample_number=12907008, stream_offset=26687110,
> frame_samples=4608
>     point 30: sample_number=13353984, stream_offset=27718525,
> frame_samples=4608
>     point 31: sample_number=13800960, stream_offset=28674821,
> frame_samples=4608
>     point 32: sample_number=14243328, stream_offset=29710129,
> frame_samples=4608
>     point 33: sample_number=14690304, stream_offset=30755410,
> frame_samples=4608
>     point 34: sample_number=15132672, stream_offset=31712626,
> frame_samples=4608
>     point 35: sample_number=15579648, stream_offset=32737243,
> frame_samples=4608
>     point 36: sample_number=16026624, stream_offset=33783292,
> frame_samples=4608
>     point 37: sample_number=16468992, stream_offset=34774351,
> frame_samples=4608
>     point 38: sample_number=16915968, stream_offset=35838458,
> frame_samples=4608
>     point 39: sample_number=17358336, stream_offset=36777690,
> frame_samples=4608
>     point 40: sample_number=17805312, stream_offset=37823998,
> frame_samples=4608
>     point 41: sample_number=18252288, stream_offset=38768946,
> frame_samples=4608
>     point 42: sample_number=18694656, stream_offset=39630639,
> frame_samples=4608
>     point 43: sample_number=19141632, stream_offset=40415298,
> frame_samples=4608
>     point 44: sample_number=19588608, stream_offset=41238609,
> frame_samples=4608
>     point 45: sample_number=20030976, stream_offset=42105849,
> frame_samples=4608
>     point 46: sample_number=20477952, stream_offset=43023889,
> frame_samples=4608
>     point 47: sample_number=20920320, stream_offset=43962398,
> frame_samples=4608
>     point 48: sample_number=21367296, stream_offset=44921096,
> frame_samples=4608
>     point 49: sample_number=21814272, stream_offset=45900520,
> frame_samples=4608
>     point 50: sample_number=22256640, stream_offset=46861204,
> frame_samples=4608
>     point 51: sample_number=22703616, stream_offset=47757774,
> frame_samples=4608
>     point 52: sample_number=23145984, stream_offset=48567845,
> frame_samples=4608
>     point 53: sample_number=23592960, stream_offset=49387813,
> frame_samples=4608
>     point 54: sample_number=24039936, stream_offset=50213502,
> frame_samples=4608
>     point 55: sample_number=24482304, stream_offset=51025134,
> frame_samples=4608
>     point 56: sample_number=24929280, stream_offset=51859435,
> frame_samples=4608
>     point 57: sample_number=25376332, stream_offset=0,
> frame_samples=0
>     point 58: sample_number=25821531, stream_offset=0,
> frame_samples=0
>     point 59: sample_number=26266730, stream_offset=0,
> frame_samples=0
>     point 60: sample_number=26711929, stream_offset=0,
> frame_samples=0
>     point 61: sample_number=27157127, stream_offset=0,
> frame_samples=0
>     point 62: sample_number=27602326, stream_offset=0,
> frame_samples=0
>     point 63: sample_number=28047525, stream_offset=0,
> frame_samples=0
>     point 64: sample_number=28492724, stream_offset=0,
> frame_samples=0
>     point 65: sample_number=28937923, stream_offset=0,
> frame_samples=0
>     point 66: sample_number=29383121, stream_offset=0,
> frame_samples=0
>     point 67: sample_number=29828320, stream_offset=0,
> frame_samples=0
>     point 68: sample_number=30273519, stream_offset=0,
> frame_samples=0
>     point 69: sample_number=30718718, stream_offset=0,
> frame_samples=0
>     point 70: sample_number=31163917, stream_offset=0,
> frame_samples=0
> METADATA block #2
>   type: 4 (VORBIS_COMMENT)
>   is last: false
>   length: 296
>   vendor string: reference libFLAC 1.1.0 20030126
>   comments: 9
>     comment[0]: REPLAYGAIN_TRACK_PEAK=0.89843750
>     comment[1]: REPLAYGAIN_TRACK_GAIN=-5.67 dB
>     comment[2]: REPLAYGAIN_ALBUM_PEAK=0.89843750
>     comment[3]: REPLAYGAIN_ALBUM_GAIN=-5.67 dB
>     comment[4]: TITLE=A Saucerful of Secrets
>     comment[5]: ARTIST=Pink Floyd
>     comment[6]: ALBUM=A Saucerful of Secrets
>     comment[7]: TRACKNUMBER=05
>     comment[8]: DATE=1968
> METADATA block #3
>   type: 1 (PADDING)
>   is last: true
>   length: 3988
> 

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




More information about the Flac-dev mailing list