【发布时间】: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