re-ordering timestamps GstVideoDecoder

Spruyt, Randy Randy.Spruyt at christiedigital.com
Fri Jan 23 07:05:51 PST 2015


Haven't looked at this yet, but will likely be doing this in the coming months. If you find a solution, post it up here.

Thanks,
Randy

From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Thornton, Keith
Sent: Friday, January 23, 2015 9:51 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: re-ordering timestamps GstVideoDecoder

Hi,
I have a decoder plugin which makes use of the Intel QuickSync decoder under Windows 7 /64 bit. The Frames arrive from the GstVideoDecoder base class in DTS frame order.
The QuickSync decoder re-orders the output frames and returns them in PTS order. When these frames are returned to the base class via gst_decoder_finish_frame, some frames are discarded with a warning "decreasing timestamp" This appears to be because the PTS timestamp in the frame is older than the most current PTS timestamp passed from the base class to my decoder.
In the source code there is a comment that re-ordering is a TODO. It is also written that the derived class is responsible for setting the PTS correctly before calling gst_decoder_finish_frame.
Has anyone else encountered this problem and has found a solution.?
Thanks in advance for any comments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150123/3b9c03f2/attachment-0001.html>


More information about the gstreamer-devel mailing list