GStreamer 1.16 + glvideomixer = SIGSEGV

时间:2019-04-29 09:45:12

标签: gstreamer alpha sigsegv chromakey

我正尝试在GStreamer 1.16(与Ubuntu 16.04)中使用GPU色度键控。为此,我需要使用glvideomixer和glalpha元素(videomixer和alpha工作,但速度太慢)。我是按照以下指南进行安装的:https://developer.ridgerun.com/wiki/index.php?title=Setting_a_GStreamer_Alternative_Environment

尝试使用文档(https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html//gst-plugins-base-plugins-glvideomixer.html)中提供的glvideomixer示例代码时:

gst-launch-1.0  glvideomixer name=m ! glimagesink \
    videotestsrc ! video/x-raw, format=YUY2 ! glupload ! glcolorconvert ! m. \
    videotestsrc pattern=12 ! video/x-raw, format=I420, framerate=5/1, width=100, height=200 ! queue ! \
    glupload ! glcolorconvert ! m. \
    videotestsrc ! glupload ! gleffects effect=2 ! queue ! m.  \
    videotestsrc ! glupload ! glfiltercube ! queue ! m. \
    videotestsrc ! glupload ! gleffects effect=6 ! queue ! m.

我遇到了细分错误:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Redistribute latency...
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 26169' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

使用Gstreamer 1.8.3(Ubuntu 16.04提供的版本)时,该命令有效,但是glalpha元素丢失。

glvideomixer仍适用于1.16吗?

0 个答案:

没有答案