[Bug 659489] h264parse: Calculate PTS from DTS (and vice-versa)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Sep 7 15:42:12 PDT 2014


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

--- Comment #39 from sreerenj <bsreerenj at gmail.com> 2014-09-07 22:42:06 UTC ---
Are we considering the DTS of a a frame as "DTS_Of_Previous_Frame +
Duration_Of_Previous_Frame" in Gstreamer?
If so it won't be right for all the cases in h264.
Let say there is a SEI Picture Timing messages which indicates the frame
duration as double (pic_struct == FrameDoubling),
then the prev_frame_dts + prev_duration = next_frame_dts won't work. Because
here this frame duration has nothing to do with deocoding time,
but it only affect the PTS of the frame.

This will complicate the PTS calculation too. I think it is impossible to find
out the PTS of a frame with in parser element if pic_struct >= 3  which
includes frame doubling , frame tripling etc. Because we have no clue about the
frame 
duration associated with other pictures having poc less than the current
frame's poc.
But in all other cases we can still interpolate the PTS based on POC.

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