<div dir="ltr">Hi Adrien,<div><br></div><div>Thanks for your answer.</div><div><br></div><div>From what I've seen up to now, it is possible to use the GstClock from the Pipeline and schedule a one shot timer (gst_clock_new_single_shot_id) and register an async notification (gst_clock_id_wait_async). But I'm not sure yet. That would solve the timestamp problem.</div>
<div><br></div><div>The frame number seems to be trickier. For now, I believe I'll have to use a pad probe in the decoder output pad to monitor this. Another approach would be creating a custom filter and insert it after the decoder.</div>
<div><br></div><div>What do you think about it?</div><div>Anyone else has a better idea?</div><div><br></div><div>Thanks very much,</div><div>Marcus</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Oct 24, 2013 at 6:59 AM, adrien_sch <span dir="ltr"><<a href="mailto:adrien.schwartzentruber@gmail.com" target="_blank">adrien.schwartzentruber@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's possible.<br>
<br>
I don't know if it is the best way, but you can had a buffer probe at the<br>
end of your pipeline and check the buffer time. You can easily fire a signal<br>
when your condition are ok.<br>
<br>
Some glues :<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html</a><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Events-based-on-frame-number-and-timestamp-tp4662809p4662828.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Events-based-on-frame-number-and-timestamp-tp4662809p4662828.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Marcus Nascimento<br><br>
</div>