<div dir="ltr">Hi all,<div><br></div><div>I've been trying to get a gl plugin to transform a video and then feed that output to an encoder</div><div><br></div><div>This is the sample pipeline I'm using.</div><div><br>
</div>
<div>gst-launch -v filesrc location=/tmp/sintel_trailer-480p.webm ! decodebin ! glfilterreflectedscreen ! video/x-raw, format=I420,framerate=25/1 ! xvimagesink<br></div><div><br></div><div>This works ok, but image rendering on Xv is really slow.</div>

<div><br></div><div>Having a look to the gstreamer threads it looks like gstglcontext is taking all the CPU time.</div><div><br></div><div>If I replace xvimagesink for glimagesink (removing the forced caps) frame rendering is fast, as expected.</div>

<div><br></div><div>What I'd like to achieve is to encode that GPU processed video using, for instance, x264enc.</div><div><br></div><div>Any thoughts?</div><div><br></div><div>Regards,</div><div>Juan</div><div><br></div>
</div>