-
Notifications
You must be signed in to change notification settings - Fork 520
Auto resolution not working for some videos. #211
Comments
I think I know what the issue is. It seems like 1440p is not registered properly in YouTube Center. So therefore it is not correctly setting the quality when 1440p is present or something. I will try to find a fix for this. |
Tried with latest Dev build. |
Now it should work for the first video you linked too. |
Great. |
The two videos in the OP actually both come up as "Auto (480p)" for me with auto-resolution enabled to the max (Original Definition). I'm running the latest dev build #225. |
It seems like if you use the HTML5 player it will not work, but if you use the flash player it will. I will try to investigate why it doesn't work with the HTML5 player. |
There seem to be a bug in the HTML5 player where if you choose 1440p in https://www.youtube.com/watch?v=31yu1gcx0CE in the quality menu it will jump to another quality instead (most likely 480p). I've tried to make a hack which will lower the quality every 100 ms if the preferred quality hasn't been selected. Also the quality naming is different for the flash player and the HTML5 player. So a video with the dimensions 1600x1200 in the flash player will have the quality 1080p where in the HTML5 player it will have 1440p. |
Doesn't the HTML5 player purposefully lower quality, if you're in embedded mode? And when you change to fullscreen it changed to your preference. At least that's what I remember. Of course this has an annoying flaw. In embedded mode it buffers several seconds quickly and it takes "ages" to change to the larger resolution. With HD the buffer is small (at least with my net speeds) and when I leave full screen for a few seconds I get a lengthy low res part if I go back. I've tried to make a hack which will lower the quality every 100 ms if the preferred quality hasn't been selected. What does lowering achieve? |
The issue you're experiencing doesn't have anything to do with the hack. The second video in the OP the quality 1440p is not available (see Quality), but none the less it is shown in the list. If the quality is chosen it will result in defaulting to auto instead (it's possible to select when everything has been buffered). So therefore YouTube Center can't choose that quality. So therefore I made this hack, which will check if the quality is selected and if it's not it will lower the quality to the quality below it and so forth. Quality Doesn't the HTML5 player purposefully lower quality, if you're in embedded mode? I think it's doing that on every page. Whenever I've used the HTML5 player it would not use the preferred quality at the start. So it had to be changed afterwards. It seems like as you said that when entering fullscreen it would change the quality (in my case it would be 720p). I will try to look more into the code of the HTML5 player to see if I can figure out if there's anything that can be done about these issues. But I highly doubt it. |
Actually the video have a quality resolution of 1600x1200, but I've only been able to use it in the flash player. Huh. I thought it was working with chrome at least, but I see now that you're right. I only get 1728*1080 even if I choose 1440p |
YePpHa, maybe this can help you get some ideas how to fix youtube center.. https://github.com/klemens/ff-youtube-all-html5 |
This video always starts with 360p: https://www.youtube.com/watch?v=e9qvH69prjA
This start with 1080p or lower depending on setting: https://www.youtube.com/watch?v=31yu1gcx0CE
Also YTC seems to prevent other scipts/extensions from setting the correct resolution. Even when I disable auto-resolution.
(Dash enabled. SPF disabled)
The text was updated successfully, but these errors were encountered: