Sorry the basic questions but first of all, what are the packet used afterall?? seems that only pages are important if i have a segment table like the one listed above means that i have 4 packets and each value is its size??? 199 195 200 207 --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Fri, Mar 19, 2004 at 11:32:37AM -0300, Adriano Almeida wrote:> Sorry the basic questions but first of all, what are the packet used afterall?? seems that only pages are importantThe codec only deals with packets. For storage or transmission in the ogg bitstream format, packets are segmented and packed into pages. So there's two separate layers of parsing: file->pages->packets and packets->audio.> if i have a segment table like the one listed above means that i have 4 packets and each value is its size??? > > 199 195 200 207Correct. -r --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Saturday 20 March 2004 01:32, Adriano Almeida wrote:> Sorry the basic questions but first of all, what are the packet used > afterall?? seems that only pages are important > > if i have a segment table like the one listed above means that i have 4 > packets and each value is its size??? > > 199 195 200 207The packets are more crucial, really - they are the individual units of the actual codec. The pages provide additional information on top of that - framing, checksums, stream id, etc. Yes, those segment values represent 4 packets with those lengths (in bytes). This assumes it's not a continued page, though. Mike --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.