OpenH264
此页面包含Cisco和openSUSE项目之间协议的详细信息
背景
openSUSE 项目拥有超过 10 万用户,这是 Cisco 的 OpenH264 编解码器免费再分发的当前限制。
我们受到 Fedora 的启发,并启动了 讨论,探讨如何简化 openSUSE 中的编解码器安装。
我们已 联系 Cisco,并同意通过 Cisco 拥有的基础设施向 openSUSE 用户进行再分发。
来源和许可
代码来源可在 https://github.com/cisco/openh264 以 BSD 许可协议提供。二进制文件根据 Cisco 的以下协议发布:http://www.openh264.org/BINARY_LICENSE.txt
OpenH264 在哪里构建?
openSUSE 的 Open264 编解码器当前在隐藏的 OBS 项目 multimedia:libs:cisco-openh264 内部构建。该项目仅对维护者开放。目前 - - , - (Cisco), - (Cisco) 和 - 。当前的 OpenH264 包审查员包括社区以及 Cisco 员工 , - (Cisco), - (Cisco)
目前我们可以为 Fedora、Debian 和 openSUSE 构建 OpenH264 包。我们乐于讨论
OpenH264 如何分发?
目前的工作流程是将包含 OpenH264 rpm 包的存档发送至 openh264-publishing@cisco.com 给 Cisco。
包含二进制包的存档由 OSRT 中的脚本生成。
仓库元数据由 OBS 在 https://codecs.opensuse.org/openh264/ 下发布
安装
如果您的系统上默认未启用该仓库,则可以安装任何一个 openSUSE-repos 包(openSUSE-repos-Tumbleweed、openSUSE-repos-Leap 或 openSUSE-repos-MicroOS,具体取决于您的系统),其中包含仓库定义。现在,安装 gstreamer-1.20-plugin-openh264(在 Leap 上)/ gstreamer-plugin-openh264(在 Tumbleweed/MicroOS 上)将自动拉取 libopenh264-7。因此,您还需要安装 mozilla-openh264 以确保获得这三个包。
或者,您可以启用仓库,并通过运行手动安装软件包
# Leap 16 sudo zypper ar -f http://codecs.opensuse.org/openh264/openSUSE_Leap_16 repo-openh264 sudo zypper in gstreamer-1.24-plugin-openh264 mozilla-openh264
# Leap 15 sudo zypper ar -f http://codecs.opensuse.org/openh264/openSUSE_Leap repo-openh264 sudo zypper in gstreamer-1.24-plugin-openh264 mozilla-openh264 # Tumbleweed or MicroOS sudo zypper ar -f http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed repo-openh264 sudo zypper in gstreamer-1.24-plugin-openh264 mozilla-openh264
关于存档内容的协议
.zip 存档必须由 multimedia:libs:cisco-openh264 项目的维护者(可靠的人)创建并发送。
存档必须仅包含 Cisco OpenH264 和相关的 OpenH264 GStreamer 插件。该软件包将在 OBS 中由 openSUSE 密钥签名,因此可以验证软件包的来源。
将任何其他内容(尤其是其他编解码器)添加到存档中,超出我们协议的范围,将导致违反与 Cisco 的再分发协议。
当前托管在 Cisco 基础设施上的文件
本节在此处,直到我们建立改进的交付管道为止。
移交给 Cisco 的 15.4.zip 存档的内容。该存档于 12 月 14 日由 - 在 ciscobinary 主机上提取。存档中的 rpm 由 OSRT 从 openSUSE:Factory:openh264:POST 生成
托管文件的示例 http://ciscobinary.openh264.org/libopenh264-7-2.3.1-8.suse1500.1.x86_64.rpm
http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.sle150600.1.aarch64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.sle150600.1.ppc64le.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.sle150600.1.s390x.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.sle150600.1.x86_64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1600.1.aarch64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1600.1.ppc64le.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1600.1.s390x.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1600.1.x86_64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.aarch64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.armv7hl.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.i586.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.ppc64le.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.riscv64.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.s390x.rpm http://ciscobinary.openh264.org/gstreamer-plugin-openh264-1.24.12-1.suse1699.2.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.sle150600.5.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.sle150600.5.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.sle150600.5.s390x.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.sle150600.5.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1600.1.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1600.1.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1600.1.s390x.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1600.1.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.armv7hl.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.i586.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.riscv64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.s390x.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.101.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-7-2.3.1-2.suse1699.37.ppc64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.sle150600.5.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.sle150600.5.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.sle150600.5.s390x.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.sle150600.5.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1600.1.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1600.1.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1600.1.s390x.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1600.1.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.aarch64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.armv7hl.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.i586.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.ppc64le.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.riscv64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.s390x.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.101.x86_64.rpm http://ciscobinary.openh264.org/libopenh264-devel-2.3.1-2.suse1699.37.ppc64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.sle150600.5.aarch64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.sle150600.5.ppc64le.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.sle150600.5.s390x.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.sle150600.5.x86_64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1600.1.aarch64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1600.1.ppc64le.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1600.1.s390x.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1600.1.x86_64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.aarch64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.armv7hl.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.i586.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.ppc64le.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.riscv64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.s390x.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.101.x86_64.rpm http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.suse1699.37.ppc64.rpm
手动发布流程
当前流程由 openSUSE Release Tools (OSRT) 中的一组脚本处理。文档可以在 这里找到。
目前与 Cisco 联系新 tarball 的约定方式是 openh264-publishing AT cisco DOT com
Firefox 配置更改
(复制自 Fedora。) 在 Firefox 地址/URL 字段中输入 about:config 并接受警告。
在搜索字段中输入 264,将出现一些选项。将以下首选项名称的值设置为 true,方法是双击 false
media.gmp-gmpopenh264.autoupdate media.gmp-gmpopenh264.enabled media.gmp-gmpopenh264.provider.enabled media.peerconnection.video.h264_enabled
重启 Firefox
重启后,about:config 中的以下字符串将更改为从网上安装的当前版本
media.gmp-gmpopenh264.version