qnblackcat / uYouPlus

uYou+ is a modified version of uYou (made by @MiRO92) with additional features and mainly made for non jailbroken users!
7.19k stars 8.39k forks source link

[Bug] The videos stuttering if VP9 codec is enabled #6

Open hassan-waris opened 2 years ago

hassan-waris commented 2 years ago

The videos I watch all stutter even on 1080p 60fps, and when I turn vp9 codec off the problems still persists

qnblackcat commented 2 years ago

Sorry but it sounds like a problem with your network speed.

hassan-waris commented 2 years ago

Hi, if I watch the video on the original YouTube all its find which happily runs at 1080p 60fps… only this uyou has a problem… my speeds are more than adequate enough for 4k content so 1080 60fps should be fine

qnblackcat commented 2 years ago

Laggy with YTUHD is a known issue. Now I‘m pretty confused because you said VP9 is disabled 🤷‍♂️, which means the stutter on 1080p/60fps is not relevant to YTUHD

Sorry but I don’t have an answer to your question.

SpecialOperations commented 2 years ago

Hi, if I watch the video on the original YouTube all its find which happily runs at 1080p 60fps… only this uyou has a problem… my speeds are more than adequate enough for 4k content so 1080 60fps should be fine

What device are you using?

hassan-waris commented 2 years ago

iPhone 13 pro max

qnblackcat commented 2 years ago

@Poomsmart It seems like many people are facing this issue on the sideloaded version of YTUHD :/

PoomSmart commented 2 years ago

@qnblackcat Do they all face the problem even with the VP9 option disabled?

qnblackcat commented 2 years ago

@hassan-waris @SpecialOperations @ErSpieltHD Do you have the stuttering if you disable YTUHD?

hassan-waris commented 2 years ago

once I disabled vp9, ive had not issues what so ever everything is running smooth

qnblackcat commented 2 years ago

once I disabled vp9, ive had not issues what so ever everything is running smooth

@PoomSmart

PoomSmart commented 2 years ago

@qnblackcat Now I need to know on what devices are we talking about. iPhone SE 1st gen for example won't handle 4K well due to hardware speed.

qnblackcat commented 2 years ago

@qnblackcat Now I need to know on what devices are we talking about. iPhone SE 1st gen for example won't handle 4K well due to hardware speed.

He said his device is iPhone 13 pro max

PoomSmart commented 2 years ago

@qnblackcat Which videos specifically?

qnblackcat commented 2 years ago

@qnblackcat Which videos specifically?

@hassan-waris

mihir-io commented 2 years ago

@PoomSmart I'm seeing the issues with these videos:

Both work fine when played with the latest YouTube (16.46.5) from the App Store. The HDR one on uYou+ stutters more than the other one, as you might expect.

@qnblackcat I saw that the v16.45.4-2.1 tagged commit is using YTUHD dylibs that were committed 2 months ago but 21 days ago @PoomSmart made a change to Common.x in YTUHD to uncomment the code that enables the entitlement spoofing. Was the YTUHD dylib in here built with it still commented out?

My phone info:

PoomSmart commented 2 years ago

@mihir-io Can you enable stats for nerds so that it displays this box?

image

mihir-io commented 2 years ago

@PoomSmart Sure thing. I've attached two screenshots of the Norway video while it's stuttering. The "Stats for Nerds" rapidly switches between "Playing" and "Buffering", but it's definitely not buffering because of network speed since I get a download speed of 300Mbps.

photo1639665977

photo1639665977 (1)

Also just a heads up, I'm planning to return my iPhone 13 Pro Max this weekend and swap out for the 13 Pro (non-Max), so while I wait for the 13 Pro to ship I might be unable to do more testing. I can pick up on it once I get the new phone though.

PoomSmart commented 2 years ago

@mihir-io YTUHD.dylib in this repo doesn't include entitlement spoofing. That could be the root cause. cc @qnblackcat

qnblackcat commented 2 years ago

@PoomSmart I use the latest version of YTUHD from your repo. Im not sure what am I missing?

PoomSmart commented 2 years ago

@qnblackcat You need to include entitlement spoofing when you compile YTUHD. The one in your repo doesn't have it.

qnblackcat commented 2 years ago

@mihir-io @hassan-waris Please try this version

uYouPlus 16.42.3 (2.1) & YTUHD_F1

mihir-io commented 2 years ago

@qnblackcat Unfortunately that one still gives me the same stuttering behavior.

qnblackcat commented 2 years ago

@PoomSmart I've just compiled YTUHD from your repo. Doesn't seem to be working according to @mihir-io

hassan-waris commented 2 years ago

@mihir-io @hassan-waris Please try this version

uYouPlus 16.42.3 (2.1) & YTUHD_F1

Hi mate thank you for this solution, I’m currently out of town so I’ll try this once I get back

j21w91 commented 2 years ago

This is currently happening on my phone too.

phone: iPhone 13 Pro uYou: v2.1 Vp9: enabled Couple examples of videos: https://youtu.be/O5gpDDnkfFw https://youtu.be/drJviMIvHpA

PoomSmart commented 2 years ago

iPhone 11 iOS 15.3 beta uYou+ IPA above VP9 enabled Sideloaded with AltStore

No stuttering.. weird

image

PoomSmart commented 2 years ago

@qnblackcat Your IPA has the YTUHD that doesn't have entitlement spoofing. Please try this instead. YTUHD.dylib.zip

I also updated YTUHD repo so that you can compile with make SIDELOADED=1

PoomSmart commented 2 years ago

~To verify that VP9 decoding is working, the Mystery field of stats for nerds must have HV text.~

qnblackcat commented 2 years ago

To verify that VP9 decoding is working, the Mystery field of stats for nerds must have HV text.

Thanks. I will try it asap.

I wonder why my compiled deb doesn‘t work? Do I have to run any specific command? nvm, I see it

qnblackcat commented 2 years ago

@mihir-io @hassan-waris @j21w91 please try this one uYouPlus 16.42.3 (2.1) & YTUHD_F3

ErSpieltHD commented 2 years ago

@hassan-waris @SpecialOperations @qnblackcat

Do you have the stuttering if you disable YTUHD?

No. With it disabled it's fine. Just like @hassan-waris said. Can you please include this fix and dislike ipa into the next uYou+ version? When will the next version come out?

Why did you include YTUHD if YT itself natively supports 4k?

PoomSmart commented 2 years ago

@ErSpieltHD

Why did you include YTUHD if YT itself natively supports 4k?

https://github.com/PoomSmart/YTUHD/blob/master/README.md#backstory

zzmadzz36 commented 2 years ago

@mihir-io @hassan-waris @j21w91 please try this one uYouPlus 16.42.3 (2.1) & YTUHD_F3

Still not working for iPhone 13 max pro. Stuttering and stats for nerds keep buffering even though my 5g connection is rock solid

The hamster emoji is appearing in the mystery field on stats for nerd too.

qnblackcat commented 2 years ago

@qnblackcat could you add an option to bring back the new quality selector?

Why do you need it?

  1. You can configure the default video quality in YouTube's Setting.
  2. uYou also allows you to configure the default video quality on Cellular/Wifi
PoomSmart commented 2 years ago

Added an issue to YTUHD

https://github.com/PoomSmart/YTUHD/issues/8

UprisingPulse commented 2 years ago

Why did you include YTUHD if YT itself natively supports 4k?

Sideloaded YouTube ipa on jailed phones doesn't enable 2k,4k. Only 1080p and below.

zzmadzz36 commented 2 years ago

@all vp9 seems to be working normally now after the latest IOS update. Tested on iPhone 13 max pro. Will continue to monitor. But 2160p 60hz all runs fine without the stutter for me (as of today’s testing).

fyip

qnblackcat commented 2 years ago

@zzmadzz36 this is interesting. Can we talk on Discord?

hassan-waris commented 2 years ago

There’s a issue I can’t seem to fix. When I get sent YouTube links it opens the link in safari not the UYou+ It’s really annoying how do I fix this??

qnblackcat commented 2 years ago

@hassan-waris duplicate of #37

a Shortcut to open link in the uYou+ can be found in the FAQ page

loljudge commented 2 years ago

There’s a issue I can’t seem to fix. When I get sent YouTube links it opens the link in safari not the UYou+ It’s really annoying how do I fix this??

I use this app, you can also add it as a share sheet option so links automatically open in apps it supports and it oddly works with uYou by default over the standard YouTube app https://apps.apple.com/us/app/opener-open-links-in-apps/id989565871

Macleykun commented 2 years ago

Is this issue still relevant? I tried it on my iPhone 13 and i don't seem to have this issue.

qnblackcat commented 2 years ago

Please refer to https://github.com/PoomSmart/YTUHD/issues/6 and https://github.com/PoomSmart/YTUHD/issues/8 for more info.

qnblackcat commented 2 years ago

Install uYouPlus via TrollStore should fix this issue