[gstreamer-bugs] [Bug 435633] [PATCH] videorate not (fully) segment aware; causes framedrops

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Oct 20 10:06:08 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=435633

  GStreamer | gst-plugins-base | Ver: 0.10.12




------- Comment #8 from Mark Nauwelaerts  2007-10-20 17:06 UTC -------
The attached log (debVideoRate) actually does not show any strange behaviour,
but rather illustrates videorate is doing just fine.

Some commented excerpts from the aforementioned log to illustrate:
--
0:00:27.437118000 25730 0x831e3b0 DEBUG            videorate
gstvideorate.c:529:gst_video_rate_event:<videorate2> updated segment: time
segment start=0:00:00.000000000, stop=99:99:99.999999999,
last_stop=0:00:00.000000000, duration=99:99:99.999999999, rate=1.000000,
applied_rate=1.000000, flags=0x00, time=0:00:23.750000000,
accum=0:00:00.000000000
--
This tells videorate that buffers are to be expected with timestamp (around) 0,
and that it therefore should produce nicely regular output buffers *from 0* as
well. Then, the first real buffer comes in:
--
0:00:27.438789000 25730 0x831e3b0 DEBUG            videorate
gstvideorate.c:640:gst_video_rate_chain:<videorate2> got buffer with timestamp
0:00:23.750000000
--
This first one is not (around) 0, but actually a whole lot later.
So, videorate does what it is supposed to do, and produces a burst of buffers
filling the gap between 0 and the first received buffer, which it must do to
produce a 'perfectly rated' stream.

Videorate should not and will not produce such a burst (with the patch
applied), if the NEWSEGMENT would have indicated start (around) 23.75 (as it
should have in this case).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=435633.




More information about the Gstreamer-bugs mailing list