Displaying 20 results from an estimated 10000 matches similar to: "FLAC frame boundaries and protocol"
2019 Mar 06
0
FLAC frame boundaries and protocol
Hello Dave.
Frames start with a 14-bit sync code, which is 13 “one" bits and 1 “zero" bit. Subframes start with a 1-bit padding of “zero." Keep in mind that FLAC is a bit stream, not a byte stream, so that 14-bit frame sync can happen anywhere in a pair of bytes. You can’t simply scan memory bytes for a frame sync, at least not unless you allow for 8 variations, apply bit masks,
2010 Apr 26
2
Flac-dev Digest, Vol 67, Issue 3
Dear list,
I am currently investigating about the FLAC format and one
thing I can't understand is the "WASTED BITS PER SAMPLE" flag.
I've seen an explanation saying:
"After decoding subframe decoder should bitwise shift all
samples to left."
Could anyone explain to me what this flag is for?
Many thanks in advance.
Regards,
Fernando
-------------- next
2019 Mar 19
0
FLAC frame boundaries and protocol
Thanks, guys. Your answers helped and I think I have some ideas now on what to do.
On Wednesday, March 6, 2019 Miroslav Lichvar <mlichvar at redhat.com> wrote:
On Tue, Mar 05, 2019 at 10:26:54PM -0800, Brian Willoughby wrote:
> Frames start with a 14-bit sync code, which is 13 “one" bits and 1 “zero" bit. Subframes start with a 1-bit padding of “zero." Keep in mind that
2014 Jun 19
1
How to check/test existing FLAC stream for Subset?
> check the resulting file for subset blocksizes, sample rates, bits per sample, LPC filter order and rice partition order.
That's all parameters that I need to check?
FLAC tools have a lots of warnings about non-subset files during
encoding, but unfortunately don't have easy way to check/test existing
FLAC stream for subset compliance.
"flac -a" generates the big text file
2011 Jan 08
1
Synchronizing a streaming client to the server Was: Idea to possibly improve flac?
On Jan 7, 2011, at 16:48, Ben Allison wrote:
> The issue is that silent frames compress to a very small size, and
> the Ogg
> packeting layer can put more than one FLAC frame into a page. So
> if you
> have an extended period of silence with a live or rate-limited input
> stream, the client buffers may exhaust themselves before a new page
> can be
> put together and
2007 Apr 05
2
FLAC 24 bit test results
On Thu, 2007-04-05 at 02:27 -0700, Brian Willoughby wrote:
> Josh (Green),
>
> Seems like the longest example in your list is a 15-second file. I
> would like to see the same problem exhibited in a file that is of a
> normal length. I have been recording full performances lasting
> hours, and flac always compresses the files below 70% of the original
> size.
>
2017 Jun 06
3
[Cellar] FLAC Markdown
Hello all!
(cc-ing the flac-dev list)
I would like to give an update as to the recent CELLAR work on the FLAC
specification.
• Work has been done to make internal and external links more accurate and
reliable.
• 'Rice Coding' has been clarified as 'Exponential Golomb Coding.'
• Clarifications have been made for binary representation.
• Typos and other small changes have been
2017 Jun 06
1
[Cellar] FLAC Markdown
Hi all,
I'm jumping in on this thread to make a few remarks about the spec. I
implemented a FLAC decoder by only looking at the spec, and I have a few
notes that would have saved me a lot of time if the spec had mentioned
them. They are obvious in hindsight, of course.
* If the channel assignment includes a difference channel, then the
subframe for that channel has one extra bit per sample
2007 Feb 21
1
Re: Is FLAC fully cooked for OS X yet?
On 2/21/07, Brian Willoughby <brianw@sounds.wa.com> wrote:
>
> The key to Arek comment is that the project files only work with 1.1.2 FLAC.
> Even in those days, the Xcode project was not fully operational. I gave up
> on using it, and I think everyone else did. You basically have no hope of
> just pulling it out of the repository and expecting it to work.
Brian, you
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to
get it.
Here's what I have:
-a new file, lpc_asm.s, which has the assembly routines
-changes to cpu.h, cpu.c, and stream_decoder.c to enable them
-changes to configure.in to support the new cpu stuff
-a preliminary Makefile.am
-maybe something else I'm forgetting
Now automake complains that configure.in
2004 Sep 10
1
AW: AW: Incomplete format description?
> -----Ursprungliche Nachricht-----
> Von: Josh Coalson
>
> yes, I will probably get to it soon after the release.
> the encoding side is pretty convoluted but for decoding,
> src/libFLAC/stream_decoder.c:read_residual_partitioned_rice_()
> should be pretty straightforward once you ignore the
> FLAC__SYMMETRIC_RICE stuff (which is not used). feel free to
> ask
2014 Jun 30
2
[PATCH] stream_encoder : Improve selection of residual accumulator width
On Mon, Jun 30, 2014 at 03:27:18AM +0400, lvqcl wrote:
> lvqcl wrote:
> > FLAC 1.2.1 and 1.3.0 cannot encode snippet6.wav with -7 and -8 encoding modes.
> > But they are able to do this with --disable-fixed-subframes option. This
> > implies that snippet6.wav triggers a problem somewthere inside
> > FLAC__fixed_compute_residual(data[], data_len, order, residual[])
2007 Jan 02
4
Is FLAC fully cooked for OS X yet?
On Jan 2, 2007, at 5:15 AM, Arek Korbik wrote:
> The XCode project files you found are meant to be used with FLAC
> 1.1.2. The FLAC repository now contains version 1.1.3 files, and there
> have been interface changes in that latest revision
> (http://flac.sourceforge.net/changelog.html#flac_1_1_3). That could
> explain your problems with compilation.
Well, now, no, I did download
2010 Dec 01
1
OggFLAC streaming is systemically broken.
Not that many people are streaming FLAC, and if they are, they are, in
my mind, undoubtedly experiencing problems. Probably the most prized
kind of software problem of all, the intermittent kind.
I am streaming FLAC. 24bit no less, and its fantastic. The future I
would like to live in, is one where lossless music is streamed and
heard by people other than myself.
It is generally not possible to
2014 Jun 19
5
[PATCH] stream_encoder : Improve selection of residual accumulator width
On Thu, Jun 19, 2014 at 03:30:22PM +0400, lvqcl wrote:
> BTW, what can you say about the following place in stream_decoder.c
> in read_subframe_lpc_() function:
>
> /*@@@@@@ technically not pessimistic enough, should be more like
> if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1)
2020 Jun 26
2
FLAC specification clarification
I am also philosophically opposed to changing the specification.
That said, there's nothing wrong with adding a note to the specification about the common implementations, particularly the reference library. Then, future developers will know both the precise specification and still have the warning that they risk incompatibility by deviating from the reference implementation.
I own devices
2017 Jun 11
3
[PATCH] doc: Add notes about subframe sample size
>> I'm jumping in on this thread to make a few remarks about the spec. I
>> implemented a FLAC decoder by only looking at the spec, and I have a few
>> notes that would have saved me a lot of time if the spec had mentioned
>> them. They are obvious in hindsight, of course.
>>
>> * If the channel assignment includes a difference channel, then the
>>
2010 Jul 21
1
Compiling in Xcode
On 2010-07-21, at 2:24 AM, Brian Willoughby <brianw at sounds.wa.com>
wrote:
> The flac sources are distributed in a configuration that is designed
> primarily for building from the command-line. I seem to recall that
> there might have been an Xcode project in there at some point, but
> if there was, it never worked well. In all honesty, I may be
> getting
2017 Oct 30
1
Facing problem of decoding FLAC
Hi FLAC developers,
This is Saki, a student from Australian National University currently working on FLAC decoding with GPU acceleration. I am now facing a problem of locating the FLAC frame header. I am now trying to find a way to find the nearest frame header after a specific byte. I have already filtered the invalid data, check the CRC-8 at the end of file. But I am still finding some
2004 Sep 10
2
AW: Incomplete format description?
> -----Ursprungliche Nachricht-----
> Von: Josh Coalson
>
> --- Tor-Einar Jarnbjo <Tor-Einar_Jarnbjo@grosch-link.de> wrote:
> > Hi,
> >
> > have I just overseen a link, or is the format description on
> > http://flac.sourceforge.net/format.html lacking information on how to
> > actually decode the residual partitions to PCM sample data?
>
> you