[theora-dev] My issues with ogg and directshow...
ogg at illiminable.com
Mon May 10 20:10:15 PDT 2004
This is from libfishsound, which is the wrapper i'm using to libvorbis...
/* Make a fake ogg_packet structure to pass the data to libvorbis */
op.packet = buf;
op.bytes = bytes;
op.b_o_s = (fsv->packetno == 0) ? 1 : 0;
op.e_o_s = 0;
op.granulepos = 7;
op.packetno = fsv->packetno;
I've been using it just fine, and i'm sure conrad has been for a lot longer,
i'm sure he can explain why it works !... it clearly doesn't make that much
difference... if any at all.
A quick search in libvorbis, i can see it being stored a few places... but
not actually used for anything !
----- Original Message -----
From: "Michael Smith" <msmith at xiph.org>
To: <theora-dev at xiph.org>
Sent: Tuesday, May 11, 2004 10:28 AM
Subject: Re: [theora-dev] My issues with ogg and directshow...
<p>> On Tuesday 11 May 2004 12:27, illiminable wrote:
> > > Sounds like Aaron's suggestion of using native timestamps outside the
> > > demux is a good one.
> > Yeah... i wanted to do that originally, the reason i didn't is that some
> > the decoders still need a granule pos... i think theora and flac from
> > memory... vorbis and speex just ignore the granule pos field in teh
> > anyway. Which just meant converting back to granule pos straight away.
> Vorbis certainly doesn't ignore the granulepos field - it requires it for
> correct operation, so I really hope you aren't throwing it away.
> FWIW, I agree with the suggestion that using native timestamps throughout
> (except within particular codec filters) is a good idea.
> --- >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
'theora-dev-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.
<p>--- >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 'theora-dev-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 Theora-dev