Displaying 20 results from an estimated 20 matches for "sample_numb".
Did you mean:
sample_num
2004 Sep 10
1
problems with flac?
...ocksize: 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_...
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
...lowly in any software that sues libFLAC
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:...
2004 Sep 10
0
Serious bug in FLAC
...gt;
> 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_numb...
2013 Jan 10
1
Fixing corrupt flac files
...minimum framesize: 14 bytes
maximum 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...
2004 Sep 10
2
better seeking
...with
@@ -882,7 +884,7 @@
}
if(i >= 0) { /* i.e. we found a suitable seek point... */
lower_bound = first_frame_offset + decoder->private_->seek_table->points[i].stream_offset;
- lower_seek_point = i;
+ lower_bound_sample = decoder->private_->seek_table->points[i].sample_number;
}
/* find the closest seek point > target_sample, if it exists */
@@ -892,76 +894,25 @@
}
if(i < (int)decoder->private_->seek_table->num_points) { /* i.e. we found a suitable seek point... */
upper_bound = first_frame_offset + decoder->private_->seek_table-...
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
2006 Oct 28
3
better seeking
...Now we refine the bounds if we have a seektable with
@@ -2981,7 +2983,7 @@
}
if(i >= 0) { /* i.e. we found a suitable seek point... */
lower_bound = first_frame_offset + seek_table->points[i].stream_offset;
- lower_seek_point = i;
+ lower_bound_sample = seek_table->points[i].sample_number;
}
/* find the closest seek point > target_sample, if it exists */
@@ -2991,98 +2993,32 @@
}
if(i < (int)seek_table->num_points) { /* i.e. we found a suitable seek point... */
upper_bound = first_frame_offset + seek_table->points[i].stream_offset;
- upper_seek_poin...
2005 Jan 25
0
bitbuffer optimizations
...with
@@ -923,7 +925,7 @@
}
if(i >= 0) { /* i.e. we found a suitable seek point... */
lower_bound = first_frame_offset + decoder->private_->seek_table->points[i].stream_offset;
- lower_seek_point = i;
+ lower_bound_sample = decoder->private_->seek_table->points[i].sample_number;
}
/* find the closest seek point > target_sample, if it exists */
@@ -933,98 +935,33 @@
}
if(i < (int)decoder->private_->seek_table->num_points) { /* i.e. we found a suitable seek point... */
upper_bound = first_frame_offset + decoder->private_->seek_table-...
2006 Nov 03
2
better seeking
...Now we refine the bounds if we have a seektable with
@@ -2981,7 +2978,7 @@
}
if(i >= 0) { /* i.e. we found a suitable seek point... */
lower_bound = first_frame_offset + seek_table->points[i].stream_offset;
- lower_seek_point = i;
+ lower_bound_sample = seek_table->points[i].sample_number;
}
/* find the closest seek point > target_sample, if it exists */
@@ -2991,98 +2988,36 @@
}
if(i < (int)seek_table->num_points) { /* i.e. we found a suitable seek point... */
upper_bound = first_frame_offset + seek_table->points[i].stream_offset;
- upper_seek_poin...
2004 Sep 10
4
bitbuffer optimizations
Ok, here is a patch waiting for new CVS :). It works fine for me, but
please check it before commiting...
--
Miroslav Lichvar
-------------- next part --------------
--- src/libFLAC/bitbuffer.c.orig 2003-01-30 17:36:01.000000000 +0100
+++ src/libFLAC/bitbuffer.c 2003-01-30 21:53:18.000000000 +0100
@@ -51,6 +51,25 @@
*/
static const unsigned FLAC__BITBUFFER_DEFAULT_CAPACITY = ((65536 - 64) *
2024 Oct 14
1
C API: How to get a seektable for very long files?
...FLAC__metadata_object_seektable_template_sort, according to metaflac
everything is correct:
for(int i = seektable->data.seek_table.num_points-1; i>=0; i--) {
if (seektable->data.seek_table.points[i].stream_offset != 0) break;
seektable->data.seek_table.points[i].sample_number =
0xFFFFFFFFFFFFFFFF;
}
>
> I'd say, have your implementation prepare a seek table template for 5
> hours of recording (I assume that is above the upper bound of such
> captures?), the stream encoder will fill in those seek points when it
> reaches them, and leaves the u...
2007 Jul 25
1
Bug: flac --replay-gain thinks that I used --no-padding
...es
minimum framesize: 14 bytes
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]:...
2024 Oct 14
1
C API: How to get a seektable for very long files?
...cification 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 holder, set stream_offset to the
> to...
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
2012 Feb 03
0
Fix cuesheet.c to allow metaflac_test.sh to run to completion
...golden
file.
--- metaflac-test-files/case43-expect.meta????? 2012-02-02 08:52:57.000000000 -0800
+++ metaflac-test-files/out.meta??????? 2012-02-03 11:37:13.000000000 -0800
@@ -10,9 +10,8 @@
?METADATA block #1
?? type: 3 (SEEKTABLE)
?? is last: false
-? length: 18
-? seek points: 1
-??? point 0: sample_number=0
+? length: 0
+? seek points: 0
?METADATA block #2
?? type: 4 (VORBIS_COMMENT)
?? is last: false
Do you have any more insight ?
Earl
________________________________
From: Earl Chew <earl_chew at yahoo.com>
To: "flac-dev at xiph.org" <flac-dev at xiph.org>
Sent: T...
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
2012 Feb 02
2
Fix cuesheet.c to allow metaflac_test.sh to run to completion
Erik,
I'll resync and have another look.
Earl
________________________________
From: Erik de Castro Lopo <mle+la at mega-nerd.com>
To: flac-dev at xiph.org
Cc: Earl Chew <earl_chew at yahoo.com>
Sent: Wednesday, February 1, 2012 10:30:21 PM
Subject: Re: [flac-dev] Fix cuesheet.c to allow metaflac_test.sh to run to completion
Earl Chew wrote:
> When reading the INDEX
2024 Oct 15
1
C API: How to get a seektable for very long files?
...kward
>> 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 holder, set stre...
2014 Nov 25
19
flac-1.3.1pre1
Hi all,
As people may have seen there's a pre-release here:
http://downloads.xiph.org/releases/flac/beta/
Specifically:
flac-1.3.1pre1.tar.xz : The source code
flac-1.3.1pre1-win.zip : Windows 32 and 64 bit binaries
Please test.
I'm particularly interested in hearing about the windows binaries
which were cross compiled from Linux to Windows. Unfortunately
there is a bug