<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 20 déc. 2017 9:00 AM, "cicero" <<a href="mailto:ciceromarcus@yandex.ru">ciceromarcus@yandex.ru</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings.<br>
<br>
I'm looking for a reliable way to composite a bunch of video frames<br>
into a single one on my server (arch linux amd64). As far as I know<br>
``videomixer'' is sort of deprecated and everybody suggest ``compositor''.<br>
Unfortunately compositor's performance is horrible in my case for some reason (on quite powerful<br>
6th gen mobile Xeon, maybe I'm doing something wrong, but it fails to merge 10<br>
frames into one 720p at 25 fps). On </blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">It still need improvement, like more optimization and thread support. Its no different then videomixer in this regard. One trick is to set the background to black, that helps. You can also do multiple composition in order to use multiple threads.</div><div dir="auto"><br></div><div dir="auto">the</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> other hand glvideomixer works as a charm,<br>
however it fails to initialize egl context without Xorg server instance<br>
running  (which is undesirable on a server). It fails with:<br>
<br>
0:00:29.691145203 742 0x7f5b400e7190 WARN glbasefilter<br>
gstglbasefilter.c:393:gst_gl_b<wbr>ase_filter_decide_allocation: error:<br>
Failed to initialize egl: EGL_NOT_INITIALIZED<br>
<br>
0:00:38.723218316 549 0x7fe5bc0e69e0 INFO GST_ERROR_SYSTEM<br>
gstelement.c:1938:gst_element_<wbr>message_full_with_detils:<glco<wbr>lorconvertelement2> <br>
posting message: Failed to initialize egl: EGL_NOT_INITIALIZED<br>
<br>
0:00:38.723237521 549 0x7fe5bc0e69e0 WARN basetransform<br>
gstbasetransform.c:974:gst_bas<wbr>e_transform_do_buffer<br>
pool:<glcolorconvertelement2> Subclass failed to decide allocation<br>
<br>
even with EGL_PLATFORM=drm<br>
<br>
Is there a way to make opengl elements work on a server without X server? Or<br>
is there any way to improve compositor performance?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">We only support GLX and Wayland on Linux (set GST_GL_WINDOW=x11/wayland). DRM support is being worked on.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><a href="https://bugzilla.gnome.org/show_bug.cgi?id=782923">https://bugzilla.gnome.org/show_bug.cgi?id=782923</a><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Here is my pipeline:<br>
<br>
<a href="https://imgur.com/a/eAisO" rel="noreferrer" target="_blank">https://imgur.com/a/eAisO</a><br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div></div></div>