<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 11/11/16 02:16, David Ventura wrote:<br>
<blockquote
cite="mid:%3CCA+UPfZ7cY8150uYZKGqQkig9j4qBS3zSBg9EGFv1gtY6KecBsw@mail.gmail.com%3E"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>I've recompiled plugins-bad with these options:</div>
<div><br>
</div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0)"> --disable-gtk-doc
--disable-opengl --enable-gles2 --enable-egl --disable-</span><br>
glx --disable-x11 --disable-wayland --enable-dispmanx<br>
</span>
<div><br>
</div>
<div>Which gives me a working glimagesink without X11. My
problem is that the videos are played in their original
resolution, and low-resolution videos are not stretched to
fit the framebuffer resolution.</div>
</div>
</div>
</blockquote>
<br>
There are a couple of options:<br>
1. use the glcolorscale to scale the GL texture to the framebufer
size, this use an extra GL texture the size of your framebuffer and
may be too slow for you.<br>
2. set the size of the dispmanx window with
gst_video_video_overlay_set_render_rectangle(). Only implemented
for dispmanx in GStreamer 1.10+<br>
2. provide your own dispmanx handle to glimagesink with
gst_video_overlay_set_window_handle() that you control the size of
using dispmanx API. Only implemented for dispmanx in GStreamer
1.10+<br>
<br>
Cheers<br>
-Matt<br>
<br>
<blockquote
cite="mid:%3CCA+UPfZ7cY8150uYZKGqQkig9j4qBS3zSBg9EGFv1gtY6KecBsw@mail.gmail.com%3E"
type="cite">
<div dir="ltr">
<div>
<div>My pipeline</div>
<div><br>
</div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0)">gst-launch-1.0 filesrc
name=file location=Immune_Response.mp4 ! decodebin
name=dec ! queue ! glimagesink dec. ! queue !
audioconvert ! volume volume=0.1 name=vol ! autoaudiosin</span>k<br>
</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><br>
</div>
<div><span style="font-family:monospace">Adding a
"videoconvert ! videoscale " between the queue and
glimagesink doesn't change anything.</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">Right now I'm missing
glupload (To follow this pipeline [1]). What do I need to
add to my configure parameters?</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">David</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">[1]: </span><font
face="monospace"><a moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/GL-Video-Scaling-td4676413.html"
target="_blank">http://gstreamer-devel.<wbr>966125.n4.nabble.com/GL-Video-<wbr>Scaling-td4676413.html</a><br>
--</font> </div>
<div class="gmail-m_-8648127312696755791gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div><b>Stack</b> is the new term for "I have no idea
what I'm actually
using".</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>