similar to: FLAC__stream_decoder_flush

Displaying 20 results from an estimated 600 matches similar to: "FLAC__stream_decoder_flush"

2004 Sep 10
1
FLAC__stream_decoder_flush
OK, back to this one... --- Josh Coalson <xflac@yahoo.com> wrote: > --- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote: > > The FLAC__stream_decoder_flush doesn't change the state, but when I > > play a > > stream and reach the end I have to do a FLAC__stream_decoder_reset > > and reread > > the metadata instead of simply a FLAC__stream_decoder_flush.
2004 Sep 10
2
about libFLAC
Hi Josh, As you know, I'm writing a FLAC ACM codec using libFLAC. The Audio Codec Manager sends messages to the driver with blocks of data to be converted. I think it will be much easier to decode the data if we could use FLAC__stream_decoder_process_whole_stream() to process the first message, not processing any data that don't make a whole frame, and then use
2004 Sep 10
3
ACM codec
Hello everyone, I was just browsing through some video capturing websites/forums and saw some people complain that there was no lossless codec available to encode audio in AVI files. I thought that FLAC would have one but it doesn't seem to be the case. As it's a popular demand (now that hard drives are inexpensive, people can record hours of video/audio without any loss and then
2004 Sep 10
2
Problem in FLAC__stream_decoder_process_metadata
Hi, 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, which leads to the state set to FLAC__STREAM_DECODER_READ_FRAME. However in
2004 Sep 10
2
Ogg FLAC
--- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote: > > currently flac sets all granulepos members of the ogg pages to 0, > when > > embedding a FLAC stream into an Ogg file. Is it possible to change > this > > behaviour to use a more reasonable value, e.g. the bytes written so > far. > So > > when the first packets is 1000 bytes long it gets the granulepos
2004 Sep 10
2
Ogg FLAC
Hi, currently flac sets all granulepos members of the ogg pages to 0, when embedding a FLAC stream into an Ogg file. Is it possible to change this behaviour to use a more reasonable value, e.g. the bytes written so far. So when the first packets is 1000 bytes long it gets the granulepos 1000 and when the second packet is 1234 bytes long it gets the granulepos 2234 and so on. This would make it
2004 Sep 10
2
Push/Pull Model
Hi, The stream decoder follows a push model, however, I need a pull model decoder, like, for example, implemented by the Vorbis libs. For this I simply save the pointer to the audio data in the read callback and acces the data lateron after the call to FLAC__stream_decoder_process_one_frame returned. Is this safe? Can I assume that the internal buffer is not freed, when
2004 Sep 10
1
FLAC__stream_decoder_get_input_bytes_unconsumed
Is there a reason for having the FLAC__stream_decoder_get_input_bytes_unconsumed function private. This function is required now by two of my filters for seeking and buffer managment, when not all data is available from the beginning. Regards, Ingo
2004 Sep 10
2
Bits per Sample, Channel Count
Hi, these two values can be stored in the stream info metadata block as well as in the header of each frame. This leads to some questions. - Are these values supposed to change during playback, e.g. first comes a frame with 2 channels, then with four and the next switches the bit count from 16 to 8 and so on? - There are methods to retrieve these values from the stream decoder. Unfortunately
2014 Nov 25
1
Two new CVEs against FLAC
Miroslav Lichvar wrote: > I'm trying to figure out how this one works. It seems the problem is > integer underflow in the "frame.header.blocksize-order" expression > used in read_subframe_fixed_() and read_subframe_lpc_() to get the > number of encoded samples, which causes a buffer overflow in the > LPC/fixed subframe decoding. > > The fix prevents that by
2004 Sep 10
3
FLAC format
HI Josh, I'm starting now to compile the ACM codec. I don't know how long it will take, since I do it in my free time, but I guess it will not take to long. About Mark Powell's comment, with an ACM codec there will be a lot of Windows GUIs for FLAC. I'm writing this message to talk about the FLAC format. The GUIs for the Audio Codec Manager, including Winamp and Windows Media
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
2014 Dec 09
5
Two new CVEs against FLAC
On 25.11.2014 12:14, Miroslav Lichvar wrote: > I think the case with non-zero partition order may need to be fixed > too. For example, with partition order of 1, predictor order of 16 and > blocksize of 4, the function would return true and blocksize-order in > the caller would still underflow. > > --- a/src/libFLAC/stream_decoder.c > +++ b/src/libFLAC/stream_decoder.c > @@
2014 Dec 15
1
[PATCH] src/libFLAC/stream_decoder.c : Rework fix for seeking bug.
To avoid crash caused by an unbound LPC decoding when predictor order is larger than blocksize, the sanity check needs to be moved to the subframe decoding functions. --- src/libFLAC/stream_decoder.c | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index d13b23b..211b4db 100644 ---
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<------------------
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 sure it is not an
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
2007 Jan 31
4
Problem decoding .flac files
I've been having problems with Amarok and K3B, but I think it comes down to a problem with flac. All my music and audio files are encoded in flac format. I've ripped my CDs using KAudioCreator and using this command to encode them (split for formatting): flac --best -o %o --tag=Artist=%{artist} --tag=Album=%{albumtitle} --tag=Date=%{year} --tag=Title=%{title}
2006 Aug 24
4
Suggestions/Pointers on where to begin my search for a solution?
Hi- I''m working in the IT department of a small liberal arts university-- we''re getting *massacred* by P2P traffic. Informal testing/probing indicates that about 60% of our traffic from the dorms was P2P-- we''ve taken the initial step of hardlimiting the dorms to no more than 40% of outgoing university bandwidth. Also, we''ve blocked the
2014 Nov 25
9
Two new CVEs against FLAC
Hi all, Google Security Team member, Michele Spagnuolo, recently found two potential problems in the FLAC code base. They are : CVE-2014-9028 : Heap buffer write overflow CVE-2014-8962 : Heap buffer read overflow For Linux distributions, the specific fixes for these two CVEs are available from Git here: