【问题标题】:Gstreamer - errorneuos_pipeline: no element "souphttpsrc"Gstreamer - errorneuos_pipeline:没有元素“souphttpsrc”
【发布时间】:2023-01-13 13:29:13
【问题描述】:

我在 Mac OS Monterrey 上安装了 gstreamer,我还安装了 gst-plugins。

brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ffmpeg

我能够运行以下命令并根据此处的文档获取输出。 (https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html?gi-language=c#gstlaunch10)

gst-launch-1.0 videotestsrc pattern=11 ! videoconvert ! autovideosink

以上命令成功执行。

但是某些管道的命令无法运行。

gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_0 ! matroskamux ! filesink location=sintel_video.mkv

命令失败,以下结果记录在控制台中。

WARNING: erroneous pipeline: no element "souphttpsrc"
  • 为什么这里缺少一些管道,因为它们是 应该使用四个插件组之一安装? (gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly)
  • 如何让插件souphttpsrc 工作?
  • 插件是否已删除、弃用或重命名?

谢谢。

【问题讨论】:

  • 询问 brew 维护者。 Gstreamer 提供了自己的官方安装程序。

标签: video video-streaming gstreamer pipeline gstreamer-1.0


【解决方案1】:

这是 gst-plugins-good 版本 1.20.0 的一个已知问题,已在 1.20.1 中修复。参考https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1007

我已经打开了一个拉取请求 - https://github.com/Homebrew/homebrew-core/pull/97969 将插件的 brew 公式更新到 1.20.1(合并 04/01)

gstreamer 和 gst-plugins-* 1.20.1 现在可以通过 brew 安装。

【讨论】:

    【解决方案2】:

    我有同样的问题,但是在我的 Mac Ventura (Apple M1) 下最新的 gst-plugins(v1.20.5)

    gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_0 ! matroskamux ! filesink location=sintel_video.mkv
    

    命令失败

    WARNING: erroneous pipeline: no element "souphttpsrc"
    

    v1.20.5

    gst-launch-1.0 --version                                                                                                        
    gst-launch-1.0 version 1.20.5
    GStreamer 1.20.5
    Unknown package origin
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-06-27
      • 2021-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多