Displaying video in Raspbian Buster Gstreamer via GLES (not OpenGL).
Posted: Tue Jul 23, 2019 9:43 pm
Hello to all!
Raspbian Stretch includes Gstreamer 1.10.4. I have compiled the gstreamer1.0-plugins-bad module with the flags "...-disable-x11 --disable-glx --disable-opengl --disable-wayland --enable-gles2 --enable-egl --enable-dispmanx..." to display video via GLES (see this thread) . Displaying is done using the GPU in a separate layer on top of all X11 windows.
Raspbian Buster includes Gstreamer 1.14.4, by default, video is displayed using OpenGL. Removing or compiling a gstreamer1.0-plugins-bad similar to the algorithm for Raspbian Stretch doesn't help - Gstreamer tries to use the OpenGL. I think that in this version of Gstreamer, the "glimagesink" element is not in gstreamer1.0-plugins-bad, but in gstreamer1.0-plugins-base.
If the OpenGL driver is included in raspi-config, the hardware acceleration works, but I assume that GLES works better. How do I get the video displaying via GLES?.
Thanks in advance for the answers.
Raspbian Stretch includes Gstreamer 1.10.4. I have compiled the gstreamer1.0-plugins-bad module with the flags "...-disable-x11 --disable-glx --disable-opengl --disable-wayland --enable-gles2 --enable-egl --enable-dispmanx..." to display video via GLES (see this thread) . Displaying is done using the GPU in a separate layer on top of all X11 windows.
Code: Select all
gst-launch-1.0 videotestsrc ! glimagesinkRaspbian Buster includes Gstreamer 1.14.4, by default, video is displayed using OpenGL. Removing or compiling a gstreamer1.0-plugins-bad similar to the algorithm for Raspbian Stretch doesn't help - Gstreamer tries to use the OpenGL. I think that in this version of Gstreamer, the "glimagesink" element is not in gstreamer1.0-plugins-bad, but in gstreamer1.0-plugins-base.
If the OpenGL driver is included in raspi-config, the hardware acceleration works, but I assume that GLES works better. How do I get the video displaying via GLES?.
Thanks in advance for the answers.