Comment by Dylan16807
7 hours ago
I shove 1080p mp4s onto a very cheap server and I get 2 seconds of load time there versus somewhere between 1 and 2 seconds on youtube. And looking at network requests, the first chunk of the file loads in well under a second so I'd expect something with the metadata preloaded could start playing at that point. So if peertube takes 5 seconds, I really wonder why.
Is it inconvenient to transcode before/during upload?
If you scale an instance you need to use object storage (s3/b2/etc). Fetch from object storage can occasionally have latency spikes.
5 seconds is somewhat exaggerating, I clicked through 10 or so videos on my instance to check and it's 2-3 seconds most of the time.