bmckim
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2011
01:13 PM
Ruby gem for checking alignment of HLS segments
https://github.com/telvue/hlspider
gem install hlspider
hlspider crawl --playlists=http://site.tld/playlist1.m3u8 http://site.tld/playlist2.m3u8 http://site.tld/playlist3.m3u8
OR
hlspider crawl --playlists=http://site.told/smil:stream.smil/playlist.m3u8
Often times when HLS playback is jumping or drops out it is due to the segments of the different bitrates not arriving in the right order. This gem will check all of the bitrate playlists and report back on whether or not they contain the same segment numbers. I have not done a whole lot of compatibility testing so if you have any issues just create a GitHub issue.
Roku provides a bash script to do this, but I love Ruby and this is a bit easier to use.
gem install hlspider
hlspider crawl --playlists=http://site.tld/playlist1.m3u8 http://site.tld/playlist2.m3u8 http://site.tld/playlist3.m3u8
OR
hlspider crawl --playlists=http://site.told/smil:stream.smil/playlist.m3u8
Often times when HLS playback is jumping or drops out it is due to the segments of the different bitrates not arriving in the right order. This gem will check all of the bitrate playlists and report back on whether or not they contain the same segment numbers. I have not done a whole lot of compatibility testing so if you have any issues just create a GitHub issue.
Roku provides a bash script to do this, but I love Ruby and this is a bit easier to use.