[Vorbis] brainfart #67453 - hyper-index
Arc Riley
arc
Mon Jul 26 10:57:45 PDT 2004
<200407261514.42528.haxe at pansensack.de>
<200407270253.58473.jwm at eslnz.co.nz>
<200407261847.42274.haxe at pansensack.de>
Message-ID: <20040726175745.GF971 at xiph.org>
On Mon, Jul 26, 2004 at 06:47:42PM +0200, Haxe wrote:
>
> So for this purpose, it would be better to have a track index in a big
> ogg file. Players that understand this index can show the tracks
> correctly, and players that don't understand the index can at least
> play the entire file as one track. In this sense, introducing an
> indexing technique would be backwards compatible and thus much better
> than just putting all tracks in one zip file.
>
The command for this has been in UNIX for a very, very long time. You
don't even need libogg/libvorbis to use it:
# cat track1.ogg track2.ogg track3.ogg >album.ogg
Every player currently out there will see it as one big file, but it'd
be quite easy for a player to be written that could scan the file, know
that they are different tracks, and display them as such.
You will need, however, an Ogg-enabled tool for splitting these apart
into tracks later. Fairly simple to write with py-ogg2. See
examples/reserializer.py for an example of how to work with "chained"
Ogg files.
More information about the Vorbis
mailing list