Displaying 20 results from an estimated 25 matches for "metadata_block_streaminfo".
2024 Oct 13
2
C API: How to get a seektable for very long files?
I think there is another major issue for me: In
METADATA_BLOCK_STREAMINFO the field for the length is only 36 bit,
that's not even half an hour at 40 MHz sample rate, resulting in that
the encoder sets it to 0 for longer captures. In the seekpoint the
sample number is 64 bit, which is more than enough.
But how does the decoder handle the seektable when the total numb...
2004 Sep 10
2
24-bit audio?
According to
http://flac.sourceforge.net/format.html#metadata_block_streaminfo :
"FLAC supports from 4 to 32 bits per sample. Currently the reference encoder
and decoders only support up to 24 bits per sample. "
This is why I'm confused. I though one of the benefits of FLAC was it's
ability to encode in word lengths longer than 16 bits.
MW
-----Origi...
2024 Oct 14
1
C API: How to get a seektable for very long files?
...ses before. Maybe this one can serve as some
inspiration: https://www.youtube.com/watch?v=ZrEFU22C8l8 According to
that guy, he used cheap hardware.
Op ma 14 okt 2024 om 00:09 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>:
>
> I think there is another major issue for me: In
> METADATA_BLOCK_STREAMINFO the field for the length is only 36 bit,
> that's not even half an hour at 40 MHz sample rate, resulting in that
> the encoder sets it to 0 for longer captures. In the seekpoint the
> sample number is 64 bit, which is more than enough.
> But how does the decoder handle the seektable...
2009 Jan 25
2
frames number & compression level
I am making a program to obtain information from FLAC files in Visual Basic. NET language.
If somebody needs it I can send it. I can also translate it to C #.
But I have read the documentation and I have looked for in sdk 1.2.2 and I don't find how to get the frames number of the file and the used compression level (5 default and others)
Can somebody help me?
Greetings. Santiago Jimeno
2009 Jan 27
1
frames number & compression level
...level is not stored by default. if the stream is fixed
> blocksize (min and max blocksize in the streaminfo is the same) the
> total number of frames can be calculated by dividing the number of
> samples (also in streaminfo) by blocksize.
>
> http://flac.sourceforge.net/format.html#metadata_block_streaminfo
2015 Jan 15
1
Max Sample Rate FLAC
...frame headers not just point to streaminfo and it be specified in streaminfo as all 1s ie 2^20-1 = 1,048,575Hz? It would be really good to be able to use 1MHz and beyond for some of my/our work. Does anything currently support this?
Regards
Graham
Extracts from https://xiph.org/flac/format.html
METADATA_BLOCK_STREAMINFO
<20> Sample rate in Hz. Though 20 bits are available, the maximum sample rate is limited by the structure of frame headers to 655350Hz. Also, a value of 0 is invalid.
FRAME_HEADER
0000 : get from STREAMINFO metadata block
:
:
1100 : get 8 bit sample rate (in kHz) from end of header
1101...
2007 Mar 22
1
Flac encoding of 88.2kHz files -- not streamble?
...nly implement the Flac
subset will not be able to play the resulting file. However, I'm
confused that it says that it will not be streamable. I would have
thought a file is streamable as long as all information needed for
decoding is contained in each frame header rather than just in the
METADATA_BLOCK_STREAMINFO at the beginning. When encoded with --lax,
I've checked that the resulting binary flac file does indeed place the
sample rate in each frame header. It does so via the extension to have
'unusual' sample rates at end of the header. In this case the sample
rate field is 0b1110 (0xE)...
2024 Oct 13
1
C API: How to get a seektable for very long files?
Hi Martijn,
Am 13.10.24 um 21:00 schrieb Martijn van Beurden:
>
> There's actually quite a lot of documentation for this.
>
> Please review https://xiph.org/flac/api/group__flac__stream__encoder.html#ga80d57f9069e354cbf1a15a3e3ad9ca78
>
> I quote:
>> SEEKTABLE blocks are handled specially. Since you will not know the
>> values for the seek point stream offsets,
2024 Oct 14
1
C API: How to get a seektable for very long files?
....youtube.com/watch?v=ZrEFU22C8l8 According to
> that guy, he used cheap hardware.
That's indeed an interesting device.
>
> Op ma 14 okt 2024 om 00:09 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>:
>>
>> I think there is another major issue for me: In
>> METADATA_BLOCK_STREAMINFO the field for the length is only 36 bit,
>> that's not even half an hour at 40 MHz sample rate, resulting in that
>> the encoder sets it to 0 for longer captures. In the seekpoint the
>> sample number is 64 bit, which is more than enough.
>> But how does the decoder hand...
2015 Jul 15
4
WAVEFORMATEXTENSIBLE_CHANNEL_MASK is not described
...FLAC specification needs
to allow for this.
The Microsoft specification can be viewed at:
http://www.ambisonia.com/Members/mleese/file-formats/multichaud.pdf/view
The underlying problem is that FLAC has got
itself into a mess over channel assignments.
The number of channels is specified in the
METADATA_BLOCK_STREAMINFO, but
using only three bits. (Three bits is insufficient
for the channel assignment, even though this
information is STREAMINFO.) The number of
channels is repeated in the FRAME_HEADER,
this time using four bits. It appears that these
four bits were then used to specify the channel
assignment. T...
2010 Jun 22
0
FLAC StreamInfo Parsing
Hello!
I'm implementing custom flac metadata parser. Currently the very big
trouble is to parse StreamInfo metadata block.
According to specifications
(http://flac.sourceforge.net/format.html#metadata_block_streaminfo)
we've got 2 bytes fir minBlockSize, 2 bytes for maxBlock size, 3 + 3
bytes for min/max FrameSize.
Now the interesting point -- sampleRate. number of channels, buts per
sample and total samples in stream.
20 + 3 + 5 + 36 == 64 bits == 8 bytes.
To parse sample rate I take 3 bytes then reverse...
2012 Jun 03
1
FLAC From 32 Bits
Hello -
I am new to the list and new to FLAC and I have an encoding question. I
am using Goldwave to create a file which is 32 bits, signed, little
endian. I am doing this to avoid the added step of converting from
16-bit samples to 32-bit samples. All works well except that encoding a
sine wave does not output an exact replica of the sine wave -- far from
it. When I encode a 16-bit sine
2016 Jan 31
1
How to get FLAC frame length
I'm study FLAC decode problem, but can't figure out how to get FLAC frame
length. Please help.https://xiph.org/flac/format.html I docoded
METADATA_BLOCK_STREAMINFO, and get below data:
mMinBlock: 4096
mMaxBlock: 4096
mMinFrame: 1201
mMaxFrame: 12804
mSampleRate: 44100
mBitPerSample: 16
mTotalSample: 14170212
Then I start to analyse first Frame, below is the info from first Frame
header:
isFixBlock = true
blockSize = 12
sampleRate = 9
channel = 10
sampleSiz...
2017 Jun 07
0
[Cellar] FLAC Markdown
...ckTicks` (which is similar to how local components have been named and referenced in the FFV1 and Matroska documents). Thus “METADATA_BLOCK_HEADER” would be `Metadata Block Header` and expressed with that same case and quoting at each reference. I also suggest that the metadata block types such as “METADATA_BLOCK_STREAMINFO” and “METADATA_BLOCK_APPLICATION” simply be renamed as `Streaminfo Block` and `Application Block` and that each of those components be defined as being a `Metadata Block`.
I may send a pull request for this soon but wanted to ask around in case there’s some reason for or advantage of the ALL_CAPS_...
2017 Sep 07
0
I can't find source 1.3.2
...at supports 4 to 32 bits and 1
to 8 channels.
For examples:
https://xiph.org/flac/faq.html#general__samples
states:
FLAC supports linear PCM samples with a
resolution between 4 and 32 bits per sample.
FLAC does not support floating point
samples.
https://xiph.org/flac/format.html#metadata_block_streaminfo
states:
FLAC supports from 4 to 32 bits per sample.
Currently the reference encoder and
decoders only support up to 24 bits per
sample.
Regards,
Martin
--
Martin J Leese
E-mail: martin.leese stanfordalumni.org
Web: http://members.tripod.com/martin_leese/
2004 Sep 10
2
24-bit audio?
Using the FLAC frontend with flac v1.0.2, I tried to encode a recently
recorded 24-bit mono wav to flac, but received the following error:
options: -P 0 -b 4608 -m -l 12 -e -q 0 -r 0,6 -R 0
gpt2002-06-01mono.wav: ERROR: unsupported bits per sample 24
So, I tried to encode a stereo 24-bit wave file... same error.
I'm using the .exe of flac v1.0.2 under Windows 2000. The wave files can be
2015 Jul 16
0
WAVEFORMATEXTENSIBLE_CHANNEL_MASK is not described
...ld/broken software). Otherwise the number of bits
in the channel mask must be equal to the number of channels. And nobody
complains about this.
> The underlying problem is that FLAC has got
> itself into a mess over channel assignments.
> The number of channels is specified in the
> METADATA_BLOCK_STREAMINFO, but
> using only three bits. (Three bits is insufficient
> for the channel assignment, even though this
> information is STREAMINFO.) The number of
> channels is repeated in the FRAME_HEADER,
> this time using four bits. It appears that these
> four bits were then used to spec...
2012 Feb 09
1
encoding complexity
On Mon, Feb 06, 2012 at 07:26:19PM +0400, lrn1986 at gmail.com wrote:
>
> Make a specification for storing this kind of data in app-block, then
> devise a way to measure encoding complexity of existing FLAC stream -
> and you'll be able to put these block in FLAC files that didn't have
> them originally.
What we're looking for is a measure of the expected decoding
2007 May 13
3
flac filesize limitation
On 5/13/07, Brian Willoughby <brianw@sounds.wa.com> wrote:
> If we ever reach this 64 GigaSample limit, the fact that FLAC is a
> stream should allow multiple FLAC headers to be concatenated in a
> single file - although that might be tricky.
I believe you can do this with Ogg FLAC. The Ogg container manages
the multiple FLAC streams. Theoretically, we'll never see limit
2015 Oct 01
3
Supporting 32 bit data
Op 01-10-15 om 18:14 schreef lvqcl:
> Currently libFLAC stores residual signal as 32-bit signed int. And there
> are the following comments in stream_encoder.c:
The residual is stored as a Golomb/Rice code. As far as I know,
that is not limited to 32-bit in the format itself, only in the
implementation.
However, there are two residual coding methods now: rice and
rice2. rice2 was added