[Bug 734386] mpegvideoparse: generate proper PTS for outgoing frames

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 12 04:14:52 PDT 2014


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

--- Comment #9 from sreerenj <bsreerenj at gmail.com> 2014-08-12 11:14:46 UTC ---
(In reply to comment #8)
> Not that specifically, sreerenj seems to be saying that raw elementary streams
> don't get PTS calculated by the parser - which has always been true. In that
> situation, the existing vaapi code will generate PTS, and still propagate
> upstream PTS when they do exist.

Exactly :)

Parsers should generate PTS if and only if upstream didn't provide those. 
And that should be based on display-order, basically poc .

Copying the code from vaapideocde_mpeg2 to mpegvideoparse seems to be straight
forward. If I understood correctly the poc calculation based on h264 spec is
complicated but that is the only way to find out the display order with in
parser, not like decoder where you can utilize the GstAdapter and other
heuristics to find out PTS with out following the specification exactly.

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