Displaying 20 results from an estimated 23 matches for "flac__stream_decoder_end_of_stream".
2007 Jul 14
2
FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM
Hi all,
If I have code that does this:
while (FLAC__stream_decoder_process_single (decoder))
/* Do something. */ ;
I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?
If so, here's a patch.
Cheers,
Erik
------------------8<------------------8<------------------8<------------------
diff -u -r1.140 stream_decoder.c
--- src/libFLAC/stream_decoder.c 10 Jul 2007 02:08:51 -0000 1.140
+++ src/libFLAC/stream_decoder.c 14 Jul 2007 09:...
2007 Jul 25
1
FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM
Josh Coalson wrote:
> > I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
> > return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?
>
> it supposed to be like that actually, there's a little explanation
> here:
>
> http://flac.sourceforge.net/api/group__flac__stream__decoder.html#ga45
Ok, I've read that and I agree that the behaviour I'm seeing matches
that documentation
However, I still don'...
2013 Jan 10
4
Fixing corrupt flac files
...Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
02 St?rtebecker.flac: analyzing, 96% complete
02 St?rtebecker.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
02 St?rtebecker.flac: ERROR, MD5 signature mismatch
----------------------------------------------------------------------------------------------
The *.ana: http://bpaste.net/show/69346/
----------------------------------------------------------------------------------------------
The size in...
2013 Jan 10
1
Fixing corrupt flac files
...Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
01 Linke Spie?er.flac: testing, 94% complete
01 Linke Spie?er.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
02 St?rtebecker.flac: testing, 96% complete
02 St?rtebecker.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
03 Untergang.flac: testing, 97% complete
03 Untergang.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_O...
2007 Jul 24
0
FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM
...ega-nerd.com> wrote:
> Hi all,
>
> If I have code that does this:
>
> while (FLAC__stream_decoder_process_single (decoder))
> /* Do something. */ ;
>
> I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
> return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?
it supposed to be like that actually, there's a little explanation
here:
http://flac.sourceforge.net/api/group__flac__stream__decoder.html#ga45
Josh
____________________________________________________________________________________
Choose the right car based on your needs. Che...
2014 May 19
2
error in files after removing padding
Thanks for the help Martijn,
I get the same FLAC__STREAM_DECODER_END_OF_STREAM error after doing the 2
steps you suggested.
Scott
On Mon, May 19, 2014 at 9:36 AM, Martijn van Beurden <mvanb1 at gmail.com>wrote:
> Once more hi,
>
> I've tried to reproduce this issue, but I am unable to do so. Could you
> try to re-encode the file with FLAC (to make s...
2007 Jan 31
4
Problem decoding .flac files
..., Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are
welcome to redistribute it under certain conditions. Type `flac' for
details.
amj.flac: 97% complete
amj.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
The file plays without any problem from Amarok. How can flac encode
this without any problem and have problems decoding it?
Hal
2004 Sep 10
2
FLAC__stream_decoder_flush
...eset and reread
the metadata instead of simply a FLAC__stream_decoder_flush. This is because the
stream state, which indicates the end of the stream, is not changed. Is there a
reason, for the state not being reset to
FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC, when flush is called and the state
is FLAC__STREAM_DECODER_END_OF_STREAM?
Regards,
Ingo
2014 May 19
3
error in files after removing padding
ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
It's happening with every file that I've tried now, using both 1.2.1 and
1.3.0.
If a file has artwork and I remove padding, I get the above error when
verifying or decompressing. If no artwork and I remove padding, the file
verifies and decompresses with no issues.
I'm writing tags...
2014 May 19
0
error in files after removing padding
Oh, I forgot to tell (but you probably had that figured out
anyway) that those 2 steps were for a file that you didn't strip
of padding before.
Would it be possible you send me a part of a file that is
affected? I'd like to know what happened, so this can be fixed.
I presume the FLAC__STREAM_DECODER_END_OF_STREAM errors occur
right after the album art? In that case, if the files are too
big and you are using linux you could use head -c 500kB
input.flac > input-first500kb.flac I don't know any equivalent
methods on other operating systems. If the included album art is
bigger than 500kb, you might...
2013 Jan 10
2
Fixing corrupt flac files
...2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
01 Overture.flac: testing, 96% complete
01 Overture.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_END_OF_STREAM
Is there a way to fix this? I tested decoding the file with -F and then
reencoding it with flac. This seems to lead to an error free version but is
this the way to go?
Regards
Knut
2013 Jan 10
2
Fixing corrupt flac files
...software,
> > and you are welcome to redistribute it under certain conditions. Type
> > `flac' for details.
> >
> > 01 Overture.flac: testing, 96% complete
> >
> > 01 Overture.flac: ERROR while decoding data
> >
> > state = FLAC__STREAM_DECODER_END_OF_STREAM
> >
> > Is there a way to fix this? I tested decoding the file with -F and then
> > reencoding it with flac. This seems to lead to an error free version but
> > is
> > this the way to go?
> >
> > Regards
> >
> >
> > Knut
> > ____...
2005 Jan 02
1
Difficulties to get decoder to work
...et_metadata_respond( FLAC__METADATA_TYPE_STREAMINFO ), set_filename()
- process_until_end_of_metadata()
- repeatedly call process_single()
However, none of my callbacks is actually called during the process_*
calls. Instead, after the call to process metadata, the status of the
stream decoder is FLAC__STREAM_DECODER_END_OF_STREAM. The same problem
if I skip the metadata processing call.
Any help or ideas is appreciated.
Regards,
Lars
2004 Sep 10
1
FLAC__stream_decoder_flush
...t; is
> > because the
> > stream state, which indicates the end of the stream, is not
> changed.
> > Is there a
> > reason, for the state not being reset to
> > FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC when flush is called
> and
> > the state
> > is FLAC__STREAM_DECODER_END_OF_STREAM?
>
> sorry I'm slow in replying here... I can't think of a reason
> of the top of my head but I will look into this.
even though FLAC__stream_decoder_flush was not really
meant for rewinding, you are right that it should change
the state to FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_S...
2013 Mar 23
1
MinGW compile/test confirmation needed
...onfigure using:
./autogen.sh && ./configure && make clean all
and then run the test:
src/test_libFLAC/test_libFLAC.exe
and confirm that fails with:
testing FLAC__stream_decoder_process_until_end_of_stream()... FAILED,
returned false, state = 4 (FLAC__STREAM_DECODER_END_OF_STREAM)
b) Check out a old revision using:
git branch test-regression a606e1a7ef5b0bc0d3c4feef56233b805e8ed6c9
git checkout test-regression
./autogen.sh && ./configure && make clean all
and then run the test:
src/test_libFLAC/test_libFLAC.exe
and con...
2007 Feb 01
2
Problem decoding .flac files
On Thursday 01 February 2007 20:32, you wrote:
> --- Hal Vaughan <hal@thresholddigital.com> wrote:
> > amj.flac: 97% complete
> >
> > amj.flac: ERROR while decoding data
> > state = FLAC__STREAM_DECODER_END_OF_STREAM
> >
> > The file plays without any problem from Amarok. How can flac
> > encode this without any problem and have problems decoding it?
>
> hard to tell without seeing the file... can you host one (or email
> me if <5MB)?
>
> Josh
If I post a link to the file,...
2013 Jan 10
0
Fixing corrupt flac files
...flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
> welcome to redistribute it under certain conditions. Type `flac' for details.
>
> 01 Overture.flac: testing, 96% complete
>
> 01 Overture.flac: ERROR while decoding data
> state = FLAC__STREAM_DECODER_END_OF_STREAM
>
> Is there a way to fix this? I tested decoding the file with -F and then
> reencoding it with flac. This seems to lead to an error free version but is
> this the way to go?
>
> Regards
>
>
> Knut
> _______________________________________________
> Flac mailing li...
2014 May 19
0
error in files after removing padding
...ther
Taglib produces non-compliant files or metaflac doesn't accept
all valid input. If it turns out that metaflac doesn't like this
either, there is something rather weird going on.
op 19-05-14 15:21, Scott Brown schreef:
> ERROR while decoding data
> state = FLAC__STREAM_DECODER_END_OF_STREAM
>
> It's happening with every file that I've tried now, using both
> 1.2.1 and 1.3.0.
>
> If a file has artwork and I remove padding, I get the above
> error when verifying or decompressing. If no artwork and I
> remove padding, the file verifies and decompresses wit...
2014 May 19
2
error in files after removing padding
I want to remove padding from flac files, so I ran the following command on
files with artwork in them:
metaflac --dont-use-padding --remove --block-type=PADDING [filename]
but now my files are corrupt. Verifying them reports a stream error and
they won't decode.
If the files had no picture data in them, the remove padding command did
not corrupt them.
Is this a bug, or did I run
2007 May 23
1
Flac Files Messed Up By Amarok
A while back I posted about issues with flac files that were not able to
be decoded. Here's what I do know:
I've ripped most of my collection to my hard drive using KAudioCreator
and I've specified that they be stored in flac format. All files play
without trouble through Amarok. I found out there was a problem when I
had selected files in a playlist and picked "burn"