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

Buffering while playing videos #6425

Closed
1 task done
Slicer32 opened this issue Jun 4, 2021 · 23 comments · Fixed by #6444
Closed
1 task done

Buffering while playing videos #6425

Slicer32 opened this issue Jun 4, 2021 · 23 comments · Fixed by #6444
Labels
bug Issue is related to a bug

Comments

@Slicer32
Copy link

Slicer32 commented Jun 4, 2021

Checklist

Steps to reproduce the bug

Actual behaviour

The problem of buffering while playing videos using wifi ..other apps like Youtube works fine..it sometimes occur and other times it is fine.. the problem both occurs in full view mode and pip mode. To an extent, it buffers, plays for a few seconds and buffers again.

Expected behavior

I expect the app to be smooth as using wifi does not hinder the YouTube app. Besides the buffering im loving this app..better features and lightweight than You tube...keep up the good work!

Screenshots/Screen recordings

Logs

Device info

  • Android version/Custom ROM version: stock android 9(pie)
  • Device model: Asus ZenFone Max Pro M2
@Slicer32 Slicer32 added the bug Issue is related to a bug label Jun 4, 2021
@nzimas
Copy link

nzimas commented Jun 4, 2021

I can confirm this report.
The app is practically unusable at this point.
Buffering happens regardless of the type of internet connection.

@triallax
Copy link
Contributor

triallax commented Jun 4, 2021

Could you both check if this issue is also present on the YouTube website (NOT the app)?

@Slicer32
Copy link
Author

Slicer32 commented Jun 4, 2021

So far the YouTube (website not app) is fine, no buffering that i have experienced

@SmoothJaz
Copy link

SmoothJaz commented Jun 4, 2021

I can also confirm this issue. I've actually had it since the previous version but couldn't work out how to correctly report it. Videos will buffer every few seconds regardless of mobile data or wifi connections. The same videos work fine on YouTube because I often have to resort to the YouTube app to watch the videos

Running Samsung note 20 ultra 5G, Android version 11

Edit: I just tried lowering the video quality and on a 50Mbs down connection the buffering issue shows up on anything 480p or higher but on the YouTube app or any other video streaming app it has no problem streaming the video at 1080p and higher without buffering

@ghost
Copy link

ghost commented Jun 4, 2021

Can confirm this issue as well, have had this happen for a few weeks now sporadically. Videos will play but stop, buffer for a second, then resume. The only solution I've found is to wait a few hours and try again or lower the resolution below 480p. Its become so common that I've been using the website in the meantime.

Xiaomi Redmi Note 9S
Android 11

@castrik
Copy link

castrik commented Jun 4, 2021

happening to me as well, gigabit connection and I can watch at 8k 60fps no buffer in web browser or even 4k on youtube app, but seeing buffer on newpipe on 480p and above
happening since 0.21.2

Samsung S21 ultra
Android 11

@triallax
Copy link
Contributor

triallax commented Jun 4, 2021

Do you live in the EU or use a VPN that connects to the EU? If so, it might be #5977. Not confident about this, but it's worth asking.

@SmoothJaz
Copy link

Do you live in the EU or use a VPN that connects to the EU? If so, it might be #5977. Not confident about this, but it's worth asking.

No, Australian with no VPN running

@bibin-v2020
Copy link

bibin-v2020 commented Jun 6, 2021

Same for me. It's not there for all videos but for some. I'm from India (no VPN). Now a day's it's happening too often.

Videos will play but stop, buffer for a second, then resume, repeat!!

@opusforlife2
Copy link
Collaborator

This is a hunch, but could all of you try TeamNewPipe/NewPipeExtractor#604. There is a further link to the actual test APK in the top comment.

@SmoothJaz
Copy link

This is a hunch, but could all of you try TeamNewPipe/NewPipeExtractor#604. There is a further link to the actual test APK in the top comment.

if i could work out how to do this i would love to try and help! I'm a lowly end user here to provide feedback and dont really have much knowledge on how to navigate and understand this site

i tried following that link, and another link that said to "see the checks for the APK" (over at https://github.com/TiA4f8R/NewPipe/pull/3/checks ) But wasnt able to find an APK to download. If you could link me directly id be happy to download the apk or whatever and daily drive it a bit to see how the results go, however.

@opusforlife2
Copy link
Collaborator

@SmoothJaz Artifacts on the top right. You can download from there.

@SmoothJaz
Copy link

@opusforlife2 aha! Thanks, from the initial get-go it seems to not have the same issue, and all the videos im trying right now seem to be playing fine. I'll continue using it for a while and see if i come across the issue. I'd like some others having this problem to also give the apk a trial run and see how they go too

@SmoothJaz
Copy link

SmoothJaz commented Jun 6, 2021

So, I just came across the issue again on the other apk from https://github.com/TiA4f8R/NewPipe/pull/3/checks

Constant buffer pausing every second or so, tried on different networks and problem still persists

Anyone got a way I can attempt to debug the network traffic or something to see what's causing this issue? (I'm woefully out of my depth here haha)

@bibin-v2020
Copy link

tested this apk (https://github.com/TiA4f8R/NewPipe/pull/3/checks) for some hours, till now no buffer issue reported... Let's see

@AudricV
Copy link
Member

AudricV commented Jun 6, 2021

Note that we (ExoPlayer I think) are not fetching video and audio ranges with the same way as YouTube (which make a range request to the video/audio stream with range, rbuf, and rn params append to the base streaming URL): the app fetches range requests with the Range header (using Range: bytes=start-end in the GET request). It may explain the issue.

@Slicer32
Copy link
Author

Slicer32 commented Jun 7, 2021

Hello guys, here is the example of the video buffering.
Taken on the. Zenfone Max pro M2
V 0.21.3

VID-20210607-WA0007.mp4

@Flam3z
Copy link

Flam3z commented Jun 7, 2021

Can also confirm, all my other apps just require internet work fine but NP bufferd videos out of nowhere.

Galaxy S10
Version 0.21.3

@TobiGr
Copy link
Member

TobiGr commented Jun 7, 2021

Please test the APK from #6444 and tell us whether the problem is gone.

@snsgnq
Copy link

snsgnq commented Jun 7, 2021

Hi, I have this issue since a few days as well. This does not happen on all channels though! On some channels, their videos are loading quick, like 5mbps and some channels they go 200kbps, which makes videos unplayable.

@opusforlife2
Copy link
Collaborator

@snsgnq Please try the linked APK.

@snsgnq
Copy link

snsgnq commented Jun 7, 2021

@snsgnq Please try the linked APK.

Will do, thanks!
Just trying collaborate on what hasn't been said yet, as far as I've read. Also, WiFi or 4G doesn't make a difference for me.

@opusforlife2
Copy link
Collaborator

opusforlife2 commented Jun 20, 2021

Guys, the linked PR didn't actually fix the issue. But we have a new PR for you to try: #6524. Please test this and tell us if the buffering problem is solved for you.

The more people test and confirm it works, the more confident we can be about the proposed solution.

Edit: Please make any comments on the PR thread, and not this issue.

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.