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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 8 14:29:22 PDT 2014


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

--- Comment #40 from sreerenj <bsreerenj at gmail.com> 2014-09-08 21:29:13 UTC ---
I wrote some code to handle the pts/dts stuff:
http://cgit.freedesktop.org/~sree/gst-plugins-bad/commit/?h=h264-pts

It still need some careful review and testing. I only did some basic testing.
PTS is generating based on POC and frame_count. 
And as I mentioned before, it won't try to find pts if pic_struct value >=3.
Anyone have better interpolation methods???

Right now, if the stream coming from a container like mp4 or matroska then the
parser will be working in a pass-through mode by default(in most cases unless
we try to change the stream-format or alignment) and it didn't parse the slice
headers at all. So the current code path for TS generation wont't get invoked.

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