search for: frame_sampl

Displaying 20 results from an estimated 22 matches for "frame_sampl".

Did you mean: frame_samples
2004 Sep 10
1
problems with flac?
...esize: 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...
2007 Jul 25
3
FLAC: ERROR, MD5 signature mismatch
Hi I have downloaded a FLAC file somewhere and when trying to decode it to WAV it gives the error message: ERROR, MD5 signature mismatch So my question is now: are FLAC files that give the error message above still decodable to WAV (and how can you do this, because flac.exe doesn't want to decode the file), even if there is a MD5 signature mismatch, or is this not possible at all? thx
2004 Sep 10
2
Serious bug in FLAC
...bFLAC 2. I found that libFLAC was always painfully seeking from the start 3. I found that it did this because it always concluded that the sample needed was in the first block at the front of the file. 4. I found that the SEEKTABLE for my .flac looks like this: sample_number: 0 stream_offset: 0 frame_samples: 0 sample_number: 110592 stream_offset: 0 frame_samples: 0 sample_number: 221184 stream_offset: 0 frame_samples: 0 sample_number: 331776 stream_offset: 0 frame_samples: 0 sample_number: 442368 stream_offset: 0 frame_samples: 0 sample_number: 552960 stream_offset: 0 frame_samples: 0 sample_number:...
2004 Sep 10
0
Serious bug in FLAC
...as always painfully seeking from the start > > 3. I found that it did this because it always concluded that the > sample needed was in the first block at the front of the file. > > 4. I found that the SEEKTABLE for my .flac looks like this: > > sample_number: 0 stream_offset: 0 frame_samples: 0 > sample_number: 110592 stream_offset: 0 frame_samples: 0 > sample_number: 221184 stream_offset: 0 frame_samples: 0 > sample_number: 331776 stream_offset: 0 frame_samples: 0 > sample_number: 442368 stream_offset: 0 frame_samples: 0 > sample_number: 552960 stream_offset: 0 frame_...
2013 Jan 10
1
Fixing corrupt flac files
...ximum framesize: 15637 bytes sample_rate: 44100 Hz channels: 2 bits-per-sample: 16 total samples: 5857656 MD5 signature: eed0112053a62bbe0734502ef9a4b0b0 METADATA block #1 type: 3 (SEEKTABLE) is last: false length: 234 seek points: 13 point 0: sample_number=0, stream_offset=0, frame_samples=4608 point 1: sample_number=446976, stream_offset=1314129, frame_samples=4608 point 2: sample_number=898560, stream_offset=2663921, frame_samples=4608 point 3: sample_number=1350144, stream_offset=4059085, frame_samples=4608 point 4: sample_number=1801728, stream_offset=5431315, f...
2013 Jan 10
4
Fixing corrupt flac files
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
2024 Oct 14
1
C API: How to get a seektable for very long files?
...k with total > samples = 0. > > Is it possible to extend the specification with full backward > compatibility in a way like this? > > If total samples is 0, the last seek point in the seek table that is not > a place holder can indicate the total number of samples: > In case frame_samples is 0, stream_offset is pointing to the last frame > and sample_number is the total number of samples. > > FLAC__stream_decoder_get_total_samples would check that and return the > correct value. > > Not sure if that breaks any old versions / 3rd party decoder. Another > option...
2024 Oct 15
1
C API: How to get a seektable for very long files?
...0. >> >> Is it possible to extend the specification with full backward >> compatibility in a way like this? >> >> If total samples is 0, the last seek point in the seek table that is not >> a place holder can indicate the total number of samples: >> In case frame_samples is 0, stream_offset is pointing to the last frame >> and sample_number is the total number of samples. >> >> FLAC__stream_decoder_get_total_samples would check that and return the >> correct value. >> >> Not sure if that breaks any old versions / 3rd party deco...
2024 Oct 14
1
C API: How to get a seektable for very long files?
...able currently doesn't seem to work with total samples = 0. Is it possible to extend the specification with full backward compatibility in a way like this? If total samples is 0, the last seek point in the seek table that is not a place holder can indicate the total number of samples: In case frame_samples is 0, stream_offset is pointing to the last frame and sample_number is the total number of samples. FLAC__stream_decoder_get_total_samples would check that and return the correct value. Not sure if that breaks any old versions / 3rd party decoder. Another option would be to use the first place...
2007 Jul 25
1
Bug: flac --replay-gain thinks that I used --no-padding
...maximum framesize: 16394 bytes sample_rate: 44100 Hz channels: 2 bits-per-sample: 16 total samples: 332800 MD5 signature: baa7a6600e90050735e6e52437fca10f METADATA block #1 type: 3 (SEEKTABLE) is last: false length: 18 seek points: 1 point 0: sample_number=0, stream_offset=0, frame_samples=4096 METADATA block #2 type: 4 (VORBIS_COMMENT) is last: false length: 223 vendor string: reference libFLAC 1.2.0 20070715 comments: 5 comment[0]: REPLAYGAIN_REFERENCE_LOUDNESS=89.0 dB comment[1]: REPLAYGAIN_TRACK_GAIN=-12.88 dB comment[2]: REPLAYGAIN_TRACK_PEAK=1.00000000...
2024 Oct 13
1
C API: How to get a seektable for very long files?
...ad9ca78 I quote: > SEEKTABLE blocks are handled specially. Since you will not know the > values for the seek point stream offsets, you should pass in a > SEEKTABLE 'template', that is, a SEEKTABLE object with the required > sample numbers (or placeholder points), with 0 for the frame_samples > and stream_offset fields for each point. If the client has specified > that it supports seeking by providing a seek callback to > FLAC__stream_encoder_init_stream() or both seek AND read callback to > FLAC__stream_encoder_init_ogg_stream() (or by using > FLAC__stream_encoder_init...
2024 Oct 13
1
C API: How to get a seektable for very long files?
...: >> SEEKTABLE blocks are handled specially. Since you will not know the >> values for the seek point stream offsets, you should pass in a >> SEEKTABLE 'template', that is, a SEEKTABLE object with the required >> sample numbers (or placeholder points), with 0 for the frame_samples >> and stream_offset fields for each point. If the client has specified >> that it supports seeking by providing a seek callback to >> FLAC__stream_encoder_init_stream() or both seek AND read callback to >> FLAC__stream_encoder_init_ogg_stream() (or by using >> FLAC_...
2024 Oct 14
1
C API: How to get a seektable for very long files?
Op zo 13 okt 2024 om 22:33 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>: > > Is the seektable written at the beginning of the file in the metadata > block or can there also be a second metadata block at the end? > Only at the start of the file. > > If it's at the beginning, would it possible to reserve space for N seek > points and during encoding remember
2024 Oct 13
1
C API: How to get a seektable for very long files?
Hello, I'm using flac to compress s signal data during capture. The sample rate is almost a thousands time higher compared to audio (40 MHz), resulting in a lot of data very quickly. I'm using the C API in my capturing application (mostly copy&paste directly from the example) and it works so far, but unfortunately for longer captures there is no seeking information. How can I tell
2007 Jul 25
2
Bug: flac --replay-gain thinks that I used --no-padding
If I use flac to encode with the --replay-gain option, I get a warning about the --no-padding option... "NOTE: --replay-gain may leave a small PADDING block even with --no-padding" ...even though I'm not using --no-padding. And the file does end up with a small padding block, so changing tags is slow. I'd fixed this bug in my own copy of flac 1.1.4, but forgot to submit the
2004 Sep 10
2
better seeking
...bound; - FLAC__int64 pos = -1, last_pos = -1; - int i, lower_seek_point = -1, upper_seek_point = -1; + FLAC__uint64 first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample; + FLAC__int64 pos, last_pos = -1; + int i; unsigned approx_bytes_per_frame; - FLAC__uint64 last_frame_sample = 0xffffffffffffffff; + FLAC__uint64 last_frame_sample = 0xffffffffffffffff, this_frame_sample; FLAC__bool needs_seek; const FLAC__uint64 total_samples = decoder->private_->stream_info.total_samples; const unsigned min_blocksize = decoder->private_->stream_info.min_blocksize; @@...
2006 Oct 28
3
better seeking
...C__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample; FLAC__int64 pos = -1, last_pos = -1; - int i, lower_seek_point = -1, upper_seek_point = -1; + int i; unsigned approx_bytes_per_frame; - FLAC__uint64 last_frame_sample = FLAC__U64L(0xffffffffffffffff); + FLAC__uint64 last_frame_sample = FLAC__U64L(0xffffffffffffffff), this_frame_sample; FLAC__bool needs_seek; const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder); const unsigned min_blocksize = decoder->private_->stream_in...
2005 Jan 25
0
bitbuffer optimizations
...bound; - FLAC__int64 pos = -1, last_pos = -1; - int i, lower_seek_point = -1, upper_seek_point = -1; + FLAC__uint64 first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample; + FLAC__int64 pos, last_pos = -1; + int i; unsigned approx_bytes_per_frame; - FLAC__uint64 last_frame_sample = FLAC__U64L(0xffffffffffffffff); + FLAC__uint64 last_frame_sample = FLAC__U64L(0xffffffffffffffff), this_frame_sample; FLAC__bool needs_seek; const FLAC__uint64 total_samples = decoder->private_->stream_info.total_samples; const unsigned min_blocksize = decoder->private_->stream...
2024 Oct 13
2
C API: How to get a seektable for very long files?
...EEKTABLE blocks are handled specially. Since you will not know the >>> values for the seek point stream offsets, you should pass in a >>> SEEKTABLE 'template', that is, a SEEKTABLE object with the required >>> sample numbers (or placeholder points), with 0 for the frame_samples >>> and stream_offset fields for each point. If the client has specified >>> that it supports seeking by providing a seek callback to >>> FLAC__stream_encoder_init_stream() or both seek AND read callback to >>> FLAC__stream_encoder_init_ogg_stream() (or by usin...
2006 Nov 03
2
better seeking
...te_->first_frame_offset, lower_bound, upper_bound; - FLAC__int64 pos = -1, last_pos = -1; - int i, lower_seek_point = -1, upper_seek_point = -1; + FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample; + FLAC__int64 pos = -1; + int i; unsigned approx_bytes_per_frame; - FLAC__uint64 last_frame_sample = FLAC__U64L(0xffffffffffffffff); - FLAC__bool needs_seek; + FLAC__bool needs_seek = true, first_seek = true; const FLAC__uint64 total_samples = FLAC__stream_decoder_get_total_samples(decoder);...