Displaying 3 results from an estimated 3 matches for "streaminfo_ext".
2024 Oct 20
1
C API: How to get a seektable for very long files?
...bflac at all, but libavcodec (ffmpeg). I quickly
checked the ffmpeg source, I don't think they parse the seektable at
all. The same problem here, it would have to read a lot of data before
the length can be figured out.
I think a much better way would be: define a new metadata block like
"STREAMINFO_EXT", that is of course optional, but if it exists it has to
follow directly the STREAMINFO block. libflac could delay calling the
STREAMINFO callback exactly one block: If STREAMINFO is not the last
block, it will not call the callback, it will read the next block, if it
is "STREAMINFO_EXT&q...
2024 Oct 16
1
C API: How to get a seektable for very long files?
Op wo 16 okt 2024 om 16:25 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>:
>
> Yes, overwriting the streaminfo total_samples number is a bit of a hack,
> but it would only affect those files with more than 2^36 samples that
> contains the special seek point, so no difference for the average flac user.
>
> Not sure how the applications actually read flac files, if they
2024 Oct 20
1
C API: How to get a seektable for very long files?
Op zo 20 okt 2024 om 03:08 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>:
>
> I'm not sure what else there could be in "STREAMINFO_EXT" except for
> total samples and sample rate, but maybe there is some other use for (at
> least partially) backward-compatible flac extensions.
>
> Adding that to ffmpeg would also be rather simple.
>
As with any such change, it will take a lot of time to bring all
applications...