Add 50fps and live support to frame by frame keyboard shortcuts #3420
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add 50fps and live support to frame by frame keyboard shortcuts
Pull Request Type
Description
This pull request refactors the frame by frame code to support videos that have framerates other than 60 or 30 and adds support for live streams too. Additionally I was able to get rid of the part where it read the DASH manifest from the disk, so it should now work properly in the web (and cordova if someone has a keyboard hooked up to their phone) builds too.
Live streams seem to be broken for Invidious at the moment, so I wasn't able to test if my changes work for that (the HLS manifests provided by Invidious return 429 errors for all live streams and instances I tried).
Testing
Unfortunately live streams don't seem to be working with Invidious at the moment and always return 429 errors for the HLS manifests, so that test can't be done with the Invidious API enabled, all others can.
50/25fps https://youtu.be/U4DVfOmcwuk
60/30fps https://youtu.be/HJDMo__4JAg
30fps https://youtu.be/g7oNuP83VXs
live 30fps (144p is 15fps) https://youtu.be/jfKfPfyJRdk
Desktop