<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le ven. 10 août 2018 08:11, vk_gst <<a href="mailto:venkateshkuppan26@gmail.com">venkateshkuppan26@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am using the following pipeline : <br>
<br>
v4l2src -> queue -> h264parse -> avdec_h264 -> glupload -> glcolorconvert -><br>
gltransformation -> glimagesink <br>
<br>
The above pipeline works perfectly fine, with gltransformation being applied<br>
continuously over the incoming video. <br>
<br>
Now I want to simulate the following : <br>
<br>
1. Start the video at time t0.<br>
2. Pause the video at time t1, and resume at time t2. <br>
3. Be able to apply the 'gltransformation' on the frame displayed on<br>
render-window,  during the time between t1 & t2. <br>
4. Video resumed at time t2, must have the current frames, and not the old<br>
frames captured between t1-t2.<br>
<br>
I have read notes/articles, that explain 'pause' and 'resume' are performed<br>
at the sink, with buffering of the old frames, to allow smooth playing. But<br>
doing this at the sink side, will not allow me to apply 'gltransformation'<br>
for the time the video is paused.  I also tried using the 'valve' element,<br>
but did not prove useful for the case. <br>
<br>
Can anyone provide me some hints for tackling this problem? <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">What works, but is a bit slow, it to issue a flushing seek at t1 after changing the filter (gltransformation) properties. It's a bit like a commit operation.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>