Gstreamer 1.0错误:缺少元素:HTTP协议源

Gstreamer 1.0错误:缺少元素:HTTP协议源,gstreamer,Gstreamer,我已经安装了GStreamer1.0,包括基本插件、好插件、丑插件和坏插件。当我使用以下命令运行时: gst-launch-1.0 playbin uri=http://-somr url to video src- 它给了我以下错误: Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. Missing element: HTTP protocol source ERROR: from elemen

我已经安装了GStreamer1.0,包括基本插件、好插件、丑插件和坏插件。当我使用以下命令运行时:

gst-launch-1.0 playbin     uri=http://-somr url to video src-
它给了我以下错误:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Missing element: HTTP protocol source
ERROR: from element /GstURIDecodeBin:uridecodebin0: No URI handler   implemented for "http".
Additional debug info:
gsturidecodebin.c(1416): gen_source_element (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
Setting pipeline to NULL ...
Freeing pipeline ...
我是新来的,并且找到了gstreamer-0.10的大多数解决方案,但这些解决方案对我来说并不适用。顺便说一句,我使用的是ubuntu 14.04

我正在寻找帮助。 提前谢谢

缺少元素:HTTP协议源


意味着你的gstreamer安装有问题,你错过了http客户端源插件。试试gst-inspect-1.0 souphttpsrc?如果没有结果,尝试重新安装插件好。

实际上问题是安装。如果没有安装依赖项,则在make期间不会编译某些插件。运行autogen.sh后,您必须检查哪些插件已安装,哪些未安装。再次感谢cxphong的评论。
 no_source:
  {
    /* whoops, could not create the source element, dig a little deeper to
     * figure out what might be wrong. */
    if (err != NULL && err->code == GST_URI_ERROR_UNSUPPORTED_PROTOCOL) {
      gchar *prot;

      prot = gst_uri_get_protocol (decoder->uri);
      if (prot == NULL)
        goto invalid_uri;

      gst_element_post_message (GST_ELEMENT_CAST (decoder),
          gst_missing_uri_source_message_new (GST_ELEMENT (decoder), prot));

      GST_ELEMENT_ERROR (decoder, CORE, MISSING_PLUGIN,
          (_("No URI handler implemented for \"%s\"."), prot), (NULL));

      g_free (prot);
    } else {
      GST_ELEMENT_ERROR (decoder, RESOURCE, NOT_FOUND,
          ("%s", (err) ? err->message : "URI was not accepted by any element"),
          ("No element accepted URI '%s'", decoder->uri));
    }

    g_clear_error (&err);
    return NULL;
  }