在安装的gstreamer1.0中找不到uridecodebin
问题描述:
我在尝试gstreamer SDC文档中的例子。在安装的gstreamer1.0中找不到uridecodebin
特别this page,建议使用URIDecodebin这样的:
gst-launch-1.0 uridecodebin uri=file:///test.ogg ! ! audioconvert \
! audioresample ! autoaudiosink
但我立即得到这个错误:
ERROR: pipeline could not be constructed: no element "uridecodebin".
我跟着this installation instruction的Ubuntu。
我得到了安装这个东西已经:
i gstreamer1.0-alsa - GStreamer plugin for ALSA
i gstreamer1.0-clutter - Clutter PLugin for GStreamer 1.0
i gstreamer1.0-libav - libav plugin for GStreamer
i gstreamer1.0-nice - ICE library (GStreamer plugin)
i gstreamer1.0-plugins-bad - GStreamer plugins from the "bad" set
i gstreamer1.0-plugins-bad-faad - GStreamer faad plugin from the "bad" set
i gstreamer1.0-plugins-bad-videoparsers - GStreamer videoparsers plugin from the "bad" set
i gstreamer1.0-plugins-base - GStreamer plugins from the "base" set
i gstreamer1.0-plugins-base-apps - GStreamer helper programs from the "base" set
i gstreamer1.0-plugins-good - GStreamer plugins from the "good" set
i gstreamer1.0-plugins-ugly - GStreamer plugins from the "ugly" set
i gstreamer1.0-pulseaudio - GStreamer plugin for PulseAudio
i gstreamer1.0-tools - Tools for use with GStreamer
i gstreamer1.0-x - GStreamer plugins for X11 and Pango
i libgstreamer1.0-0 - Core GStreamer libraries and elements
i libgstreamer1.0-0:i386 - Core GStreamer libraries and elements
i phonon-backend-gstreamer1.0 - transitional package
如何获得安装uridecodebin
?或者是否被弃用,应该被忽略?
答
你有两个错误在你管
- 一个是错误的路径文件:///test.ogg(你需要有绝对路径),
- 两部分! !在中间没有元素..
这是为我工作(希望你会从test.ogg的位置执行):
gst-launch-1.0 uridecodebin uri=file://`pwd`/test.ogg ! audioconvert ! audioresample ! autoaudiosink
uridecodebin肯定不会被弃用.. 可以检查您是否有命令有它:
gst-inspect-1.0 uridecodebin
- 贝约的元素
输出的细节,你有两个连续的! !在你的管道中.. – nayana
有人(也许你)submited [文档中的错误](https://bugzilla.gnome.org/show_bug.cgi?id=756630) – nayana