I am working on a system that will need to host large videos (~1 hour long).
So I am considering 2 solutions:
From what I understand HLS has the advantage of being segmented, so files will be only downloaded when actually playing the video and only in format that the client internet connection can keep up to.
On the other hand webm could be in theory downloaded using HTTP range requests, but not every server can handle it correctly and I am not sure if browsers will always use range requests instead of downloading the entire file.
Will using HLS help reduce network usage of the the server, or is it better to stick with webm?
Are there any other advantages of using one solution vs the other?
HLS vs mp4:
For longer videos, I think streaming (HLS/DASH) is better.
I think the biggest thing is - building HTTP range requests for videos - might work, but there is a robust infrastructure with supported video players and delivery that you can just add into your pipeline, and know that they will work - saving time, debugging, etc.
If you're going to re-encode these videos I think streaming is the way to go.