similar to: Can I STOP decoding at an exact sample?

Displaying 20 results from an estimated 600 matches similar to: "Can I STOP decoding at an exact sample?"

2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
sorry about the delay... first, yes you are calling it correctly. if your encoded files have max_framesize == 0, then that should mean that either 1) you were using the command-line flac to encode to stdout; or 2) you are using libFLAC directly. if 2, you can replicate the functionality that is in src/flac/encode.c:metadata_callback() to write back statistics and seek table to the metadata in
2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
Hi, I checked the archives, but I didn't find anything regarding this problem. FLAC__file_decoder_seek_absolute takes an incredibly long time to seek. What can I do about this? How do I fix it? Here's how I'm calling the function: if (argc > 2) { secs = atoi(argv[2]); seek_point = (FLAC__uint64) secs * sample_rate; printf("seeking to %d:%02d\n", secs/60,
2004 Sep 10
2
getting framesize in client
--- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote: > On Sat, Nov 09, 2002 at 06:02:33PM +0100, Miroslav Lichvar wrote: > > On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote: > > > Yeah, it's useful, so now there is a > > > FLAC__seekable_stream_decoder_get_decode_position() and > > > FLAC__file_decoder_get_decode_position(). I
2004 Sep 10
1
[Flac-users] error: FLAC required!
Hi everybody! I'm in trouble again, could you help me? This time I can't get deal with "flac-tools" and other programs that use libFLAC. They just refuse compiling and complain for some functions indefinition. I have flac-1.0.4 already installed with ordinary: ./configure && make && make install. Read down for the details please. Configuring flac-tools:
2004 Sep 10
1
How do I use FLAC in my C++ program ?
Hello all, I am writing a "virtual cdplayer" application, that plays tracks from my cd backups, which are stored as a .flac file and a cdrwin style .cue file. Anyway enough of that, onto the problem.. I wish to use C++ for my program, but when I try to compile it with g++ I get the following types of errors: /home/dave/development/splitimg/splitimg.cpp:153: undefined reference to
2004 Sep 10
2
getting framesize in client
On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote: > Yeah, it's useful, so now there is a > FLAC__seekable_stream_decoder_get_decode_position() and > FLAC__file_decoder_get_decode_position(). I haven't documented > them yet but you can see an example in > src/metaflac/operations_shorthand_seektable.c where I use it > during seektable creation. Ok, here is
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote: > --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote: > > I have few notes: > > > > It seems there is changed API in CVS again. So, what about adding > > function like > > unsigned FLAC__format_frame_size(const FLAC__Frame *frame) > > which returns size of the frame in bytes. This
2008 Jan 09
0
libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_sound.c libswfdec/swfdec_sprite.c libswfdec/swfdec_swf_decoder.c
libswfdec/swfdec_audio_event.c | 4 ++-- libswfdec/swfdec_bits.c | 2 +- libswfdec/swfdec_sound.c | 8 ++++---- libswfdec/swfdec_sprite.c | 2 +- libswfdec/swfdec_swf_decoder.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) New commits: commit 8f85e939022fc9d5ea4e09c21635c51e472068f5 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Wed Jan 9
2001 Apr 09
3
Whining about Wine
I just installed Wine, and when i test it by the command "wine cdplayer" i get the following error message : "err:module:BUILTIN32_dlopen failed to load .so lib for builtin kernel32.dll: symbol __sysconf, version GLIBC_2.2 not defined in file libc.so.6 with link time reference err:module:fixup_imports Module (file) KERNEL32.dll needed by C:\Windows\cdplayer.exe not found" I
2004 Sep 10
1
problem with seek_absolute in libFLAC++
Nevermind, I have discovered the problem(not really a problem). I had called: set_metadata_ignore_all(); because I didnt actually need to use the metadata in my application. But it seems that with this option set, "total_samples" is not set correctly after calling init(). Upon further debugging, I discovered that the test "sample < total_samples" was what is failing in
2004 Sep 10
4
[Flac-users] FLAC 1.0.4 problems
I'm having a number of problems related to building the latest FLAC release. My build environment: Linux, PPC, gcc 2.95.3 The first has to do with with builing FLAC itself... specifically I can't get id3lib support to build. Whether or not I specify the location of the headers and libraries, the config.log turns up this: configure:9361: gcc -o conftest -g -O2 -INONE/include
2012 Apr 24
1
Writing seektable using libFLAC++
Hi! I've been using a little C++ program I've written to encode flac files. The program does this in the usual way (I think), by inheriting a class from FLAC::Encoder::File, and passing it chunks of raw samples through process_interleaved()... Anyway, the program works beautifully, and I've now decided to try and add some metadata to the encoded flacs. Eventually, there will be vorbis
2006 Dec 05
4
flac-1.1.3 fails to decode where flac-1.1.2 works
I'm attempting to decode part of a largefile flac whose seektable is broken or missing and the file is shorter then it's supposed to be, when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails flac --decode --skip=719:58.0 --until=1024:58.0 -o \/home\/sbh\/work\/hs\/out.wav \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac out.wav: ERROR seeking while skipping bytes
2006 Dec 05
4
flac-1.1.3 fails to decode where flac-1.1.2 works
I'm attempting to decode part of a largefile flac whose seektable is broken or missing and the file is shorter then it's supposed to be, when I use 1.1.2 it decodes fine, when I use 1.1.3 it fails flac --decode --skip=719:58.0 --until=1024:58.0 -o \/home\/sbh\/work\/hs\/out.wav \/mnt\/ss\/sdb\/Sound\/Recording\/2006\-11\-29\/in.flac out.wav: ERROR seeking while skipping bytes
2004 Sep 10
2
new SEEKTABLE block
I've checked in code that supports a new metadata block called SEEKTABLE. Basically, it is an optional, arbitrarily-long list of seek points, by sample number and stream offset. I also added command-line options to flac so you can specify seek points by specific sample number and/or a specific number of evenly-spaced seek points. The table cost about 18 bytes per seek point. This seems to
2007 Oct 31
0
5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_audio.c libswfdec/swfdec_sound.c libswfdec/swfdec_xml.c
libswfdec/swfdec_as_object.c | 20 +++++++++++++------- libswfdec/swfdec_audio.c | 2 +- libswfdec/swfdec_sound.c | 20 +++++++------------- libswfdec/swfdec_xml.c | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) New commits: commit cd8a1b3eb4192c51b5787f53071e17270b5d2cca Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Wed Oct 31 12:08:50 2007
2003 Feb 28
6
backing up comments
All this talk about vorbis comments has made me think. Would it be possible to create backups of the Vorbis comments for my vorbis collection (currently about 1850 files) ? Instead of having to make sure I enter the correct details into CDex (saving in to cdplayer.ini & backing up that), or if I have comments in the Vorbis files that aren't stored in cdplayer.ini, such as the tags
2004 Sep 10
1
Serious bug in FLAC
(I am not on this list, please CC me manually if necessary) On Fri, Mar 15, 2002 at 11:47:15PM -0500, Asheesh Laroia wrote: > Are you sure it's not your compiler? That's the first thing I would > check. I know that RedHat is famous for including broken pre-releases of > GCC in their distributions since 7.0. FUD. Please stop that, it makes you look unprofessional. Until you can
2004 Sep 10
2
Serious bug in FLAC
As far as I can tell I've found a serious bug in the command line flac encoder :( I have created many hundreds of flac files and I was very annoyed to discover that the XMMS flac plug-in had intolerably long seek times, but since that had been mentioned on this list a bunch of times without anyone actually investigating, I thought I had better actually find the BUG which causes this. 1. I
2006 Jun 14
2
flac seektable during encoding
Please excuse me, I haven't yet dug into the code too far. What I'd like to do: I'm using ecasound to record for 24 hour periods, which pipes the output directly to flac. I would like to be able to decode sections of this (using until/skip) during recording/encoding. I understand currently that flac can't do this, unless I pipe into dd to skip after decoding (which would be an