number of actual frame

Stefan Sauer ensonic at hora-obscura.de
Mon Apr 9 02:10:02 PDT 2012


On 04/05/2012 02:42 PM, padam wrote:
> Hi, this is my first post. I have to say, that my english isn't well, so you
> have to forgive me.
>
> So, i am writing a little application in C using Gstreamer, but i don't know
> how to get information about actual frame. I should be able to check that,
> when i'm watching movie or listening mp3, or other formats. Another problem
> is that i would like to get to concrete frame. For example i paused a movie,
> i check that i'm in 200 frame (it don't have to be keyframe) and i want to
> tell app that i want to get to 198 frame.
The GST_BUFFER_OFFSET will tell you the framenumber for raw-video and
the sample offset for raw audio. You can also find out about it from an
application by sending a position query with format "default" (might
need some extra work to query it from the right sink; audio or video).

Stefan

> I don't know what to do. i thinking about it over few days, and i can't come
> up with any idea.
> Please for help.
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/number-of-actual-frame-tp4534716p4534716.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list