[Bug 652158] [baseparse] doesn't interpolate timestamps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 9 01:27:37 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=652158
  GStreamer | gst-plugins-base | git

--- Comment #5 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2011-06-09 08:27:34 UTC ---
In as much as (I feel that) downstream can only 'correct' (rather than
complement/supplement) upstream that far, yes.  And it is a bit open as to how
'correct' a timestamp can be for a piece of a frame.

Also, the size-to-time == bitrate relation assumed by the calculation need not
be valid for all possible types of 'frame' and as such restrict what baseparse
can do [*]


[*] it might be argued that baseparse does actually estimate a bitrate and uses
this one for (approximate) position tracking etc fairly generally, so one might
then use this bitrate in stead to perform some interpolation on partial frame.
However, that would introduce even more 'approximation' into baseparse, and no
real assurance how well that works (in combination with possibly bogus
upstream), so such behaviour should probably be optional (controlled by some
property).  Only the interpolation performed currently (and described earlier)
can really be exact.

-- 
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