AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[gstreamer](ubuntu)

Martin Hope
cory
Asked: 2020-12-27 23:48:51 +0800 CST

符号查找错误:一个概念性的质疑

  • 0

由于我在笔记本电脑上安装了 ubuntu,我遇到了一个问题gstreamer,它影响了许多使用它的程序,totem,kdenlive甚至gnome-control-center,并阻止它们工作。

返回的错误信息是:

totem: symbol lookup error: /lib/x86_64-linux-gnu/libgstaudio-1.0.so.0: 
undefined symbol: gst_aggregator_simple_get_next_time

或者

kdenlive: symbol lookup error: /lib/x86_64-linux-gnu/libgstvideo-1.0.so.0: 
undefined symbol: gst_aggregator_simple_get_next_time

我查看了gstreamer 网站,看看它是什么类型的错误。到目前为止,我了解.so文件是收集可以由各种程序调用的函数的库。GstBase.Aggregator似乎是一个类,而 simple_get_next_time 是一个返回一些整数的方法。我上一堂计算机课的时间很长,但在我看来,这种问题是“结构性的”,我的意思是一个函数无法识别某些类方法。我试图重新安装所有gstreamer程序、插件和东西,但问题仍然存在。所以我假设这个类的编码很糟糕。它不成立,因为我看着www :我似乎是唯一遇到这个特定问题的人。

问题是:我正在使用全新安装的非常通用的程序,这些程序对每​​个人都没有任何错误,所以我怎么会遇到这种“结构错误”?

我正在运行 Ubuntu 20.04。

apt-cache policy libgstreamer-plugins-base1.0-0返回:

libgstreamer-plugins-base1.0-0:
Installé : 1.16.2-4
Candidat : 1.16.2-4
Table de version :
1.16.2-4 500
500 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status

ldd /lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 | grep local返回

libgstbase-1.0.so.0 => /usr/local/lib/libgstbase-1.0.so.0 >(0x00007ff3272d5000)
libgstreamer-1.0.so.0 => /usr/local/lib/libgstreamer-1.0.so.0 >(0x00007ff326fbb000)

和

ldd /lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 | grep local返回

libgstbase-1.0.so.0 => /usr/local/lib/libgstbase-1.0.so.0 (0x00007f4cc0a04000)
libgstreamer-1.0.so.0 => /usr/local/lib/libgstreamer-1.0.so.0 (0x00007f4cc06ea000)

我很失望,请帮助我!祝你今天过得愉快。

gstreamer
  • 2 个回答
  • 764 Views
Martin Hope
Julia
Asked: 2020-11-21 00:19:55 +0800 CST

在 ubuntu 20.04 上构建 gnash

  • 2

要播放一些旧的 Flash 动画,我需要一个用于 ubuntu 20.04 的 Flash 播放器。我曾经使用Gnash,但这不再随 ubuntu 一起提供。所以我尝试自己编译它,即克隆了 git 存储库,做了./autogen.sh,./configure并尝试安装所有缺少的库。这工作除了:

ERROR: GST media handling requested but gstreamer-0.10+ not found
                 Install it from http://www.gstreamer.net
                 or .deb users: apt-get install libgstreamer0.10-dev
                 or .rpm users: yum install gstreamer-devel
                 or yast users: yast install gstreamer010-devel
ERROR: Base plugins are required for gstreamer media!
       Install gstreamer-plugins-base from http://www.gstreamer.net
       or .deb users: apt-get install 
                      libgstreamer-plugins-base0.10-dev
       or .rpm users: yum install gstreamer-plugins-base-devel
ERROR: No xulrunner development package is installed!
       Install it from 
       http://releases.mozilla.org/pub/mozilla.org/xulrunner
       or .deb users: apt-get install xulrunner-dev
       or maybe     : apt-get install npapi-sdk-dev
       or maybe     : apt-get install firefox-dev
       or .rpm users: yum install xulrunner-devel
       or specify --disable-npapi

对于最后一个,我没有在 ubuntu 存储库中找到一个xulrunner-dev或一个包,但是安装了. 这不起作用,所以我使用.npapi-devfirefox-dev--disable-npapi

对于gstreamer插件,我安装了 1.0 版。但如果我这样做,make我会收到以下错误消息:


make  all-recursive
make[1]: Entering directory '/home/myuser/build/gnash'
Making all in desktop
make[2]: Entering directory '/home/myuser/build/gnash/desktop'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/myuser/build/gnash/desktop'
Making all in libdevice
make[2]: Entering directory '/home/myuser/build/gnash/libdevice'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/myuser/build/gnash/libdevice'
Making all in libbase
make[2]: Entering directory '/home/myuser/build/gnash/libbase'
sed -e 's|@DEFAULT_FLASH_PLATFORM_ID[@]|LNX|g' -e 's|@DEFAULT_FLASH_MAJOR_VERSION[@]|10|g' -e 's|@DEFAULT_FLASH_MINOR_VERSION[@]|1|g' -e 's|@DEFAULT_FLASH_REV_NUMBER[@]|999|g' -e 's|@DEFAULT_STREAMS_TIMEOUT[@]|60|g' -e 's|@DEFAULT_SOL_SAFEDIR[@]|~/.gnash/SharedObjects|g'  './gnashrc.in' >gnashrc
make[2]: Leaving directory '/home/myuser/build/gnash/libbase'
Making all in libmedia
make[2]: Entering directory '/home/myuser/build/gnash/libmedia'
  CXX      libgnashmedia_la-AudioDecoderGst.lo
In file included from gst/AudioDecoderGst.cpp:20:
gst/AudioDecoderGst.h:27:10: fatal error: gst/gst.h: No such file or directory
   27 | #include <gst/gst.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1126: libgnashmedia_la-AudioDecoderGst.lo] Error 1
make[2]: Leaving directory '/home/myuser/build/gnash/libmedia'
make[1]: *** [Makefile:1163: all-recursive] Error 1
make[1]: Leaving directory '/home/myuser/build/gnash'
make: *** [Makefile:1071: all] Error 2

那么我怎样才能gnash在 ubuntu 20.04 上工作呢?

compiling gstreamer 20.04 gnash
  • 2 个回答
  • 564 Views
Martin Hope
Abhay Patil
Asked: 2020-05-29 12:45:29 +0800 CST

GNOME Sushi 预览不适用于视频文件

  • 3

我在 Ubuntu 20.04 LTS 上安装了 GNOME-sushi。最初,当我选择一个视频并按下spacebar时,出现以下错误。

在此处输入图像描述

安装gstreamer1.0-plugins-bad和gstreamer1.0-plugins-ugly包后,只播放音频,不播放视频。

以下已安装(使用dpkg -l | grep gstreamer)

ii  gir1.2-gstreamer-1.0:amd64                 1.16.2-2                              amd64        GObject introspection data for the GStreamer library
ii  gstreamer1.0-alsa:amd64                    1.16.2-4                              amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter-3.0:amd64             3.0.27-1                              amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-gl:amd64                      1.16.2-4                              amd64        GStreamer plugins for GL
ii  gstreamer1.0-gtk3:amd64                    1.16.2-1ubuntu2                       amd64        GStreamer plugin for GTK+3
ii  gstreamer1.0-packagekit                    1.1.13-2ubuntu1                       amd64        GStreamer plugin to install codecs using PackageKit
ii  gstreamer1.0-plugins-bad:amd64             1.16.2-2.1ubuntu1                     amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64            1.16.2-4                              amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps             1.16.2-4                              amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-good:amd64            1.16.2-1ubuntu2                       amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64            1.16.2-2build1                        amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64              1.16.2-1ubuntu2                       amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                         1.16.2-2                              amd64        Tools for use with GStreamer
ii  gstreamer1.0-x:amd64                       1.16.2-4                              amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-gl1.0-0:amd64                 1.16.2-4                              amd64        GStreamer GL libraries
ii  libgstreamer-plugins-bad1.0-0:amd64        1.16.2-2.1ubuntu1                     amd64        GStreamer libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64       1.16.2-4                              amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64       1.16.2-1ubuntu2                       amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:amd64                    1.16.2-2                              amd64        Core GStreamer libraries and elements

如何安装缺少的插件?

gnome gstreamer previews gnome-sushi
  • 1 个回答
  • 1234 Views
Martin Hope
Tom Brossman
Asked: 2019-07-27 11:52:39 +0800 CST

Totem 在全新安装的 19.04 中播放 H.264 需要哪些编解码器?

  • 6

我全新安装了 Ubuntu 19.04,但无法在 Totem 中播放 MP4 视频。按照安装必要解码器的建议未成功。我必须安装哪些编解码器才能播放此视频文件,它使用 H.264(High Profile)视频编解码器和 MPEG-4 AAC 音频编解码器?

在安装过程中,我选中了安装第三方图形软件和其他媒体格式的复选框:

安装程序选项截图

我启用了 main、universe、restricted 和 multiverse 存储库。

我已经安装了多个 gstreamer 包和编解码器:

tom@desktop:~$ apt list --installed | grep gstreamer
gir1.2-gstreamer-1.0/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-alsa/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-clutter-3.0/disco,now 3.0.27-1 amd64 [installed,automatic]
gstreamer1.0-gl/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-gtk3/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-libav/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-packagekit/disco,now 1.1.12-5 amd64 [installed,automatic]
gstreamer1.0-plugins-bad/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-plugins-base-apps/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-plugins-base/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-plugins-good/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-plugins-ugly/disco,now 1.15.90-1 amd64 [installed,automatic]
gstreamer1.0-pulseaudio/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-tools/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-vaapi/disco-updates,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
gstreamer1.0-x/disco,now 1.15.90-1 amd64 [installed,automatic]
libgstreamer-gl1.0-0/disco,now 1.15.90-1 amd64 [installed,automatic]
libgstreamer-plugins-bad1.0-0/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/disco,now 1.15.90-1 amd64 [installed,automatic]
libgstreamer-plugins-good1.0-0/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
libgstreamer1.0-0/disco,now 1.15.90-1ubuntu1 amd64 [installed,automatic]
libreoffice-avmedia-backend-gstreamer/disco-updates,disco-security,now 1:6.2.5-0ubuntu0.19.04.1 amd64 [installed,automatic]

我安装了 Totem,带有默认的包和插件:

tom@desktop:~$ apt list --installed | grep totem
gir1.2-totem-1.0/disco,now 3.32.0-1ubuntu1 amd64 [installed,automatic]
gir1.2-totemplparser-1.0/disco,now 3.26.3-1ubuntu1 amd64 [installed,automatic]
libtotem-plparser-common/disco,disco,now 3.26.3-1ubuntu1 all [installed,automatic]
libtotem-plparser18/disco,now 3.26.3-1ubuntu1 amd64 [installed,automatic]
libtotem0/disco,now 3.32.0-1ubuntu1 amd64 [installed,automatic]
totem-common/disco,disco,now 3.32.0-1ubuntu1 all [installed,automatic]
totem-plugins/disco,now 3.32.0-1ubuntu1 amd64 [installed,automatic]
totem/disco,now 3.32.0-1ubuntu1 amd64 [installed,automatic]

我没有安装ubuntu-restricted-extras,因为我不想要额外的包(Microsoft 字体等),但我手动安装了libavcodec-extra libavcodec-extra58其中包含的 AV 编解码器( ):

tom@desktop:~$ apt-cache depends ubuntu-restricted-extras
ubuntu-restricted-extras
  Depends: ubuntu-restricted-addons
  Recommends: libavcodec-extra
    libavcodec-extra58
  Recommends: ttf-mscorefonts-installer
  Recommends: unrar

我注意到我可以通过将视频文件从 Nautilus 拖到空的 Firefox 或 Chromium 选项卡中来播放视频文件,但 Totem 不会播放它。

当我单击“在 Ubuntu 软件中查找”按钮时,Ubuntu 软件显示消息“无法找到请求的软件”(最后一点可能是一个错误,但我不介意,我只需要知道要手动安装哪些软件包) . 请问有什么建议吗?如何在全新的 19.04 安装时在 Totem 中播放此文件?

图腾错误截图

Ubuntu 软件错误消息

编辑:在进一步故障排除后,我发现 Totem 将播放相同的文件,如果它们是 MKV 容器格式而不是 MP4。我使用youtube-dl(最新版本,不是来自 repos)下载 BBC iPlayer 视频。我可以设置--merge-output-format mkv选项并播放下载的文件。如果没有该选项,它会输出到我无法播放的 MP4。这是一个不错的解决方法,但我很想知道究竟是什么干扰了 MP4 播放并解决了这个问题。

如果您在 iPlayer 服务的区域并希望进行测试,我使用了这个短短的三分钟视频https://www.bbc.co.uk/iplayer/episode/p07hlmxr/the-news-explained-a-tale-of-two-tankers,它下载文件The_News_Explained_A_Tale_of_Two_Tankers.fstream-uk-iptv_streaming_concrete_combined_hd_mf_limelight_uk_dash_https-video=5070000.mp4,The_News_Explained_A_Tale_of_Two_Tankers.fstream-uk-iptv_streaming_concrete_combined_hd_mf_limelight_uk_dash_https-audio_eng_1=128000.m4a然后将它们合并到 MP4 或 MKV 中。

命令输出vainfo(来自评论):

error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Mesa Gallium driver 19.0.2 for NV136
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc

命令输出vdpauinfo(来自评论):

display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  --- not supported ---
H264_MAIN                      --- not supported ---
H264_HIGH                      --- not supported ---
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y
video codecs gstreamer totem 19.04
  • 3 个回答
  • 4826 Views
Martin Hope
JLev
Asked: 2019-06-06 20:54:01 +0800 CST

gstreamer 出现问题,在 Ubuntu 上使用 qt 5.10 应用程序播放视频

  • 0

新的笔记本电脑,安装了 Ubuntu 16.04,一切都很好。现在我正在尝试用我的 qt 应用程序播放视频。可悲的是,我在执行此操作时遇到错误 - 对于 avi 文件,这是我得到的:

(myApp:2322): GStreamer-CRITICAL **: gst_caps_copy: assertion 'GST_IS_CAPS (caps)' failed

(myApp:2322): GLib-GObject-WARNING **: /build/glib2.0-7ZsPUq/glib2.0-2.48.2/./gobject/gtype.c:4273: type id '0' is invalid

(myApp:2322): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Segmentation fault (core dumped)

对于 mp4 文件,我得到:

(myApp:2189): GStreamer-CRITICAL **: gst_caps_ref: assertion 'GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(myApp:2189): GStreamer-CRITICAL **: gst_caps_ref: assertion 'GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(myApp:2189): GStreamer-CRITICAL **: gst_caps_unref: assertion 'GST_CAPS_REFCOUNT_VALUE (caps) > 0' failed

(myApp:2189): GLib-GObject-WARNING **: /build/glib2.0-7ZsPUq/glib2.0-2.48.2/./gobject/gtype.c:4273: type id '0' is invalid

(myApp:2189): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Segmentation fault (core dumped)

我正在使用 qt 5.10,Ubuntu 16.04,尝试了多种关于如何解决此问题的建议,但没有任何运气。我的应用程序 | 我的应用程序可执行文件上的 grep "gst*" 输出以下内容:

libgstreamer-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0 (0x00007f41ae295000)
    libgstvideo-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-0.10.so.0 (0x00007f41adb14000)
    libgstapp-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0 (0x00007f41ad907000)
    libgstriff-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstriff-0.10.so.0 (0x00007f41ad6fa000)
    libgstpbutils-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0 (0x00007f41ad4d6000)
    libgstbase-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0 (0x00007f41a4b59000)
    libgstaudio-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-0.10.so.0 (0x00007f41a469e000)
    libgsttag-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-0.10.so.0 (0x00007f41a4466000)
    libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f419f842000)
    libgstinterfaces-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0 (0x00007f419cf48000)
    libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f419c17f000)

dpkg -l | 终端中的 grep "gst*" 给出

ii  gir1.2-click-0.4                            0.4.43+16.04.20170613-0ubuntu1                amd64        GIR bindings for Click package management library
ii  gir1.2-gst-plugins-bad-1.0                  1.8.3-1ubuntu0.2                              amd64        GObject introspection data for the GStreamer libraries from the "bad" set
ii  gir1.2-gst-plugins-base-1.0                 1.8.3-1ubuntu0.3                              amd64        GObject introspection data for the GStreamer Plugins Base library
ii  gir1.2-gstreamer-1.0                        1.8.3-1~ubuntu0.1                             amd64        GObject introspection data for the GStreamer library
ii  gir1.2-gtk-2.0                              2.24.30-1ubuntu1.16.04.2                      amd64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-gtk-3.0:amd64                        3.18.9-1ubuntu3.3                             amd64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-pango-1.0:amd64                      1.38.1-1                                      amd64        Layout and rendering of internationalized text - gir bindings
ii  gstreamer1.0-alsa:amd64                     1.8.3-1ubuntu0.3                              amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter-3.0                    3.0.18-1                                      amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-libav:amd64                    1.8.3-1ubuntu0.2                              amd64        libav plugin for GStreamer
ii  gstreamer1.0-plugins-bad:amd64              1.8.3-1ubuntu0.2                              amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64         1.8.3-1ubuntu0.2                              amd64        GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64 1.8.3-1ubuntu0.2                              amd64        GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64             1.8.3-1ubuntu0.3                              amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps              1.8.3-1ubuntu0.3                              amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-good:amd64             1.8.3-1ubuntu0.4                              amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64             1.8.3-1ubuntu0.1                              amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-plugins-ugly-amr:amd64         1.8.3-1ubuntu0.1                              amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64               1.8.3-1ubuntu0.4                              amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                          1.8.3-1~ubuntu0.1                             amd64        Tools for use with GStreamer
ii  gstreamer1.0-x:amd64                        1.8.3-1ubuntu0.3                              amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad1.0-0:amd64         1.8.3-1ubuntu0.2                              amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-dev             1.8.3-1ubuntu0.2                              amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:amd64       0.10.36-2ubuntu0.2                            amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:amd64        1.8.3-1ubuntu0.3                              amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-dev            1.8.3-1ubuntu0.3                              amd64        GStreamer development files for libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64        1.8.3-1ubuntu0.4                              amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer-plugins-good1.0-dev            1.8.3-1ubuntu0.4                              amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer0.10-0:amd64                    0.10.36-1.5ubuntu1                            amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-0:amd64                     1.8.3-1~ubuntu0.1                             amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-dev                         1.8.3-1~ubuntu0.1                             amd64        GStreamer core development files

Gst-launch-1.0 --version 输出

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

一个重要的旁注 - 我的应用程序在其他 ubuntu 16.04 计算机上运行没有问题。我可以使用 totem/vlc 在这台笔记本电脑上打开相同的视频,但不能使用节奏盒。

有什么建议么?

video multimedia qt gstreamer 16.04
  • 1 个回答
  • 789 Views
Martin Hope
tatsu
Asked: 2019-05-24 02:10:53 +0800 CST

如何在 Ubuntu 18.04 和 19.04 上获得 pbutils,这是 gstreamer 的必需依赖项?

  • 2

我有以下构建错误:

meson.build:49:0: ERROR:  Dependency "gstreamer-pbutils-1.0" not found

我想满足所需的依赖关系。上一个是:

meson.build:48:0: ERROR:  Dependency "gstreamer-1.0" not found

但这已通过gstreamer 自己的网页和说明修复。

但是我找不到任何方法来安装 gstreamer-pbutils-1.0。

pbutils 上的gstreamer 页面不是很有帮助。似乎他们认为 pbutils utils 会附带他们给出的说明。

我在 Ubuntu 19.04 上。

software-installation dependencies gstreamer 18.04 19.04
  • 1 个回答
  • 2365 Views
Martin Hope
personkfl453kmt0
Asked: 2019-04-27 18:18:42 +0800 CST

“gstreamer-player-1.0”的开发包是什么

  • 6

根据 valadoc,gstreamer-player-1存在一个名为的包。但是,我在ubuntu 包搜索中找不到对应的包 。

vala gstreamer
  • 1 个回答
  • 2769 Views
Martin Hope
LoukMouk
Asked: 2019-03-16 11:31:16 +0800 CST

编译 gst-rtsp-server 示例时出错

  • 0

我目前正在尝试设置一个 Ubuntu 服务器来重新分发来自网络摄像机的 rtsp 提要。

我看到 gstreamer 的gst-rtsp-server 库可以帮助我解决这个问题。

我安装了以下软件包:

sudo apt-get install libgstrtspserver-1.0-dev
sudo apt-get install gstreamer1.0-rtsp
sudo apt-get install libglib2.0-dev

然后我在我的桌面上克隆了 gst-rtsp-server 库 repo:

git clone https://github.com/GStreamer/gst-rtsp-server.git

但是,当我尝试编译gst-rtsp-server/examples/test-launch.c作为如何使用 gcc 使用库的示例给出的 C 文件 () 时:

gcc test-launch.c -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

我收到以下错误:

/tmp/ccM7e45N.o: In function `main':
test-launch.c:(.text+0x2e): undefined reference to `g_option_context_new'
test-launch.c:(.text+0x4a): undefined reference to `g_option_context_add_main_entries'
test-launch.c:(.text+0x4f): undefined reference to `gst_init_get_option_group'
test-launch.c:(.text+0x61): undefined reference to `g_option_context_add_group'
test-launch.c:(.text+0x79): undefined reference to `g_option_context_parse'
test-launch.c:(.text+0x99): undefined reference to `g_printerr'
test-launch.c:(.text+0xa5): undefined reference to `g_option_context_free'
test-launch.c:(.text+0xb1): undefined reference to `g_clear_error'
test-launch.c:(.text+0xc7): undefined reference to `g_option_context_free'
test-launch.c:(.text+0xd6): undefined reference to `g_main_loop_new'
test-launch.c:(.text+0xdf): undefined reference to `gst_rtsp_server_new'
test-launch.c:(.text+0x107): undefined reference to `g_object_set'
test-launch.c:(.text+0x113): undefined reference to `gst_rtsp_server_get_mount_points'
test-launch.c:(.text+0x11c): undefined reference to `gst_rtsp_media_factory_new'
test-launch.c:(.text+0x13a): undefined reference to `gst_rtsp_media_factory_set_launch'
test-launch.c:(.text+0x14b): undefined reference to `gst_rtsp_media_factory_set_shared'
test-launch.c:(.text+0x162): undefined reference to `gst_rtsp_mount_points_add_factory'
test-launch.c:(.text+0x16e): undefined reference to `g_object_unref'
test-launch.c:(.text+0x17f): undefined reference to `gst_rtsp_server_attach'
test-launch.c:(.text+0x19a): undefined reference to `g_print'
test-launch.c:(.text+0x1a6): undefined reference to `g_main_loop_run'
collect2: error: ld returned 1 exit status

有些东西我错过了,但我不知道是什么...><'

该错误显然来自缺少的标头,但是我在哪里可以得到它?

一如既往,感谢您的帮助/提示!

gcc gstreamer rtsp
  • 1 个回答
  • 3778 Views
Martin Hope
edorain
Asked: 2018-12-21 17:48:31 +0800 CST

将 FM 添加到 Rhythmbox 不起作用

  • 1

我正在尝试向 Rhythmbox Radio 添加一个链接,它说我需要额外的媒体编解码器,但我已经安装了受限额外,甚至检查我安装的软件包列表以查看 gstreamer-plugins 是否都已安装。我在网上找不到任何相关或最新的帮助,请帮助。

Rhythmbox 中的错误消息

~$ sudo apt list --installed | grep gst
[sudo] password for eanlee: 

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gir1.2-gst-plugins-base-1.0/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gir1.2-gstreamer-1.0/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-alsa/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-clutter-3.0/bionic,now 3.0.26-1 amd64 [installed]
gstreamer1.0-fluendo-mp3/bionic,now 0.10.32.debian-1 amd64 [installed,automatic]
gstreamer1.0-gl/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-gtk3/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,automatic]
gstreamer1.0-libav/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed,automatic]
gstreamer1.0-packagekit/bionic-updates,now 1.1.9-1ubuntu2.18.04.4 amd64 [installed]
gstreamer1.0-plugins-bad/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-plugins-base/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-plugins-base-apps/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-plugins-good/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-plugins-ugly/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-pulseaudio/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-tools/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed]
gstreamer1.0-vaapi/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed,automatic]
gstreamer1.0-x/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
libclutter-gst-3.0-0/bionic,now 3.0.26-1 amd64 [installed]
libgstreamer-gl1.0-0/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
libgstreamer-plugins-bad1.0-0/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
libgstreamer-plugins-good1.0-0/bionic-updates,now 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 [installed]
libgstreamer1.0-0/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed]
libgstreamermm-1.0-1/bionic,now 1.10.0+dfsg-1 amd64 [installed,automatic]
libqgsttools-p1/bionic,now 5.9.5-0ubuntu1 amd64 [installed,automatic]
libreoffice-avmedia-backend-gstreamer/bionic-updates,now 1:6.0.7-0ubuntu0.18.04.2 amd64 [installed]
python3-gst-1.0/bionic-updates,now 1.14.1-1~ubuntu18.04.1 amd64 [installed,automatic]
synfigstudio/bionic,now 1.2.1-0.1 amd64 [installed,automatic]

编辑:

~$ dpkg -l | grep rhythmbox
ii  gir1.2-rb-3.0:amd64                           3.4.2-4ubuntu1                               amd64        GObject introspection data for the rhythmbox music player
ii  librhythmbox-core10:amd64                     3.4.2-4ubuntu1                               amd64        support library for the rhythmbox music player
ii  rhythmbox                                     3.4.2-4ubuntu1                               amd64        music player and organizer for GNOME
ii  rhythmbox-data                                3.4.2-4ubuntu1                               all          data files for rhythmbox
ii  rhythmbox-plugin-alternative-toolbar          0.18.0-1                                     all          Enhanced play controls and interface for Rhythmbox
ii  rhythmbox-plugins                             3.4.2-4ubuntu1                               amd64        plugins for rhythmbox music player
rhythmbox internet-radio gstreamer 18.04 ubuntu-restricted-extras
  • 1 个回答
  • 1237 Views
Martin Hope
LoukMouk
Asked: 2018-11-24 14:50:58 +0800 CST

无法构建 gst-rtsp-server

  • 6

我正在尝试制作一个 rtsp 服务器,它可以从 onvif 相机捕获 rtsp 提要,然后将此流重新分发给连接到我的服务器的每个人。

我使用这个 iso 在 VMware Workstation 上创建了一个新的 Ubuntu 64 位虚拟机: https ://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64

然后我安装了 ubuntu-desktop:

$ sudo apt-get update
$ sudo apt-get install ubuntu-desktop
$ reboot

我将 gst-rtsp-server 从其 github 存储库克隆到我桌面上的文件夹:

$ cd Desktop
$ mkdir camSrv
$ cd camSrv
$ git clone https://github.com/GStreamer/gst-rtsp-server.git

然后我安装了这篇文章引用的依赖项:

$ sudo apt-get install autoconf -y
$ sudo apt-get install automake -y
$ sudo apt-get install autopoint -y
$ sudo apt-get install libtool -y

但是当我尝试构建 gst-rtsp-server 项目时,我不断收到错误...

我安装了一堆其他依赖项,但现在我遇到了错误:

configure: No package 'gstreamer-1.0' found
configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found

我找不到我缺少的东西......我只想让这篇文章中提到的例子对我有用......

gstreamer rtsp
  • 1 个回答
  • 13696 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve