Open ToshY opened 4 years ago
Not a fix, but 30/40Mbps for 1080p is just pure crazy, especially for 24fps. Get down to 5/7Mbps (or even 10Mbps...), you won't see a difference :)
@misiek08 Well you got a point, but most the videos are automatically encoded with CRF 18 (FFmpeg) to ensure quality, so it's hard to avoid high bitrate spikes in some scenes. To clarify, not the entire video is 30/40Mbps, its just some segments. In general most of the videos have an average bitrate of 8Mbps, so that's still pretty acceptable. The reason I avoid encoding it to a constant bitrate like 10Mbps is because it can lead to bitrate starvation at those "needy" scenes. Anyway, thanks. I'll probably go experiment with different bitrates somemore.
So my previous issue was closed, but I want to post my new findings here because this may be related to the plugin after all.
After purchasing a Chromecast Ultra and testing out the same HLS streams as specified before, the results are the same: it will hang at high bitrate segments.
Like I stated before, the segments are 1920x1080 High@L4.0 AVC 24fps, where some of those segments can hit bitrates of 30/40 Mbps. My connection is 200/50, so videos with high bitrate shouldn't be a problem. I've also tested the same streams with VLC, which can cast the entire video without any issues.
Also, I've merged the stream segments back together into a MP4 file, and tried it again with that. Surprisingly enough, this also doesn't show any playback issues, even for 1080P@60fps.
I don't know what the exact cause is, maybe it has to do with VideoJS, this plugin, or possibly even something on Google's end, like the
cast_sender.js
.I don't know if this can or will be fixed anytime soon, but I'll just change everything back to MP4 in the meantime. Thank you for your time.