<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
If you want to feed textures, then vaapisink is not the option ;)<br>
You haveĀ to use GstVideoGLTextureUploadMeta in the renderer....<br>
Either use upstream "glimagesink" or use clutter-gst....<br>
<br>
<div class="moz-cite-prefix">On 29.09.2015 15:38, Dolevo Jay wrote:<br>
</div>
<blockquote cite="mid:DUB128-W8813AC3EE0AACDAE250344AA4E0@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi,
<div><br>
</div>
<div>In my device, I receive video streams from different
sources (local or remote). After decoding them, I show them on
the display using OpenGL. So far, all decoding was done in
software. I was receiving RGB frames from each source and
uploading them to certain textures to render them. The sources
are now decoded in hardware using gstreamer-vaapi. An example
gst line is as follows: gst-launch-1.0 filesrc
location=/store/1.mp4 ! qtdemux ! vaapidecode ! vaapisink
display=2</div>
<div>This works great. However, as you might imagine, vaapisink
creates its own wondow and draw the decoded frames onto it.
What I would like to do is to feed the textures that I created
in my application and feed them to vaapidecode or vaapisink
element so that the rendering can happen in my canvas. I have
been digging into the vaapidecode and vaapisink elements to
see where the textures are uploaded, but couldn't spot the
exact line to feed my texture info into. Could anyone help me?
A function name, or a line number or any hint would be greatly
appreciated.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libva mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/libva">http://lists.freedesktop.org/mailman/listinfo/libva</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks
Sree</pre>
<p>---------------------------------------------------------------------<br>
Intel Finland Oy<br>
Registered Address: PL 281, 00181 Helsinki <br>
Business Identity Code: 0357606 - 4 <br>
Domiciled in Helsinki </p>
<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</p></body>
</html>