eDash Packager是一个媒体打包SDK,旨在供C++程序员编写支持通用加密(Common Encryption)、Widevine DRM、直播(Live)和视频点播(Video-On-Demand)的DASH打包应用程序。该镜像提供了在Docker环境中运行eDash Packager的便捷方式,支持跨平台使用,尤其适用于非Linux和MacOSX系统。
| 编解码器 | ISO-BMFF | WebM | MPEG2-TS | WVM |
|---|---|---|---|---|
| H264 (AVC) | I / O | - | I | I |
| H265 (HEVC) | I / O | - | I | - |
| VP8 | I / O | I / O | - | - |
| VP9 | I / O | I / O | - | - |
| AAC | I / O | - | I | I |
| Dolby AC3/EAC3 | I / O | - | - | - |
| DTS | I / O | - | - | - |
| Opus | - | I / O | - | - |
| Vorbis | - | I / O | - | - |
注:I表示输入,O表示输出。新格式支持将在后续更新。
方式1:从Dockerhub拉取预构建镜像
Shelldocker pull google/edash-packager
方式2:本地构建镜像
Shelldocker build -t google/edash-packager github.com/google/edash-packager.git
将本地媒体目录挂载到容器中(替换/your_media_path为实际媒体文件夹路径):
Shelldocker run -v /your_media_path/:/media -it --rm google/edash-packager
进入容器后,在挂载的媒体目录中执行打包命令:
Shell# 进入媒体目录 cd /media # 视频点播(VOD):MP4转DASH packager input=/media/example.mp4,stream=audio,output=audio.mp4 \ input=/media/example.mp4,stream=video,output=video.mp4 \ --profile on-demand --mpd_output example.mpd # 退出容器 exit
输出文件将保存在本地的/your_media_path目录中。
Shellpackager \ 'input=udp://224.1.1.5:5003,stream=audio,init_segment=live-audio.mp4,segment_template=live-audio-$Number$.mp4,bandwidth=130000' \ 'input=udp://224.1.1.5:5003,stream=video,init_segment=live-video-sd.mp4,segment_template=live-video-sd-$Number$.mp4,bandwidth=2000000' \ 'input=udp://224.1.1.5:5002,stream=video,init_segment=live-video-hd.mp4,segment_template=live-video-hd-$Number$.mp4,bandwidth=5000000' \ --profile live \ --mpd_output live.mpd
Shellpackager input=sintel.mp4,stream=video,output=encrypted_sintel.mp4 \ --enable_widevine_encryption \ --key_server_url "https://license.uat.widevine.com/cenc/getcontentkey/widevine_test" \ --content_id "3031323334353637" \ --signer "widevine_test" \ --rsa_signing_key_path "widevine_test_private.der"
Shellpackager \ 'input=udp://224.1.1.5:5003,stream=audio,init_segment=live-audio.mp4,segment_template=live-audio-$Number$.mp4,bandwidth=130000' \ 'input=udp://224.1.1.5:5003,stream=video,init_segment=live-video-sd.mp4,segment_template=live-video-sd-$Number$.mp4,bandwidth=2000000' \ 'input=udp://224.1.1.5:5002,stream=video,init_segment=live-video-hd.mp4,segment_template=live-video-hd-$Number$.mp4,bandwidth=5000000' \ --profile live \ --mpd_output live.mpd \ --enable_widevine_encryption \ --key_server_url "https://license.uat.widevine.com/cenc/getcontentkey/widevine_test" \ --content_id "3031323334353637" \ --signer "widevine_test" \ --aes_signing_key "1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9" \ --aes_signing_iv "d58ce954203b7c9a9a9d467f59839249" \ --crypto_period_duration 1800
默认情况下,eDash Packager已基本符合DASH-IF IOP规范,存在两个例外:
通过启用--generate_dash_if_iop_compliant_mpd标志可解决上述问题,该标志将在未来版本中默认启用。
主要模块包括:
详细设计请参考设计文档和API文档。
可通过公共邮件列表进行讨论和获取公告,加入列表可接收新版本通知、提问或讨论eDash Packager开发。



探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务