[Bug] Media Playback Unstable
Checklist
- [x] I make sure that the issue is NOT a duplicate of pinned issues
- [x] I make sure I am using the LATEST version - check here
- [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
- [x] I have attached the error report in the issue
Describe the bug
video sometimes stuck in beginning user need try to reload few times before media playback work normally
Version
version 5.3.1
Frequency
Often (80-90% of the time)
Device
Vivo Y100 4G
Steps to reproduce the bug
- open PP
- try to open random or previously cached content
- sometime stuck in the beginning
Additional context
Hello !
- What is ur endpoint, mweb, visionOS..
- Version of Android ?
- Are u on VPN or Proxy ?
It would help to debug exactly what's happening here :)
Hello !
* What is ur endpoint, mweb, visionOS.. * Version of Android ? * Are u on VPN or Proxy ?It would help to debug exactly what's happening here :)
• Currently I'm signed in so endpoint are locked to SABR but this actually happenned also on VisionOS • A15 (FunTouchOS 15) • No
Hello !
* What is ur endpoint, mweb, visionOS.. * Version of Android ? * Are u on VPN or Proxy ?It would help to debug exactly what's happening here :)
• Currently I'm signed in so endpoint are locked to SABR but this actually happenned also on VisionOS • A15 (FunTouchOS 15) • No
Thx ! And on any video or the bug is reproductible, like open a channel, start a VOD and this start to bug ?
Hello !
* What is ur endpoint, mweb, visionOS.. * Version of Android ? * Are u on VPN or Proxy ?It would help to debug exactly what's happening here :)
• Currently I'm signed in so endpoint are locked to SABR but this actually happenned also on VisionOS • A15 (FunTouchOS 15) • No
Thx ! And on any video or the bug is reproductible, like open a channel, start a VOD and this start to bug ?
the issues only occur when play a normal content this mean any video will have same chance to repro this bug even thought it's randomly
i didn't test live video yet
new update: VisionOS or SABR trigger error during media playback
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=juuu0se6rmk
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Anonymous)
- Endpoint: mweb
- Version: 5.4.0
- OS: Linux Android 15 - 35
Crash log
org.schabi.newpipe.player.PlayerError: ERROR_CODE_IO_UNSPECIFIED
at org.schabi.newpipe.player.ExoPlayerEventAdapter.onPlayerError(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:387)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$Bwd_WtKigxBd7JLyjK0ntOJdfNc(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda7.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:34)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:18)
at com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.util.ListenerSet.$r8$lambda$AHn9s3qXpdWTkpx2n1DyAlVZ5wI(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at androidx.profileinstaller.DeviceProfileWriter$$ExternalSyntheticLambda0.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:16)
at com.google.android.exoplayer2.util.ListenerSet.flushEvents(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:68)
at com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:431)
at com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:208)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$dCnkoIUYTim5-glExosd_PMTlm0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda20.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:30)
at android.os.Handler.handleCallback(Handler.java:1014)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:250)
at android.os.Looper.loop(Looper.java:340)
at android.app.ActivityThread.main(ActivityThread.java:9893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:625)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)
Caused by: com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:298)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loopOnce(Looper.java:250)
at android.os.Looper.loop(Looper.java:340)
at android.os.HandlerThread.run(HandlerThread.java:107)
Caused by: java.net.ConnectException: Failed to connect to rr1---sn-bg0s7nly.googlevideo.com/172.217.149.134:443
at okhttp3.internal.connection.ConnectPlan.connectSocket(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:129)
at okhttp3.internal.connection.ConnectPlan.connectTcp(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:38)
at okhttp3.internal.connection.FastFallbackExchangeFinder$launchTcpConnect$1.runOnce(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at androidx.lifecycle.LiveData$1.run$okhttp3$internal$concurrent$TaskRunner$runnable$1(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:68)
at androidx.lifecycle.LiveData$1.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:179)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:1571)
Caused by: java.net.ConnectException: failed to connect to rr1---sn-bg0s7nly.googlevideo.com/172.217.149.134 (port 443) from /10.111.222.1 (port 45056) after 10000ms: isConnected failed: ECONNABORTED (Software caused connection abort)
at libcore.io.IoBridge.isConnected(IoBridge.java:341)
at libcore.io.IoBridge.connectErrno(IoBridge.java:234)
at libcore.io.IoBridge.connect(IoBridge.java:176)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:646)
at okhttp3.internal.platform.Platform.connectSocket(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:4)
at okhttp3.internal.connection.ConnectPlan.connectSocket(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:71)
... 7 more
Caused by: android.system.ErrnoException: isConnected failed: ECONNABORTED (Software caused connection abort)
at libcore.io.IoBridge.isConnected(IoBridge.java:328)
... 17 more
CC: @Priveetee
Hello !
Thx for the new report :) This is the useful part:
Failed to connect to rr1---sn-bg0s7nly.googlevideo.com:443
after 10000ms
ECONNABORTED (Software caused connection abort)
PipePipe got an address for YouTube's video server, but couldn't establish the connection to download the video. The log doesn't tell us yet what interrupted it.
U mentioned RDNS and a WireGuard config in #2962. Were they active when this happened? U previously said no VPN, so has the setup changed since then?
Could u try these steps with the video from ur report?
- Keep the same endpoint, quality and sign-in state. Open the video three times on Wi-Fi and note how many attempts get stuck.
- Turn Wi-Fi off and repeat on mobile data. If RDNS or WireGuard is active, keep its configuration unchanged for this comparison.
- If a filtering app is active, check its connection or blocking log while opening the video. Look for
googlevideo.com, especiallyrr1---sn-bg0s7nly.googlevideo.com. If u are comfortable temporarily pausing the filtering app, repeat on the same network, then restore it.
Please tell us which attempts worked and share a fresh PipePipe error report from a failed attempt. The video server can change between attempts, so the new report will help us compare them.
I documented the network checks here, with screenshots for sharing the error report :) The required domains for YouTube requests are also listed here. For this particular error, please also check whether ur filtering app blocks googlevideo.com.
No need to reinstall PipePipe or change WebView for these tests. Let's first see whether changing the network or filtering setup changes the result :)
Hello !
Thx for the new report :) This is the useful part:
Failed to connect to rr1---sn-bg0s7nly.googlevideo.com:443 after 10000ms ECONNABORTED (Software caused connection abort)PipePipe got an address for YouTube's video server, but couldn't establish the connection to download the video. The log doesn't tell us yet what interrupted it.
U mentioned RDNS and a WireGuard config in #2962. Were they active when this happened? U previously said no VPN, so has the setup changed since then?
Could u try these steps with the video from ur report?
1. Keep the same endpoint, quality and sign-in state. Open the video three times on Wi-Fi and note how many attempts get stuck. 2. Turn Wi-Fi off and repeat on mobile data. If RDNS or WireGuard is active, keep its configuration unchanged for this comparison. 3. If a filtering app is active, check its connection or blocking log while opening the video. Look for `googlevideo.com`, especially `rr1---sn-bg0s7nly.googlevideo.com`. If u are comfortable temporarily pausing the filtering app, repeat on the same network, then restore it.Please tell us which attempts worked and share a fresh PipePipe error report from a failed attempt. The video server can change between attempts, so the new report will help us compare them.
I documented the network checks here, with screenshots for sharing the error report :) The required domains for YouTube requests are also listed here. For this particular error, please also check whether ur filtering app blocks
googlevideo.com.No need to reinstall PipePipe or change WebView for these tests. Let's first see whether changing the network or filtering setup changes the result :)
hi ._.
- usually 2 or 3 times even without any VPN it's same
- even internet data are same regadless using VPN or not
- while VPN Active i exclude pipepipe entirely
so in short none of these attempt work sadly i had to switching or hybrid using using other app like Grayjay for convenience
Regards GreenMystic
I don't think it's PipePipe's issue. From the log somehow PipePipe failed to connect to the google video server, and I can't reproduce the issue here.
I don't think it's PipePipe's issue. From the log somehow PipePipe failed to connect to the google video server, and I can't reproduce the issue here.
and yet even cleanet (not behind anything included VPN) not help to solve the problem
could it bcs my wifi router firewall?
More likely a google issue, we also receive some other type of reports. Working on a workaround that may help, let's see.
More likely a google issue, we also receive some other type of reports. Working on a workaround that may help, let's see.
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_DECODING_FAILED] occurred while playing https://www.youtube.com/watch?v=CgXo3-wAUF8
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Logged in)
- Endpoint: mweb
- Version: 5.5.0
- OS: Linux Android 15 - 35
Crash log
org.schabi.newpipe.player.PlayerError: ERROR_CODE_DECODING_FAILED
at org.schabi.newpipe.player.PlayerErrorHandler.toPlayerError(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:43)
at org.schabi.newpipe.player.ExoPlayerEventAdapter.onPlayerError(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:488)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:3)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$Bwd_WtKigxBd7JLyjK0ntOJdfNc(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda7.invoke(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:34)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:18)
at com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:17)
at com.google.android.exoplayer2.util.ListenerSet.$r8$lambda$AHn9s3qXpdWTkpx2n1DyAlVZ5wI(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
at androidx.profileinstaller.DeviceProfileWriter$$ExternalSyntheticLambda0.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:16)
at com.google.android.exoplayer2.util.ListenerSet.flushEvents(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:68)
at com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:431)
at com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:208)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$dCnkoIUYTim5-glExosd_PMTlm0(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda20.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:30)
at android.os.Handler.handleCallback(Handler.java:1014)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:250)
at android.os.Looper.loop(Looper.java:340)
at android.app.ActivityThread.main(ActivityThread.java:9893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:625)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)
Caused by: com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(v0, null, null, video/x-vnd.on2.vp9, vp9, 1718432, en, [848, 480, -1.0], [-1, -1]), format_supported=YES
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:371)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loopOnce(Looper.java:250)
at android.os.Looper.loop(Looper.java:340)
at android.os.HandlerThread.run(HandlerThread.java:107)
Caused by: com.google.android.exoplayer2.video.MediaCodecVideoDecoderException: Decoder failed: c2.qti.vp9.decoder
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.createDecoderException(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:5)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:155)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:97)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:242)
... 4 more
Caused by: android.media.MediaCodec$CodecException: Error 0xffffffe0
Astagfirullah 🗿🗿