TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.09k stars 3.02k forks source link

[YouTube] 720p24-30 FPS video streams missing since v0.27.2 #11486

Open throwaway242685 opened 3 weeks ago

throwaway242685 commented 3 weeks ago

Checklist

Affected version

0.27.2

Steps to reproduce the bug

  1. choose either 720p or 1080p as the default resolution. (30fps)
  2. all videos will play at 60fps, ignoring the previous setting.
  3. this is a regression.

Expected behavior

videos should play at 30fps.

Actual behavior

30fps streams are missing since v0.27.2

this is a regression.

Screenshots/Screen recordings

screenshot_20240914-162716 screenshot_20240914-162725

Logs

No response

Affected Android/Custom ROM version

Android 9

Affected device model

Samsung Galaxy A10

Additional information

I'm reporting this because 60fps videos make my phone get quite hot, and they unnecessarily drain the battery much faster.

ShareASmile commented 2 weeks ago

6835

throwaway242685 commented 2 weeks ago

wait, this is a regression introduced with v0.27.2

this has nothing to do with that 3 years old issue from above.

30fps streams (720p, 1080p) are missing only since the latest update.

https://old.reddit.com/r/NewPipe/comments/1ec8r8e/release_v0272/lez0wlk/

shuttittuppitt commented 6 days ago

DISCLOSURE = I am not any of NewPipe's (or Youtube's) developers, just a NewPipe user.

Anyway, I also use NewPipe (0.27.2), & both of my (android) tablets are Samsung too (A7 & S9, but I'd be surprised if what this bug report is about is device specific).

I myself hate 60 fps (I call it "a solution in search of a problem"), which is why I'm interested in this specific bug report. So this brings to my mind 2 questions. (1) I noticed that in your screenshot (of "Settings > Video & audio > Default popup resolution"), that your screenshot is of "Default POPUP resolution". Is your setting for "Default resolution" (for non-popup playback) also set to a 30 fps resolution? (2) Is this only happening if you watch a video in popup mode, or in non-popup mode too?

I personally don't notice any videos playing at 60 fps (which is one of the reasons why I regard it as a stupid gimmick), but maybe this only happens in popup mode, which I don't use. Neither of my tablets get hot or experience battery drain from using NewPipe (although I mostly use NewPipe for downloading videos & then watching them offline).

Finally, this might be (mostly) Youtube's fault (at least with recently uploaded videos). I think that a change to Youtube made earlier versions of NewPipe unable to play or download videos. If that's what is causing this, then perhaps NewPipe's developers have (unintentionally) left the 30 fps playback resolutions in the settings, but that some (all ?) videos no longer have any 30 fps streams (except for the much lower resolutions) available. Just speculation though, because I don't work for Youtube or NewPipe. Hopefully somebody who does can shed some light on this issue.

AudricV commented 5 days ago

@throwaway242685

30fps streams (720p, 1080p) are missing only since the latest update.

That's only the case for 720p. 1080p24-30 FPS streams are not provided since a few years when there is a 1080p50-60 FPS stream available.

Like said in my reply to the Reddit comment you linked, that's due to the workaround we use for the integrity checks YouTube makes on its clients. They won't become available (except for age-restricted videos?) while we can't pass these checks (and are related to the anti-bot login extraction errors), unless YouTube start to return them on their Android and iOS clients (not used to extract streams for age-restricted videos).