[vorbis] Various Ogg Vorbis largefile notes and/or patches

Barry Bouwsma bugs at remove-NOSPAM-to-reply.NOSPAM.dyndns.dk
Sun May 23 23:41:25 PDT 2004



Greetings one and all;

I'm not subscribed to this list so I'm first sending this message
to verify that mails from me make it through, and then later I'll
send the juicy messages with patches.  Also, the address I'm using
is IPv6-only and doesn't often work, so drop me from any replies
and I'll catch the archives, or drop only the hostname part to get
an IPv4 address that doesn't always work either.

Anyway, I've been working with ogg123/oggenc and large files as
both source and destination.  (Large files being those several GB
in size, for which 64-bits are needed.)  This has exposed some
weaknesses that I've tried to hack around.  I'll explain in messages
to follow, each problem that I'm addressing along with brutish hacks
and/or patches that I've concocted to solve the observed problem.

The platform I've used is FreeBSD which is generally clean for large
files; others who are familiar with other platforms will need to fit
my hacks into a more general case.  My source code is a couple months
old by now since I've been offline and unable to update, so perhaps
some of my hacks are no longer relevant.

The problems I've noted, to be addressed in following messages (if
this one makes it through), include:
*)  WAV files (that store the alleged file size in a 32-bit header
    field) can easily be many gigs in size, but oggenc believes the
    header value rather than the actual file size;
*)  An Ogg Vorbis file greater than 4GB in size required a handful
    of hacks to the ogg123 source before it would partially play --
    still I haven't gotten playback to be perfect;
*)  After some time, playback of a long file would degenerate into
    static.

There may be others; I don't have my messages/hacks at hand right now.

Anyway, in some days or weeks or whenever I manage to get online
again, I'll send the messages describing the above problems in more
detail, as well as my alleged solutions for them, to help oggenc and
ogg123 handle files with days worth of audio.

thanks,
barry bouwsma

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list