Frame seq numbers and timestamps.
josh at joshdoe.com
Tue Dec 6 06:42:14 PST 2011
On Tue, Dec 6, 2011 at 8:21 AM, Tõnu Jaansoo <chain at bsd.ee> wrote:
> Please let me get this straight - in gstreamer there is no concept of frame sequence numbers, only timestamps in guint64 ? I dont know much about different video container internals, but does any container keep frame seq index or is it just timestamps in stream? I got by this issue by constructing another pipeline to run through the container fast, collect all timestamps of all the frames, sort these timestamps, and then create hash table for timestamp->index conversion and a table to do index->timestamp.
> The question is that is that what i have to do, or is there some other way which i am not aware of? Similar topic has been discussed, but that did not make it clear for me at least.
I don't think I fully understand what you're trying to do. GstBuffer
has an offset field which is used to indicate the frame number. What
are you doing with your hash table?
More information about the gstreamer-devel