Skip to content
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

TizenTube not running in 2k/4k, although TV has the resolution #39

Open
T3Cabon opened this issue Jan 28, 2024 · 4 comments
Open

TizenTube not running in 2k/4k, although TV has the resolution #39

T3Cabon opened this issue Jan 28, 2024 · 4 comments

Comments

@T3Cabon
Copy link

T3Cabon commented Jan 28, 2024

I noticed using Stats for nerds, that TizenTube is using a Viewframe of 1920x1080p, instead of 1920x1080*2.0 or *1.4.
I tried forcing the app resolution to 4k, but the app still starts in 1080p. Will there be a workaround for this?

Methods i tried:

TizenTube/config.xml:

TizenTube/index.html:

  • head meta tag "viewport" added: <meta name="viewport" content="width=3840, height=2160, initial-scale=1.0, minimum-scale=1.0, user-scalable=no" />

All combinations of them

PS: I looked for the youtube.com/tv link with 4k enabled. They want a subscription for that?
https://support.google.com/youtubetv/answer/10383365?hl=en&co=GENIE.Platform%3DAndroid
But I found this browser ext, maybe it can be used to form TizenTube?
https://chromewebstore.google.com/detail/youtube-for-tv-4k/pdpkefmdjkgijhnhjkblpielhiikadbb

@Euphoriyy
Copy link

I can confirm that the viewframe is only 1080p. However, when I went into the official YouTube app, the same thing occurred. Videos still play at 4K which is described as the "Current / Optimal Res", but it simply states that the viewframe is 1080p. This is the same behavior that I have even for the web version of YouTube. I guess this would mean that viewport has no actual effect on the video quality and only refers to the size of the element for the video player, so no changes to any HTML viewports or Tizen configs would affect this. I think this is the expected behavior.
As for the first link, it seems to be referring to the YouTube TV service and not to the YouTube for TV site.
The second link is an extension that uses the user-agent Mozilla/5.0 (PS4; Leanback Shell) Gecko/20100101 Firefox/65.0 LeanbackShell/01.00.01.75 Sony PS4/ (PS4, , no, CH) to allow 4K playback of videos with the YouTube for TV UI on web browsers.

@personshelldon
Copy link

I faced the same problem. If compared to the original YouTube app:

  1. View port 1920х1080 instead of 1920x1080 x 2.0
  2. Video preview images have too low quality
  3. 2K/4K videos have huge frame drops (not shown in stats for nerds, but visible to the eyes). It may be because the final 4K image is rescaled to FHD resolution at runtime. The frame drops are huge - if someone asked me what FPS the video has, I would say 15 FPS.

@reisxd
Copy link
Owner

reisxd commented Oct 14, 2024

3. frame

You can fix 2 by changing your User-Agent in TizenBrew settings and you can fix 3 by going into the video speed settings (blue button) and clicking the last option.

@personshelldon
Copy link

You can fix 2 by changing your User-Agent in TizenBrew settings and you can fix 3 by going into the video speed settings

Thank You. This helps! But after the stutters went away, I could see that 60 FPS did not work. Stats for nerds say that the video is 60 FPS, but the video really is 30. The same video on the original YouTube has 60 FPS. I tried all User-Agents in settings, and some other problems were also fixed by that (thank You!) but I can not get 60FPS to work. Are there any additional settings I need to apply, or is this a known problem? Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants