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> <
<a href="mailto:zon7mail@gmail.com">zon7mail@gmail.com</a>> 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> ti.width=320
;<br> ti.height=240;<br> ti.frame_width=320;<br> ti.frame_height=240
;<br> ti.offset_x=0;<br> ti.offset_y=0;<br> ti.fps_numerator=100000000;<br> ti.fps_denominator=1000000;<br> ti.aspect_numerator=1;<br> ti.aspect_denominator=1;<br> ti.colorspace=OC_CS_UNSPECIFIED;<br>
ti.pixelformat=OC_PF_420;<br> ti.target_bitrate=0;<br> ti.quality=5;<br><br> ti.dropframes_p=0;<br> ti.quick_p=1;<br> ti.keyframe_auto_p=1;<br> ti.keyframe_frequency=64;<br> ti.keyframe_frequency_force=64
;<br> ti.keyframe_data_target_bitrate=0;<br> ti.keyframe_auto_threshold=80;<br> ti.keyframe_mindistance=8;<br> 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> <<a href="mailto:giles@xiph.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">giles@xiph.org</a>> 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>> I have a windows App, capturing a frame form a webcam at 100ms interval.<br>> That should be a 10fps rate, but if I configure the theora header with this<br>> values<br>> ti.fps_numerator=10;<br>>
ti.fps_denominator=1;<br>> 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 "not ok"?<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.