<div class="gmail_quote"><div>Hello Conrad, <br>I'm trying to seek the way you told but I'm facing a problem. ogg_page_packets returns 164 and following code returns 189. Shouldn't it be the same, what does that means ?<br>
<br><div style="margin-left: 40px;">int res;<br></div><div style="margin-left: 40px;">while (true)<br></div><div style="margin-left: 40px;">{<br></div><div style="margin-left: 40px;"> res = ogg_stream_packetout(&os, &op);<br>
</div> <br> if (res == 1)<br><div style="margin-left: 40px;"> nPackets++;<br></div> <br> if (res == -1)<br> printf("out of sync\n");<br>
<br> if (res == 0) // we need another page<br><div style="margin-left: 40px;"> break;<br>} </div></div><div><br>Thanky you, <br>Arnau<br></div></div><br>