在 Encoding.com 处理的一些 HLS 视频(由 M3U8 索引的 MPEG-TS 文件)上运行 mediastreamvalidator 工具,我们发现文件的结构开销非常高,尤其是在中低比特率上。虽然这不是非典型的,但我们非常惊讶地发现一些网站能够将管理费用降低到 3% 的范围内。
来自我们以下文件的测试数据:
Resolution-Bitrate : 416x234-200k
Playlist Syntax: OK
Segments: OK
Average segment duration: 5.18 seconds
Segment bitrate: Average: 295.69 kbits/sec, Max: 295.69 kbits/sec
Average segment structural overhead: 97.15 kbits/sec (32.86 %)
Resolution-Bitrate : 416x234-400k
Playlist Syntax: OK
Segments: OK
Average segment duration: 5.18 seconds
Segment bitrate: Average: 467.74 kbits/sec, Max: 467.74 kbits/sec
Average segment structural overhead: 94.16 kbits/sec (20.13 %)
Resolution-Bitrate : 640x360-600k
Playlist Syntax: OK
Segments: OK
Average segment duration: 5.18 seconds
Segment bitrate: Average: 614.84 kbits/sec, Max: 614.84 kbits/sec
Average segment structural overhead: 105.48 kbits/sec (17.16 %)
Resolution-Bitrate : 960x540-1800k
Playlist Syntax: OK
Segments: OK
Average segment duration: 5.18 seconds
Segment bitrate: Average: 1.59 Mbits/sec, Max: 1.59 Mbits/sec
Average segment structural overhead: 135.62 kbits/sec (8.52 %)
Resolution-Bitrate : 1280x720-2500k
Playlist Syntax: OK
Segments: OK
Average segment duration: 5.18 seconds
Segment bitrate: Average: 2.16 Mbits/sec, Max: 2.16 Mbits/sec
Average segment structural overhead: 149.46 kbits/sec (6.93 %)
虽然我确信使用 ffmpeg 之类的自定义编码设置完全有可能实现这样的优化级别(几乎所有比特率只有 3% 的开销),但我想知道 API 调用中是否有任何可用的选项到像 Encoding.com 这样的现成提供商,以减少此类开销
对不起,如果这是一个愚蠢的问题,只是出于无知而问。