"Full screen" video playing on raspberry pi without Xorg
Matthew Waters
ystreet00 at gmail.com
Fri Nov 11 01:54:52 UTC 2016
On 11/11/16 02:16, David Ventura wrote:
> Hi
>
> I've recompiled plugins-bad with these options:
>
> --disable-gtk-doc --disable-opengl --enable-gles2 --enable-egl --disable-
> glx --disable-x11 --disable-wayland --enable-dispmanx
>
> 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.
There are a couple of options:
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.
2. set the size of the dispmanx window with
gst_video_video_overlay_set_render_rectangle(). Only implemented for
dispmanx in GStreamer 1.10+
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+
Cheers
-Matt
> My pipeline
>
> 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 ! autoaudiosink
>
>
> Adding a "videoconvert ! videoscale " between the queue and
> glimagesink doesn't change anything.
>
>
> Right now I'm missing glupload (To follow this pipeline [1]). What do
> I need to add to my configure parameters?
>
> David
>
> [1]: http://gstreamer-devel.966125.n4.nabble.com/GL-Video-Scaling-td4676413.html
> <http://gstreamer-devel.966125.n4.nabble.com/GL-Video-Scaling-td4676413.html>
> --
> *Stack* is the new term for "I have no idea what I'm actually using".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161111/07bb6060/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161111/07bb6060/attachment-0001.sig>
More information about the gstreamer-devel
mailing list