Well, problem solved.<br>I'm capturing from a webcam and using a simple buffer. As the ogg packet was not filled with a single frame, my bucle feeded it with the same frame again.<br>Not only was that the problem with the fps, but also of the file size.
<br>Now that it's solved the 10 seconds files have decreased from 250 kb to 40-60 kb.<br>Just changed to ogg_stream_flush.<br><br><br><div><span class="gmail_quote">On 7/31/06, <b class="gmail_sendername">Jere Gmail</b> &lt;
<a href="mailto:zon7mail@gmail.com">zon7mail@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Yes, I have uploaded a sample file coded with 100/1 and the other with 10/1. 
<br>They are both coded using the same program and parameters, a frame each 100ms.<br><br><a href="http://www.alu.ua.es/j/jma27/out_ok.ogg" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.alu.ua.es/j/jma27/out_ok.ogg
</a><br><a href="http://www.alu.ua.es/j/jma27/out_bad.ogg" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.alu.ua.es/j/jma27/out_bad.ogg</a><br><br>And I'm using this parameters<br>&nbsp;&nbsp;&nbsp; ti.width=320
;<br>&nbsp;&nbsp;&nbsp; ti.height=240;<br>&nbsp;&nbsp;&nbsp; ti.frame_width=320;<br>&nbsp;&nbsp;&nbsp; ti.frame_height=240
;<br>&nbsp;&nbsp;&nbsp; ti.offset_x=0;<br>&nbsp;&nbsp;&nbsp; ti.offset_y=0;<br>&nbsp;&nbsp;&nbsp; ti.fps_numerator=100000000;<br>&nbsp;&nbsp;&nbsp; ti.fps_denominator=1000000;<br>&nbsp;&nbsp;&nbsp; ti.aspect_numerator=1;<br>&nbsp;&nbsp;&nbsp; ti.aspect_denominator=1;<br>&nbsp;&nbsp;&nbsp; ti.colorspace=OC_CS_UNSPECIFIED;<br>

&nbsp;&nbsp;&nbsp; ti.pixelformat=OC_PF_420;<br>&nbsp;&nbsp;&nbsp; ti.target_bitrate=0;<br>&nbsp;&nbsp;&nbsp; ti.quality=5;<br><br>&nbsp;&nbsp;&nbsp; ti.dropframes_p=0;<br>&nbsp;&nbsp;&nbsp; ti.quick_p=1;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_auto_p=1;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_frequency=64;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_frequency_force=64

;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_data_target_bitrate=0;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_auto_threshold=80;<br>&nbsp;&nbsp;&nbsp; ti.keyframe_mindistance=8;<br>&nbsp;&nbsp;&nbsp; ti.noise_sensitivity=1;</div><div><span class="e" id="q_10cc1a172f5a1790_1"><br><br><br><div><span class="gmail_quote">
On 7/30/06, <b class="gmail_sendername">
Ralph Giles</b> &lt;<a href="mailto:giles@xiph.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">giles@xiph.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Jul 30, 2006 at 07:59:49PM +0200, Jere Gmail wrote:
<br>&gt; I have a windows App, capturing a frame form a webcam at 100ms interval.<br>&gt; That should be a 10fps rate, but if I configure the theora header with this<br>&gt; values<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;ti.fps_numerator=10;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
ti.fps_denominator=1;<br>&gt; VLC tells me that it has a 10.0 fps rate but the video is not ok.<br><br>Can you be more specific about &quot;not ok&quot;?<br><br> -r<br></blockquote></div><br><br clear="all"><br></span></div>
<div><span class="e" id="q_10cc1a172f5a1790_2">-- <br><a href="http://www.apple.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.apple.com</a><br>A veces me da por ahi. Otras como que no.

</span></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.apple.com">http://www.apple.com</a><br>A veces me da por ahi. Otras como que no.