-
-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(YouTube - Remember video quality): Default resolution is not saved or set correctly when viewing vertical video #1552
Comments
You need to chose a quality from the advanced quality settings flyout menu. |
I already did that when I first installed the Youtube Revanced app but the issue is that even after setting the quality to 4k 60 fps in the advanced quality settings flyout menu and setting the Youtube Revanced to remember the previously set resolution from the quality settings (I set Youtube Revanced to remember the previously set resolution first before setting the maximum video quality in the advanced quality settings flyout menu) the quality of some videos are randomly not set to the maximum resolution. Can you please reopen my issue? |
Please record this issue. |
test.webm |
I can not reproduce this: Record_2022-12-21-01-02-57.mp4 |
Can you reopen it to see if others can reliably reproduce it? |
I am seeing this on random dumb videos. I have 720p set as default, and when watching this: https://youtu.be/bOSMdEBe1wE And this video plays back at 360p resolution, even though 720p is a playback option. If I pick 720p as the resolution, then the ReVanced toast says "default quality set to 1080p", which is not right. The rotated aspect ratio of the video might be part of the problem. A slightly different issue I sometimes see, is if 720p is not available then instead of picking the highest available resolution (such as 480p), YouTube will show 240p or 360p. It might be the same underlying bug as the problem in the video above. |
This issue occurs with vertical videos. When we open shorts(displayed as videos on the home page or subscription page). It sets half the resolution of the actual video. If the original video is in 1080p it will set 480p and 360p for 720p videos. Hope this makes sense. |
I can definitely confirm what @venkat2305 has said. This issue seems to appear only when viewing vertical videos. |
I have the same bug but I think I have it reproducable and not involving any portrait videos. It remembers the last max resolution of the previous video.
So if you watch back to back 4k videos it will remember the previous max quality as 4k and will always be at 4k. Again not watching any portrait videos. |
@airyimbin hey, i set the default quality to 4k. Watched a video with Max resolution of 720p and then watched a 4k vid. It works fine for me |
Now that you have 4k set to default, close the app and try it without setting default again. Here is my recording of the issue. I can repeat this on my phone. Note it always takes 10seconds for the quality to "kick in". Screen.Recording.20230226.021134.mp4 |
You can even see in the example the video lowers down to 720p even though it started at 1080p. |
Going from a 720p30fps video to a 4k60fps video does this. You can even have a video start off at 4k60fps or 1080p60fps and will snap to 720p60fps after 10 seconds. |
I believe the video is correctly loading and playing at 4K, and the issue is the UI quality picker is temporarily showing the default resolution of 720p. It seems the UI resolution picker needs a few seconds to figure out the video resolution was changed by the remember video resolution patch. Edit: this was later found to be a bug, where remember quality initially selected the wrong menu index. The menu would update after a few seconds. Bug has been fixed. |
The patch was ported over from Vanced. Ideally, it is refactored into a ReVanced style patch such as the |
Type
Other
Bug description
Sometimes when I open random videos on Youtube Revanced the maximum resolution is not set. An example of this issue is that when I open a video that has a maximum resolution of 1080p 60 fps it sometimes opens the video with a resolution of 480p. I previously set the maximum resolution by going to a 4k 60 fps video and setting the resolution to 4k 60 fps so that Youtube Revanced would remember to set all videos to the maximum available resolution for videos.
Video of bug occuring:
test.webm
Video quality preferences in the Youtube Revanced app settings:
Steps to reproduce
Disclaimer: This issue cannot be reproduced reliably due to it occurring randomly on videos
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
Revanced Manager Version: 0.0.52
Youtube Revanced Version: 17.45.37
Acknowledgements
The text was updated successfully, but these errors were encountered: