IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
end of packet condition during residue decode
alsa
post Jan 12 2007, 21:44
Post #1





Group: Members
Posts: 3
Joined: 12-January 07
Member No.: 39597



Hi to everybody smile.gif

I am developing a simple Ogg-Vorbis decoder in C.
The problem is that during residue-vector decode,the decoder regularly read past the end of packet:very rarely it stops to read before (10-20 bytes before).Is this behavior normal?

I've read on the documentation that is not an error condition,and this can be considered a nominal occurrence,but it seems me strange that a packet codify less or more data of the expectation.

Many thanks in advance
Alberto
Go to the top of the page
+Quote Post
alsa
post Jan 17 2007, 21:33
Post #2





Group: Members
Posts: 3
Joined: 12-January 07
Member No.: 39597



QUOTE (alsa @ Jan 12 2007, 21:44) *
Hi to everybody smile.gif

I am developing a simple Ogg-Vorbis decoder in C.
The problem is that during residue-vector decode,the decoder regularly read past the end of packet:very rarely it stops to read before (10-20 bytes before).Is this behavior normal?

I've read on the documentation that is not an error condition,and this can be considered a nominal occurrence,but it seems me strange that a packet codify less or more data of the expectation.

Many thanks in advance
Alberto


Ok,i have resolved the problem cool.gif
Bye

Alberto
Go to the top of the page
+Quote Post
SebastianG
post Jan 19 2007, 18:24
Post #3





Group: Developer
Posts: 1318
Joined: 20-March 04
From: Göttingen (DE)
Member No.: 12875



Yeah, it sounds more like a bug considering "normal" streams.
However, decoders should not complain about end-of-packet conditions during residue decode since it might be a "peeled" stream.
Go to the top of the page
+Quote Post
alsa
post Jan 28 2007, 09:37
Post #4





Group: Members
Posts: 3
Joined: 12-January 07
Member No.: 39597



Hi SebastianG

Thanks for your answer.

QUOTE (SebastianG @ Jan 19 2007, 18:24) *
However, decoders should not complain about end-of-packet conditions during residue decode since it might be a "peeled" stream.


I've used oggenc1.0-rc2 to encode the stream,maybe it produces only peeled streams.

However,i'm in order to apply the IMDCT to obtain the PCM samples.We will see those that it will happen biggrin.gif

Alberto
Go to the top of the page
+Quote Post
Garf
post Jan 28 2007, 10:48
Post #5


Server Admin


Group: Admin
Posts: 4886
Joined: 24-September 01
Member No.: 13



QUOTE (alsa @ Jan 28 2007, 09:37) *
I've used oggenc1.0-rc2 to encode the stream,maybe it produces only peeled streams.


No current encoder produces them.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th October 2014 - 05:10