E:软件包“gstreamer0.10-plugins-bad”没有安装候选者

E:软件包“gstreamer0.10-plugins-bad”没有安装候选者

我在 VirtualBox 中打开“视频捕获”选项,以 webm 格式录制视频,关闭虚拟机并尝试播放该视频,但在 Totem 视频播放器中出现此错误:

An error occured. Could not demultiplex stream`

但是,mpv视频播放器可以播放该视频。这意味着某些编解码器丢失。我决定安装该软件包gstreamer0.10-plugins-bad并得到以下结果:

hubot@debian:~$ sudo apt install gstreamer0.10-plugins-bad
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gstreamer0.10-plugins-bad is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libgstreamer-plugins-bad0.10-0

E: Package 'gstreamer0.10-plugins-bad' has no installation candidate

所以,我决定安装软件包,libgstreamer-plugins-bad0.10-0因为这个软件包可以替换它,并且我再次得到了相同的结果:

hubot@debian:~$ sudo apt install libgstreamer-plugins-bad0.10-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgstreamer-plugins-bad0.10-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgstreamer-plugins-bad0.10-0' has no installation candidate

我在笔记本电脑上使用 Debian GNU/Linux 9 Stretch。

我怎样才能让图腾播放这个视频?

答案1

尝试运行:

sudo apt-get install gstreamer0.10 gstreamer0.10-plugins

相关内容