在opensuse15.4leap中安装许多解码器让火狐浏览器firefox播放网页视频
实际难题:
在opensuse15.2和15.3leap中安装flash-player、ffmpeg-4、gstreamer-plugins和vlc-codecs就能让火狐浏览器firefox播放酷狗、网易云音乐、优酷、哔哩哔哩网站的视频,但在opensuse15.4却是不能播放视频,提示:“没有找到支持的视频格式和MIME类型”
系统opensuse15.4leap自带火狐浏览器firefox版本是91.8.0esr (64 位)
参考文章:
《由于版权保护,你需要自己为浏览器安装多媒体解码器。详见:解码器》
https://zh.opensuse.org/%E8%A7%A3%E7%A0%81%E5%99%A8
《多媒体编解码器——来自中国科学技术大学ustc的opensuse非官方指南》
https://opensuse-guide.ustclug.org/codecs.php
localhost:~ # zypper addrepo -cfg ‘https://mirrors.tuna.tsinghua.edu.cn/packman/suse/openSUSE_Leap_15.4/’ packman
localhost:~ # zypper repos
由 guoyunhe 开发的 opi (Open Build Service Package Installer) 可以在 Leap 和 Tumbleweed 上快速安装解码器。
localhost:~ # zypper install opi
localhost:~ # opi codecs
Do you want to install codecs from Packman repository? (Y/n) Y 输入大写字母Y再按回车键
自动安装50个解码器软件包,就能播放酷狗、网易云音乐、优酷、哔哩哔哩网站的视频,让我很奇怪的地方是它竟会连带安装网易云音乐客户端
安装编解码 H.264 视频的 OpenH264解码器
localhost:~ # zypper addrepo http://codecs.opensuse.org/openh264/openSUSE_Leap repo-openh264
localhost:~ # zypper install gstreamer-1.20-plugin-openh264文章来源:https://www.toymoban.com/news/detail-422585.html
Checking for file conflicts: …[done]
( 1/50) Installing: chromium-ffmpeg-extra-103.0.5060.114-150400.2.pm.1.x86_64 …[done]
( 2/50) Installing: libmodplug1-0.8.9.0+git20170610.f6dd59a-pm154.3.1.x86_64 …[done]
( 3/50) Installing: libtag1-1.13-pm154.2.2.x86_64 …[done]
( 4/50) Installing: flash-player-32.0.0.465-pm154.3.1.x86_64 …[done]
( 5/50) Installing: libavutil55-3.4.12-pm150400.1.1.x86_64 …[done]
( 6/50) Installing: libx264-164-0.164+git20220602.baee400f-pm154.1.1.x86_64 …[done]
( 7/50) Installing: libdca0-0.0.7-pm154.1.4.x86_64 …[done]
( 8/50) Installing: libvlccore9-3.0.18-150400.2.6.pm.1.x86_64 …[done]
( 9/50) Installing: libopencore-amrwb0-0.1.6-pm154.1.1.x86_64 …[done]
(10/50) Installing: libavutil56_70-4.4.4-150400.1.pm.1.x86_64 …[done]
(11/50) Installing: libxvidcore4-1.3.7-pm154.1.3.x86_64 …[done]
(12/50) Installing: libfdk-aac2-2.0.2-pm154.1.3.x86_64 …[done]
(13/50) Installing: libopencore-amrnb0-0.1.6-pm154.1.1.x86_64 …[done]
(14/50) Installing: libde265-0-1.0.9-pm154.1.1.x86_64 …[done]
(15/50) Installing: libswresample2-3.4.12-pm150400.1.1.x86_64 …[done]
(16/50) Installing: libswscale4-3.4.12-pm150400.1.1.x86_64 …[done]
(17/50) Installing: libpostproc54-3.4.12-pm150400.1.1.x86_64 …[done]
(18/50) Installing: libvlc5-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(19/50) Installing: libavresample4_0-4.4.4-150400.1.pm.1.x86_64 …[done]
(20/50) Installing: libswscale5_9-4.4.4-150400.1.pm.1.x86_64 …[done]
(21/50) Installing: libpostproc55_9-4.4.4-150400.1.pm.1.x86_64 …[done]
(22/50) Installing: libswresample3_9-4.4.4-150400.1.pm.1.x86_64 …[done]
(23/50) Installing: gstreamer-plugins-ugly-codecs-1.20.1-pm154.1.5.x86_64 …[done]
(24/50) Installing: gstreamer-plugins-bad-codecs-1.20.1-pm154.3.1.x86_64 …[done]
(25/50) Installing: libheif1-1.15.2-150400.5.pm.1.x86_64 …[done]
(26/50) Installing: libavcodec57-3.4.12-pm150400.1.1.x86_64 …[done]
(27/50) Installing: libavcodec58_134-4.4.4-150400.1.pm.1.x86_64 …[done]
(28/50) Installing: libavformat57-3.4.12-pm150400.1.1.x86_64 …[done]
(29/50) Installing: libavformat58_76-4.4.4-150400.1.pm.1.x86_64 …[done]
(30/50) Installing: libSPIRV-Tools-suse15-2020.1~git24-1.26.x86_64 …[done]
(31/50) Installing: libebml5-1.4.2-bp154.2.69.x86_64 …[done]
(32/50) Installing: libglslang-suse9-8.13.3559+git20-1.27.x86_64 …[done]
(33/50) Installing: libixml11-1.14.12-bp154.1.66.x86_64 …[done]
(34/50) Installing: libliveMedia102-2021.11.23-bp154.1.72.x86_64 …[done]
(35/50) Installing: libvidstab1_1-1.1.0-bp154.1.31.x86_64 …[done]
(36/50) Installing: libmatroska7-1.6.3-bp154.1.50.x86_64 …[done]
(37/50) Installing: libshaderc_shared1-2019.1-1.26.x86_64 …[done]
(38/50) Installing: libupnp17-1.14.12-bp154.1.66.x86_64 …[done]
(39/50) Installing: libplacebo192-4.192.1-bp154.1.45.x86_64 …[done]
(40/50) Installing: libavfilter7_110-4.4.4-150400.1.pm.1.x86_64 …[done]
(41/50) Installing: vlc-noX-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(42/50) Installing: vlc-codec-gstreamer-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(43/50) Installing: libavdevice58_13-4.4.4-150400.1.pm.1.x86_64 …[done]
(44/50) Installing: vlc-codecs-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(45/50) Installing: ffmpeg-4-4.4.4-150400.1.pm.1.x86_64 …[done]
(46/50) Installing: vlc-qt-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(47/50) Installing: vlc-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(48/50) Installing: vlc-vdpau-3.0.18-150400.2.6.pm.1.x86_64 …[done]
(49/50) Installing: netease-cloud-music-1.2.1-pm154.5.2.x86_64 …[done]
(50/50) Installing: vlc-lang-3.0.18-150400.2.6.pm.1.noarch …[done]文章来源地址https://www.toymoban.com/news/detail-422585.html
到了这里,关于在opensuse15.4leap中安装许多解码器让火狐浏览器firefox播放网页视频的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!