Displaying 20 results from an estimated 4000 matches similar to: "FLAC decoding details"
2008 Oct 24
1
Decoding error: fingerprint unset in streaminfo block
Using Trader's Little Helper 2.4.1.160 when testing some 16/96 FLAC
files I run into the following error:
"file is decodable without error, but flac fingerprint cannot be
checked since it was unset in the streaminfo block."
Is there an automatic checksum verification when testing/decoding? Is
there any way to fix this, i.e. get rid of the error?
Martin
2004 Sep 10
3
FLAC 1.0.3 is out
Yes, it's finally here. See the homepage for details, but here's
a summary:
- 10-15% decoder speedup
- 24-bit input support restored
- more robust plugins
- new metadata block for Vorbis-style tags
- vastly improved metadata editor
- fixed bug with pipes and Windows
- new libFLAC++, a C++ object wrapper around libFLAC
- new metadata editing interface in libFLAC and libFLAC++
- and
2024 Oct 16
1
C API: How to get a seektable for very long files?
Op wo 16 okt 2024 om 16:25 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>:
>
> Yes, overwriting the streaminfo total_samples number is a bit of a hack,
> but it would only affect those files with more than 2^36 samples that
> contains the special seek point, so no difference for the average flac user.
>
> Not sure how the applications actually read flac files, if they
2004 Sep 10
2
FlacPak
I posted to this list a couple years back and then again sometime a year
ago about using Flac to compress SoundFont instrument files. I never got
around to finalizing the specification for that project, and I have
since realized that a more generic approach would be better. I
registered the "SFFL" Sound Font FLAC application meta data ID. I would
like to remove that, since it was never
2010 Nov 16
2
How to handle multiple STREAMINFO blocks?
I'm writing a program that plays FLAC files using the libFLAC API's.
Is there a specific way I'm supposed to handle multiple STREAMINFO
metadata blocks?
For example, should I ignore all but the first, or all but the last?
The format spec doesn't mention anything.
Thanks,
- Brian Waters
2010 Nov 16
1
How to handle multiple STREAMINFO blocks?
It's certainly best to honor what the specification says. My
assumption is that a "stream" could also be a continuous broadcast,
not just a file. With a hypothetical server streaming FLAC
bitstreams, I would assume that the most recent STREAMINFO is valid
until another one comes along. If you're writing a file player, then
perhaps you can trust the spec and assume
2004 Sep 10
1
Questions about FLAC format from a java coder...
Hi,
I'm trying to write a FLAC decoder for my Java audio app. Can I ask a couple of questions to this list about the format? I think there are a couple of things not-quite-mentioned in the official spec.
RICE CODING: Which order are Rice-coded numbers stored in? (a) [sign-bit][low-order bits]["k" zeroes][1]
(b) [sign-bit]["k" zeroes][1][low-order bits]
(c)
2006 Jun 08
1
How can I recreate STREAMINFO metadata?
I have some FLACs that have STREAMINFO that looks like this:
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
(This came
2006 Jul 24
3
Problem with CRAM and flac-1.1.2
A user of CRAM (http://swami.sourceforge.net/cram.php) sent in a bug
report related to decoding of CRAM files. This issue occurs with
flac-1.1.2 but not previous versions (such as flac-1.1.1). Note that
the same file is used for this test (hopefully ruling out any issue with
the encoder).
Details of the issue:
When calling FLAC__stream_decoder_process_single() the error callback is
triggered
2015 Jan 15
1
Max Sample Rate FLAC
Hi,
I would like to clear something up about Sample Rate, If the Frame header can look to the metadata block streaminfo for sample rate what (if anything limits it to 655350Hz)? Can all 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
2006 Jul 30
2
Re: Problem with CRAM and flac-1.1.2
Replying to myself once again, since I seem to have found the answer I
was looking for. Sorry for the noise. It seems CRAM is indeed misusing
FLAC, since stated in the Notes section of the FLAC format for the
FRAME_HEADER is the fact that only block size values 0110 and 0111 can
be used for variable block size data (i.e., the block size is specified
as an 8 or 16 bit value at the end of the
2004 Sep 10
2
FlacPak
On Mon, 2003-11-17 at 11:04, Josh Coalson wrote:
> could you clarify your plan... are you thinking about
> 1) encoding to a FLAC container and using metadata blocks
> for everything that is not data?
> 2) writing your own container?
>
> 1) seems kind of impractical to do in a general way.
>
I'm starting to also think that 2) is the best route. I was originally
2006 Mar 10
1
libflac++ reading vorbis metadata
On 2006-03-09 (Thu) ,at 23:20:50 Josh Coalson wrote:
> the vorbiscomments are not in the streaminfo. you want to do:
>
> FLAC::Metadata::VorbisComment tags;
> if (FLAC::Metadata::get_tags("somefile.flac", tags)) {
> FLAC::Metadata::VorbisComment::Entry entry =
> tags->get_comment(tags->get_num_comments-1); //e.g. last tag
> // do something with
2024 Oct 16
1
C API: How to get a seektable for very long files?
Am 16.10.24 um 15:15 schrieb Martijn van Beurden:
>
> But how should such a number be presented to the libFLAC user? You
> suggested overwriting the streaminfo total_samples number, but
> streaminfo always precedes the seektable, so the streaminfo metadata
> block is already parsed by the application before the seektable is
> even read. Also, I think it is quite hacky to not pass
2024 Oct 16
1
C API: How to get a seektable for very long files?
Op di 15 okt 2024 om 21:27 schreef Alistair Buxton <a.j.buxton at gmail.com>:
>
> I would like to see this kind of thing put into a secondary metadata block aimed specifically at SDR. This could be completely ignored by regular audio players - these files are not meant to be listened to anyway. I could probably figure out how to implement that, I even started looking into it once, but
2017 Jan 26
2
Flac multi channel
Federico Miyara wrote:
...
> The file format allows some unused fields for future use, such as the
> padding block. It could include a flag to indicate a change in the
> format adding one more streaminfo byte which would allow up to 256
> channels (actually, 256 + 8), or it could trigger a new byte when 11111111.
>
> There is also an invalid block identifier (127) which could be
2004 Sep 10
2
stream_encoder metadata callback
Thanks for the quick response on the C++ thing.
It would also be nice if the host program could correctly write the
STREAMINFO block in the stream encoder metadata callback without having
to know the specifics of the header format (or worry about endianness).
How exactly to achieve this might take some thought, but what about this
idea:
1. The correct way to respond to the metadata callback:
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
2006 Mar 08
2
libflac++ reading vorbis metadata
I'm trying to use libFLAC++ v1.1.2, to read Song information (like artist,
trackname etc..). So..
I read metadata from file
FLAC::Metadata::get_streaminfo("somefile.flac", infosik);
and It's ok - no error, then I read vorbis info:
FLAC::Metadata::VorbisComment vorbis_kom(infosik);
int number_of_comments = vorbis_kom.get_num_comments();
and after that I have
2010 Jun 23
3
FLAC StreamInfo Parsing
Thank you very much! But how to deal with endianness in the case of
bit stream? Some blocks (for example MinBlockSize) require 16bits
(simply swap first and second), some block (e.g.MinFrameSize) require
3 byte-array to be reverted.
Finally totalSamples is stored in 5 bytes ( only last 4 bits from
first one byte are used). It was a real issue to make it little-endian
(here is how I did it: