Help - Search - Members - Calendar
Full Version: How can I repair my unseekable FLAC file?
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
alex-weej
I had some WAV files that I encoded to FLAC. Unfortunately, some of the WAV files had premature endings for some reason, leading to an "unexpected end of stream" in the decoding process. The corresponding FLAC files have a broken STREAMINFO as a result.

Comparison between a working file and a non-working file, respectively.

QUOTE
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minumum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 14 bytes
maximum framesize: 16359 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 21028056
MD5 signature: 73b66e5478d98f6146fb3bfdb0129ab5


QUOTE
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minumum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 0 bytes
maximum framesize: 0 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 0
MD5 signature: 00000000000000000000000000000000


How can I rebuild the STREAMINFO?
alex-weej
[ignore this post!]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.