我需要安装 gstreamer1.0 库。我发现它们在 wheezy-backports 中。因此,我将 wheezy-backports 添加到更新的 sources.list 中,尝试安装并卡在依赖关系问题上:
aptitude install gstreamer1.0-libav
The following NEW packages will be installed:
gstreamer1.0-libav{b}
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 166 kB of archives. After unpacking 353 kB will be used.
The following packages have unmet dependencies:
gstreamer1.0-libav : Depends: libavcodec54 (>= 6:9.1-1) which is a virtual package. or
libavcodec-extra-54 (>= 6:9.13) which is a virtual package.
Depends: libavformat54 (>= 6:9.1-1) which is a virtual package.
Depends: libavutil52 (>= 6:9.1-1) which is a virtual package.
Depends: libgstreamer-plugins-base1.0-0 (>= 1.2.2) but it is not going to be installed.
Depends: libgstreamer1.0-0 (>= 1.2.0) but it is not going to be installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) gstreamer1.0-libav [Not Installed]
Accept this solution? [Y/n/q/?] n
*** No more solutions available ***
安装 libavcodec54 确实是不可能的 - 它只在 sid 中我不知道为什么。当我尝试添加 sid 存储库时,我再次遇到其他依赖问题(使用 libavutil52)
然后我添加了测试 jessie 存储库并从那里安装..它以某种方式工作,但我在加载一些插件时遇到问题:
gst-inspect-1.0 --version
(gst-plugin-scanner:16077): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so: undefined symbol: mpeg2_guess_aspect
gst-inspect-1.0 version 1.4.4
GStreamer 1.4.4
这个错误只显示一次,当我再次运行时,它没有显示错误。
我知道 gstreamer 1.0 目前不稳定..但是有没有正确的方法将其安装到 debian 7 wheezy 中?
答案1
好吧,我在 debian 论坛上找到了一些东西:http://forums.debian.net/viewtopic.php?f=6&t=118530&p=558557&hilit=how+install+gstreamer1.0#p558557是两个开发者做了一些修改,结果是无法安装gstreamer1.0-libav
解决方法是使用这个存储库,但我对此不满意。http://www.deb-multimedia.org/您还必须使用该存储库中的 wheezy-backports,因为 libavutil52 库仅存在于此。