如何检查 gstreamer 版本?

如何检查 gstreamer 版本?

我想知道我安装了哪个版本的 gstreamer。

如果我发现有多个版本,我想知道正在使用哪个版本。


编辑:

事情有点混乱。gstreamer 有多个版本(主要是 0.1 和 1.0),并且正在并行使用(它们应该被视为独立的)(来源)。至于软件包,有很多。以下是从dpkg -l | grep gstreamer命令中得到的软件包:

ii  gir1.2-gstreamer-1.0                                        1.2.4-0ubuntu1                                         amd64        Description: GObject introspection data for the GStreamer library
ii  gstreamer0.10-alsa:amd64                                    0.10.36-1.1ubuntu2                                     amd64        GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg:amd64                                  0.10.13-5ubuntu1~trusty2.1                             amd64        FFmpeg plugin for GStreamer
ii  gstreamer0.10-fluendo-mp3:amd64                             0.10.23.debian-3                                       amd64        Fluendo mp3 decoder GStreamer 0.10 plugin
ii  gstreamer0.10-gconf:amd64                                   0.10.31-3+nmu1ubuntu5                                  amd64        GStreamer plugin for getting the sink/source information from GConf
ii  gstreamer0.10-nice:amd64                                    0.1.4-1                                                amd64        ICE library (GStreamer 0.10 plugin)
ii  gstreamer0.10-plugins-bad:amd64                             0.10.23-7.2ubuntu1.1                                   amd64        GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-bad-multiverse                        0.10.21-1ubuntu3                                       amd64        GStreamer plugins from the "bad" set (Multiverse Variant)
ii  gstreamer0.10-plugins-base:amd64                            0.10.36-1.1ubuntu2                                     amd64        GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-apps                             0.10.36-1.1ubuntu2                                     amd64        GStreamer helper programs from the "base" set
ii  gstreamer0.10-plugins-good:amd64                            0.10.31-3+nmu1ubuntu5                                  amd64        GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly:amd64                            0.10.19-2ubuntu5                                       amd64        GStreamer plugins from the "ugly" set
ii  gstreamer0.10-pulseaudio:amd64                              0.10.31-3+nmu1ubuntu5                                  amd64        GStreamer plugin for PulseAudio
ii  gstreamer0.10-tools                                         0.10.36-1.2ubuntu3                                     amd64        Tools for use with GStreamer
ii  gstreamer0.10-x:amd64                                       0.10.36-1.1ubuntu2                                     amd64        GStreamer plugins for X11 and Pango
ii  gstreamer1.0-alsa:amd64                                     1.2.4-1~ubuntu2                                        amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter                                        2.0.8-1build1                                          amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-fluendo-mp3:amd64                              0.10.23.debian-3                                       amd64        Fluendo mp3 decoder GStreamer 1.0 plugin
ii  gstreamer1.0-gnonlin                                        1.2.0-1                                                amd64        non-linear editing module for GStreamer
ii  gstreamer1.0-libav:amd64                                    1.2.4-1~ubuntu1                                        amd64        libav plugin for GStreamer
ii  gstreamer1.0-nice:amd64                                     0.1.4-1                                                amd64        ICE library (GStreamer plugin)
ii  gstreamer1.0-plugins-bad:amd64                              1.2.4-1~ubuntu1                                        amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64                         1.2.4-1~ubuntu1                                        amd64        GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64                 1.2.4-1~ubuntu1                                        amd64        GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64                             1.2.4-1~ubuntu2                                        amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps                              1.2.4-1~ubuntu2                                        amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-good:amd64                             1.2.4-1~ubuntu1                                        amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64                             1.2.3-2build1                                          amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64                               1.2.4-1~ubuntu1                                        amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                                          1.2.4-0ubuntu1                                         amd64        Tools for use with GStreamer
ii  gstreamer1.0-x:amd64                                        1.2.4-1~ubuntu2                                        amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad0.10-0:amd64                        0.10.23-7.2ubuntu1.1                                   amd64        GStreamer shared libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-0:amd64                         1.2.4-1~ubuntu1                                        amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:amd64                       0.10.36-1.1ubuntu2                                     amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base0.10-0:i386                        0.10.36-1.1ubuntu2                                     i386         GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:amd64                        1.2.4-1~ubuntu2                                        amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:i386                         1.2.4-1~ubuntu2                                        i386         GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64                        1.2.4-1~ubuntu1                                        amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer0.10-0:amd64                                    0.10.36-1.2ubuntu3                                     amd64        Core GStreamer libraries and elements
ii  libgstreamer0.10-0:i386                                     0.10.36-1.2ubuntu3                                     i386         Core GStreamer libraries and elements
ii  libgstreamer1.0-0:amd64                                     1.2.4-0ubuntu1                                         amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-0:i386                                      1.2.4-0ubuntu1                                         i386         Core GStreamer libraries and elements
ii  libgstreamermm-0.10-2                                       0.10.11-0ubuntu2                                       amd64        C++ wrapper library for the multimedia library GStreamer (shared libraries)
ii  libreoffice-avmedia-backend-gstreamer                       1:4.2.8-0ubuntu4                                       amd64        GStreamer backend for LibreOffice
ii  phonon-backend-gstreamer:amd64                              4:4.7.80-0ubuntu2~ubuntu14.04                          amd64        Phonon GStreamer 1.0.x backend
ii  phonon-backend-gstreamer-common:amd64                       4:4.7.80-0ubuntu2~ubuntu14.04                          amd64        Phonon GStreamer 1.0.x backend icons
ii  phonon-backend-gstreamer1.0                                 4:4.7.80-0ubuntu2~ubuntu14.04                          all          transitional package

答案1

请尝试使用此命令,它可能会为您提供您正在寻找的版本:

gst-launch-1.0 --gst-version

答案2

尝试

dpkg -l | grep gstreamer

显示gstreamer包名称中包含的所有已安装的包。

答案3

您可以使用此命令:

gst-inspect-1.0 --gst-version

终端中的命令和输出的图像

答案4

“gst-inspect-1.0 --gst-version”或“gst --version”

相关内容