[gst-devel] Decoded video frame timings
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Jan 13 21:04:54 CET 2011
On Wed, 2011-01-12 at 08:25 +0000, Darren Staples wrote:
Hi,
(is this a double-post?)
> I'm decoding video frames (various file formats and codecs) and
> converting them into YUV420 format so that I can perform image
> processing on them. (..)
> My problem is that I need to extract the frame timings (..),
> and I'm seeing a large variance in this. (..)
> When I recover a frame from the appsink component I use the
> gst_element_query_position() function to get the timing for that
> frame.
Try looking at the GST_BUFFER_TIMESTAMP (buffer) instead.
Cheers
-Tim
More information about the gstreamer-devel
mailing list