[Bug 595614] gst-plugins-base-0.10.24: theora/enc/dec playback drops buffers/freezes intermittently

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 26 05:16:23 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=595614
  GStreamer | gst-plugins-base | 0.10.x

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk

--- Comment #6 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-10-26 12:16:17 UTC ---
This does not seem to be due to v4l2 timestamps, but simply the extra latency
from Theora encoding.
On my machine (Intel i7 at... 2.7 GHz or 1.2 GHz, not sure if it speeds up when
encoding, but it doesn't really matter), libtheora encodes a 640x480 frame in
roughly:

default parameters: 0.1 seconds
quality=1 speed-level=4: 0.015 seconds

The second one yields fluid motion, albeit with bad quality. The first one,
well... that's the same latency as 3 whole frames. Compare with the whole
pipeline latency which was set to 0.03 - a third of the latency introduced by
theoraenc.

Should elements such as encoders estimate and add their own latency to a
latency query ? Those don't seem trivial to estimate, as latency will depend on
frame complexity. Looking arbitrarily:
- schroenc does, but it looks like an inherent frame-based latency, not sure
- x264enc does not.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list