Gstreamer 1.0 error: Missing element: HTTP protocol source
Gstreamer 1.0 error: Missing element: HTTP protocol source
我已经安装了 gstreamer 1.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.
急需帮助。
提前致谢。
Missing element: HTTP protocol source
和
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;
}
意味着你的 gstreamer 安装有问题,你错过了 http 客户端源插件。尝试 gst-inspect-1.0 souphttpsrc
?如果没有结果,请尝试重新安装插件。
我已经安装了 gstreamer 1.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.
急需帮助。 提前致谢。
Missing element: HTTP protocol source
和
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;
}
意味着你的 gstreamer 安装有问题,你错过了 http 客户端源插件。尝试 gst-inspect-1.0 souphttpsrc
?如果没有结果,请尝试重新安装插件。