Displaying 20 results from an estimated 200 matches similar to: "Problem in FLAC__stream_decoder_process_metadata"
2004 Sep 10
0
Problem in FLAC__stream_decoder_process_metadata
--- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote:
> I have a problem when I try to open a file, which is not a FLAC file.
> When I
> open a non-flac file with the stream decoder API, one of the first
> things called
> is FLAC__stream_decoder_process_metadata, which itself calls
> stream_decoder_find_metadata_. Unfortunately the non-flac file
> contains some
> content,
2004 Sep 10
2
possible bug in process_metadata()
Hello!
I'm using the seekable stream decoder API of libFLAC 1.02
and I think that I found a possible bug in process_metadata().
The problem is as follows:
I have a file which isn't a FLAC sample (it's actually an
ACE archive) where process_metadata() returns TRUE. And even
worse, the metadataCallback() is never called (which means
process_metadata() succeeds, although no metadata is
2008 Nov 06
2
libFLAC header checking
In stream_decoder.c function find_metadata_() checks whether a file is
valid or not. There are 4 cases it recognizes:
1) file begins with 'fLaC'
2) file begins with ID3 (skipped), followed by 'fLaC'
3) file may begin with 11111111 111110?? sync code (or 11111111111110,
depends on endianess i suppose). That is - a raw file with FLAC frames,
without header (right?).
4) file begins
2013 Jan 10
1
Fixing corrupt flac files
Here you are:
soa2ii at thor /mnt/files/music/Slime/Alle gegen Alle $ metaflac --list 02\
St?rtebecker.flac
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minimum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 14 bytes
maximum framesize: 15637 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 5857656
2008 Dec 10
0
libFLAC header checking
On 06.11.2008 22:16, LRN wrote:
> In stream_decoder.c function find_metadata_() checks whether a file is
> valid or not. There are 4 cases it recognizes:
> 1) file begins with 'fLaC'
> 2) file begins with ID3 (skipped), followed by 'fLaC'
> 3) file may begin with 11111111 111110?? sync code (or 11111111111110,
> depends on endianess i suppose). That is - a raw
2016 Jul 10
1
[PATCH] set decoding status if write callback failed.
Open src/flac/decode.c, find write_callback() function and add
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
to the beginning of the function. Decoding will fail with
the following message:
test.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_READ_FRAME
As you can see, decoder state isn't quite correct.
One of the ways to fix this is in the attached
2004 Sep 10
3
1.0 source candidate
On Fri, Jul 20, 2001 at 08:14:55PM -0700, Josh Coalson wrote:
> --- Matt Zimmerman <mdz@debian.org> wrote:
> > On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> >
> > > This version seems to work at least partially on ia64. I am able
> > to encode my
> > > usual test WAV file now, but I still get a segfault during the
> >
2010 Jun 08
0
Flac -ts differs from flac -t
Hello,
I'm runing Debian Stable linux with flac version 1.2.1. Weekly, I run a
cron job to test all my flac files for problems using the -ts options. I
have several computers storing the same information over various raid
arrays, and occasionally I do find the odd file that has had problems and
can then change hard drives and re-synchronize.
Anyways, I have recently encountered a couple of
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
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
2004 Sep 10
1
Unexpected writeCallback() calls
Hello!
I've recently written a FLAC input plugin which uses the
seekable stream decoder API of libFLAC 1.02. It works so
far, but one thing is pretty annoying and should be changed
in future libFLAC versions, IMHO:
The writeCallback is not only called after functions which
do decoding (like process_whole_stream(), process_one_frame()
or process_remaining_frames()), ie. where one expects that
2004 Sep 10
2
1.0 source candidate
On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> This version seems to work at least partially on ia64. I am able to encode my
> usual test WAV file now, but I still get a segfault during the self-tests.
Interestingly enough, when I recompiled with --enable-debug to get a stack
trace, it worked. Any ideas how to track down the problem?
--
- mdz
2004 Sep 10
0
1.0 source candidate
--- Matt Zimmerman <mdz@debian.org> wrote:
> On Fri, Jul 20, 2001 at 08:14:55PM -0700, Josh Coalson wrote:
>
> > --- Matt Zimmerman <mdz@debian.org> wrote:
> > > On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> > >
> > > > This version seems to work at least partially on ia64. I am
> > > able
> > > to
2004 Sep 10
0
new checkins
I have in my working directory the trivial header changes necessary to allow
FLAC library functions to be used in C++ programs. Is it OK to commit this?
--
- mdz
-------------- next part --------------
? Makefile
? Makefile.in
? ordinals.h
Index: file_decoder.h
===================================================================
RCS file: /cvsroot/flac/flac/include/FLAC/file_decoder.h,v
2010 Jul 14
1
[patch] Decoding non 8/16/24 bps audio to raw format should fail cleanly
When decoding a FLAC file with bits per sample that is not a multiple
of 8 and outputting in raw format, the decoder gets as far as the write
callback before realising that it doesn't know how to write the data.
It then fails with an unhelpful message (or trips an assert() in debug
mode). The attached patch performs the check earlier, and gives a more
helpful error message.
Kind
2023 Jun 08
0
The flacdiff and flactimer utils
Hi all,
In an attempt to clean up the FLAC repository, I was trying to work
out the importance of the flactimer and flacdiff utils. I think the
flactimer util can be removed, but I don't fully understand the use of
the flacdiff util.
It seems I can't get it to work. I always get something like this:
./flacdiff file1.flac file2.flac
got diff offset = 17
get error
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
I'm using flac-1.2.1 and visual studio 2010 on windows xp sp3
and I want to compress raw CDDA with the stream encoder to a file.
But I just can't get the flac encoder to work,
the encoder always returns an error
enc.get_state() == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
get_verify_decoder_state() == "FLAC__STREAM_DECODER_READ_FRAME"
this is the code I
2004 Sep 10
3
new checkins
FYI, I have checked in a few interesting things. One is a
speedup to the decoder (about 15% improvement in overall
decode time). Another is a new interface to FLAC file
metadata. If you're curious look at include/FLAC/metadata.h.
It is basically a collection of object manipulation routines
and iterators that make it pretty easy to add/edit/delete
FLAC metadata in files efficiently. The
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
---
configure.ac | 7 +++++
src/libFLAC/bitreader.c | 12 ++-------
src/libFLAC/bitwriter.c | 8 ++----
src/libFLAC/fixed.c | 18 +++++--------
src/libFLAC/format.c | 8 ++----
src/libFLAC/include/private/macros.h | 29 ++++++++++++++++++++
src/libFLAC/metadata_iterators.c | 17 +++---------
2007 Apr 08
0
FLAC 24 bit test results
On Thu, Apr 05, 2007 at 06:48:06PM +0200, Josh Green wrote:
> It seems that generally Wavpack does a little better than FLAC at
> compressing audio. But that is generally within a rather small margin.
> 20% margin seems a little large to me though. There may indeed be no
> problem with the FLAC reference implementation in regards to 24 bit and
> its just having trouble compressing