search for: metadata_block_streaminfo2

Displaying 4 results from an estimated 4 matches for "metadata_block_streaminfo2".

2024 Oct 14
1
C API: How to get a seektable for very long files?
...use the first place holder, set stream_offset to the > total samples and some magic value in frame_samples. That should > definitly be backward compatible as these values are undefined for > placeholders. > > Another option would of course be to add a new type of > metadata, like METADATA_BLOCK_STREAMINFO2, but I don't know how > backwards compatible that is. > I have plans to add an API function that returns the total number of samples if unknown or wrong. It should work by seeking to almost the end of the file, finding the last frame and returning the number of samples that follows from...
2024 Oct 14
1
C API: How to get a seektable for very long files?
...r. Another option would be to use the first place holder, set stream_offset to the total samples and some magic value in frame_samples. That should definitly be backward compatible as these values are undefined for placeholders. Another option would of course be to add a new type of metadata, like METADATA_BLOCK_STREAMINFO2, but I don't know how backwards compatible that is. Best regards Stefan
2024 Oct 15
1
C API: How to get a seektable for very long files?
...der, set stream_offset to the >> total samples and some magic value in frame_samples. That should >> definitly be backward compatible as these values are undefined for >> placeholders. >> >> Another option would of course be to add a new type of >> metadata, like METADATA_BLOCK_STREAMINFO2, but I don't know how >> backwards compatible that is. >> > > I have plans to add an API function that returns the total number of > samples if unknown or wrong. It should work by seeking to almost the > end of the file, finding the last frame and returning the number of...
2024 Oct 14
1
C API: How to get a seektable for very long files?
Op zo 13 okt 2024 om 22:33 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>: > > Is the seektable written at the beginning of the file in the metadata > block or can there also be a second metadata block at the end? > Only at the start of the file. > > If it's at the beginning, would it possible to reserve space for N seek > points and during encoding remember