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

[YouTube] Some formats and resolutions buffer very frequently #8839

Closed
5 tasks done
Eiion opened this issue Aug 19, 2022 · 16 comments
Closed
5 tasks done

[YouTube] Some formats and resolutions buffer very frequently #8839

Eiion opened this issue Aug 19, 2022 · 16 comments
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/

Comments

@Eiion
Copy link

Eiion commented Aug 19, 2022

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.23.2

Steps to reproduce the bug

  1. Select video
  2. See it play for a few seconds until it starts buffering like half a minute, then play for another few seconds only to buffer again like forever.
  3. Play a few seconds, buffer forever repeats until the end of the video

Expected behavior

Tap on video and be able to watch it in one go opposed to getting buffering pauses for a multiple of the video's actual length.

Actual behavior

Bufferin videos over and over and over and over - no matter which one.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

Toolboxed fire hd 10 plus tablet

Additional information

While videos play perfectly fine with the YouTube app NewPipe currently is unusable due to the issue described above.

@Eiion Eiion added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 19, 2022
@PrinceRaj53
Copy link

Experiencing the same issue. This is happening frequently nowadays.

Although force closing the app, clearing cache & restarting it 3-4 times fixes the issue sometimes, but not always. Do try this and see if it works.

@nikhilCad
Copy link

For me 720p buffers but if I change default to 1080p it doesn't buffer

@AudricV
Copy link
Member

AudricV commented Aug 20, 2022

Like I said on the Reddit 0.23.2 release post:

  • streams which are coming from HTML clients, such as the 720p streams on videos with at least 720p60 streams, streams of age-restricted videos and undownloadable WEBM streams will be throttled/will buffer very frequently if the decryption of the throttling parameter fails again in the future.

The decryption of the throttling parameter is failing again, see TeamNewPipe/NewPipeExtractor#902.

There is nothing you can do about this on non age-restricted videos except using streams which doesn't meet the conditions stated above.

@AudricV AudricV added youtube Service, https://www.youtube.com/ requires extractor change This issue requires a change to the extractor and removed needs triage Issue is not yet ready for PR authors to take up labels Aug 20, 2022
@AudricV AudricV changed the title All videos are extremely struggling to buffer [YouTube] Some formats and resolutions buffer very frequently Aug 20, 2022
@Theta-Dev
Copy link
Contributor

Theta-Dev commented Aug 20, 2022

Here I have a debug build which fixes the issue.
app-debug.zip

Update: here is a new debug build, the first one had a major bug in the JS lexer. Works with the current player code, might break tomorrow.
app-debug.zip

@Eiion
Copy link
Author

Eiion commented Aug 20, 2022

No idea if it's related to the issue I've posted above but after changing video resolution to 1080p60 in order to have videos play again they now stutter like crazy (i.e. they play smooth for some seconds than stutter for a bit - the video part, not the audio) just to play smooth again and stutter again and so on. 1080p60 wasn't ever an issue before but now it is which led me to believe it's an related issue. (And it also makes me wonder why there's not an option to select to standard 1080p30 anymore 🤔)

@opusforlife2
Copy link
Collaborator

Here I have a debug build which fixes the issue.

Your debug build works, works, works, works, works, works, works. 🎉

@ghost
Copy link

ghost commented Aug 21, 2022

Having the same issue, @Theta-Dev debug build works perfectly.

@Eiion Eiion mentioned this issue Aug 22, 2022
6 tasks
@0Karakurt0
Copy link

0Karakurt0 commented Aug 24, 2022

@Theta-Dev solution works fine, but it still "underestimates" the internet speed required for x2 video speed. Although this was present in earlier versions too, now it seems to have been amplified

@opusforlife2
Copy link
Collaborator

Should be fixed by 0.23.3. Comment if not.

@opusforlife2 opusforlife2 pinned this issue Aug 26, 2022
@opusforlife2 opusforlife2 changed the title [YouTube] Some formats and resolutions buffer very frequently [FIXED IN 0.23.3][YouTube] Some formats and resolutions buffer very frequently Aug 26, 2022
@Stypox Stypox unpinned this issue Aug 27, 2022
@Eiion
Copy link
Author

Eiion commented Aug 31, 2022

This issue should be re-opened as the problem is back just like before since yesterday.

@AudricV AudricV changed the title [FIXED IN 0.23.3][YouTube] Some formats and resolutions buffer very frequently [YouTube] Some formats and resolutions buffer very frequently Aug 31, 2022
@AudricV

This comment was marked as resolved.

@AudricV
Copy link
Member

AudricV commented Sep 10, 2022

This issue should be fixed in the next update with TeamNewPipe/NewPipeExtractor#925.

@AudricV
Copy link
Member

AudricV commented Oct 2, 2022

Closing, as the issue should have been fixed, for real this time, with TeamNewPipe/NewPipeExtractor#905 and TeamNewPipe/NewPipeExtractor#934, shipped with 0.24.0.

@AudricV AudricV closed this as completed Oct 2, 2022
@Eiion
Copy link
Author

Eiion commented Oct 7, 2022

Closing, as the issue should have been fixed, for real this time, with TeamNewPipe/NewPipeExtractor#905 and TeamNewPipe/NewPipeExtractor#934, shipped with 0.24.0.

Apparently not. While e.g. 720p60 buffers fine 720p does not. In standard 720p it takes a long time to buffer, just to having to buffer again after a few seconds. So to me the issue appears to persist in 0.24.0.

@vehosah

This comment was marked as resolved.

@opusforlife2
Copy link
Collaborator

@vehosah Don't need to comment about the same problem in multiple places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/
Projects
None yet
Development

No branches or pull requests

8 participants