Keeping count of number of frames

Nicolas Dufresne nicolas.dufresne at collabora.com
Thu Sep 11 07:29:17 PDT 2014


Le 2014-09-11 07:01, Rahool Paliwal a écrit :
> Hi,
> I have a video post processing element of my own.
> I want to be able to find out exactly which frame (frame, not buffer) 
> I am operating on before giving to down stream renderer. (Assuming 
> that the first frame was #0 for ex.)
>
> Is there any other way than having a static count in my plugin?
>
> Maybe something from demuxer or GstVideoDecoder class?
>
In Pitivi we interpolate this from the buffer stream-time. Unless your 
stream is few years long, this should be frame perfect.

Nicolas


More information about the gstreamer-devel mailing list