search for: flac__stream_decoder_read_frame

Displaying 13 results from an estimated 13 matches for "flac__stream_decoder_read_frame".

2004 Sep 10
2
Problem in FLAC__stream_decoder_process_metadata
...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, which leads to the state set to FLAC__STREAM_DECODER_READ_FRAME. However in FLAC__stream_decoder_process_metadata there isn't a case label for FLAC__STREAM_DECODER_READ_FRAME and so the assert is called. I can't workaroud this, because DirectShow sometimes tries all source filters available on the system and so, when opening an AVI or MPEG files with...
2008 Nov 06
2
libFLAC header checking
...ocess_until_end_of_metadata() indicates that header is read and stream information (channel number, for example) is available. Would you kindly check the find_metadata_() function to make sure it only accepts real FLAC sync codes, not the MP3 ones? Or at least mention in the documentation that FLAC__STREAM_DECODER_READ_FRAME status doesn't means that stream info is available.
2013 Jan 10
1
Fixing corrupt flac files
...OF_STREAM 07 Nazis raus.flac: testing, 96% complete07 Nazis raus.flac: *** Got error code 1:FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER 07 Nazis raus.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC 07 Nazis raus.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_READ_FRAME 08 Sand im Getriebe.flac: testing, 98% complete 08 Sand im Getriebe.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_END_OF_STREAM 09 Alle gegen Alle.flac: testing, 96% complete09 Alle gegen Alle.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LO...
2004 Sep 10
0
Problem in FLAC__stream_decoder_process_metadata
...en 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, which leads to the state set to > FLAC__STREAM_DECODER_READ_FRAME. > > However in FLAC__stream_decoder_process_metadata there isn't a case > label for > FLAC__STREAM_DECODER_READ_FRAME and so the assert is called. > > I can't workaroud this, because DirectShow sometimes tries all source > filters > available on the system and so,...
2008 Dec 10
0
libFLAC header checking
...> indicates that header is read and stream information (channel number, > for example) is available. > > Would you kindly check the find_metadata_() function to make sure it > only accepts real FLAC sync codes, not the MP3 ones? Or at least > mention in the documentation that FLAC__STREAM_DECODER_READ_FRAME > status doesn't means that stream info is available. Further information: FLAC header: 11111111 111110AB and so on A = 0 - mandatory 1 - reserved B = 0 - fixed-blocksize 1 - variable-blocksize CCCC = 0000 - reserved 0001 - 192 samples 0010-0101 - 576 *...
2010 Jun 08
0
Flac -ts differs from flac -t
...ail mail via cd. mike at mikeradio:/mnt/raid/mike/flac/Bush/Golden State$ flac -ts Bush\ -\ Golden\ State.flac Bush - Golden State.flac: *** Got error code 2:FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH Bush - Golden State.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_READ_FRAME mike at mikeradio:/mnt/raid/mike/flac/Bush/Golden State$ flac -ts Bush\ -\ Golden\ State.flac Bush - Golden State.flac: *** Got error code 2:FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH Bush - Golden State.flac: ERROR while decoding data state = FLAC__STREAM_DECOD...
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
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 patch. After the patch flac writes: test.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_ABORTED which is more logical. -------------- next part -------------- A non-...
2004 Sep 10
2
possible bug in process_metadata()
...ing wrong or if that's a bug in libFLAC 1.02. BTW - stream_decoder_find_metadata() returns because this condition is true: else if(x >> 2 == 0x3e) { /* MAGIC NUMBER for the last 6 sync bits */ decoder->private_->header_warmup[1] = (FLAC__byte)x; decoder->protected_->state = FLAC__STREAM_DECODER_READ_FRAME; return true; process_metadata() then breaks out of the while() loop because of this condition: case FLAC__STREAM_DECODER_READ_FRAME: return true; BTW2 - the errorCallback() is called once during process_metadata() with status = FLAC__STREAM_DECODER_ERROR_LOST_SYNC - Peter.
2010 Jul 14
1
[patch] Decoding non 8/16/24 bps audio to raw format should fail cleanly
...opyright (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 to redistribute it under certain conditions. Type `flac' for details. data_20bps.flac: ERROR while decoding data state = FLAC__STREAM_DECODER_READ_FRAME #v- with patch: #v+ # flac -dc --force-raw-format --sign signed --endian little data_20bps.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 to redistribute it under certain co...
2023 Jun 08
0
The flacdiff and flactimer utils
...C__STREAM_DECODER_ERROR_STATUS_LOST_SYNC get error 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC get error 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC get error 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC get error 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC ERROR: got err_ in decoder1, state=FLAC__STREAM_DECODER_READ_FRAME At first I assumed some change broke this util, but even going all the way back to the FLAC 1.2.0 release, the behaviour is the same. Has anybody on this list ever used flacdiff? Kind regards, Martijn van Beurden
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
...dio 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 have now /*****************************************************************************/ FLAC__StreamEncoderInitStatus init_status; TMyFlacEncoder enc; bool ok = true; unsigned int sample_size = 4; //2 * (1...
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