Displaying 3 results from an estimated 3 matches for "approximate_bytes_per_frame".
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
...tistics and seek table to the metadata in the flac file
because currently this is not done automatically by the library.
(eventually I will fix this the right way.) that will speed up
seeks on the file.
second, even without the seek table or knowing max_framesize,
the seek routine does adjust the approximate_bytes_per_frame
as it decodes target frames. so I don't think it would help
too much compute the framesizes of the first few frames because
the seek current implementation in this case is only really
weak when the bitrate varies widely in the stream. in that
case knowing the first few frame sizes doesn't...
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
...ode, I'll be able to help with improving searching in
seektable-less and max_framesize-less files.
Brendan Dowling
Embedded Systems Engineer
Phatnoise, Inc.
http://www.phatnoise.com
> second, even without the seek table or knowing max_framesize,
> the seek routine does adjust the approximate_bytes_per_frame
> as it decodes target frames. so I don't think it would help
> too much compute the framesizes of the first few frames because
> the seek current implementation in this case is only really
> weak when the bitrate varies widely in the stream. in that
> case knowing the first fe...
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,