Reputation: 2352
Running the mediastreamvalidator tool on some HLS videos (MPEG-TS files indexed by M3U8's) we had processed by Encoding.com, we found a pretty high structural overhead on our files especially on low-medium bitrates. While this is not atypical, we were quite surprised to find some sites able to reduce overheads to the range of 3%.
Figures from tests on our files below:
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
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
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
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
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 %)
While I'm sure it's perfectly possible to achieve such a level of optimization (just 3% overhead at practically all bitrates) with a custom encoding setup using ffmpeg and the like, I'm wondering if there are any options available in the API calls to an off-the-shelf provider like Encoding.com, to reduce such overhead
Sorry if this is a bone-headed question, just asking out of ignorance.
Upvotes: 1
Views: 272
Reputation: 26
It's not a bone headed question. Most open source ts packagers have this level of overhead. Zencoder uses a customs built internal packager that averages between 4-6% overhead and is basically the same level of optimization found in apples media file segmenter. There are no off the shelf settings for encoding.com that can achieve that level of performance.
Upvotes: 1