PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] Unable to create SABR video source

Open Andmyaxe90 opened this issue 4 months ago • 8 comments

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

Opening any video fails with the following error

Exception

  • User Action: play stream
  • Request: Loading failed for [Gigguk Joins Us On The RV Trip Across Japan! (ft. Daidus & Premier Two) | Day 3]: https://www.youtube.com/watch?v=g6keJqE8NJs
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.1
  • OS: Linux Android 7.0 - 24
Crash log

org.schabi.newpipe.player.mediasource.FailedMediaSource$StreamInfoLoadException: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=g6keJqE8NJs
	at org.schabi.newpipe.player.playqueue.PlayQueueItem$$ExternalSyntheticLambda0.apply(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:34)
	at org.brotli.dec.IntReader.onError(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:23)
	at org.brotli.dec.IntReader.onError(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:73)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:39)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:110)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:3)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle$ToSingleMaybeSubscriber.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:9)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onNext(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:67)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:55)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:12)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:44)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDefer.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:26)
	at io.reactivex.rxjava3.core.Flowable.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:6)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:9)
	at io.reactivex.rxjava3.core.Maybe.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:1)
	at io.reactivex.rxjava3.internal.operators.single.SingleJust.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:87)
	at io.reactivex.rxjava3.core.Single.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:6)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:5)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:10)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:22)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=g6keJqE8NJs
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:340)
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda3.apply(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:74)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:18)
	... 22 more
Caused by: java.io.IOException: Could not start SABR session for g6keJqE8NJs
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:449)
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:303)
	... 24 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Could not initialize WebView V8
	at org.schabi.newpipe.WebViewJavaScriptDecoder.ensureReady(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:59)
	at org.schabi.newpipe.WebViewJavaScriptDecoder.decodeBatch(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:8)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptPlayerManager.deobfuscateBatch(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:24)
	at kotlin.time.DurationKt.maybeDeobfuscateNParameter(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:47)
	at kotlin.time.DurationKt.fromPlayerResponse(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:16)
	at kotlin.time.DurationKt.fetchSabrInfo(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:544)
	at org.schabi.newpipe.player.datasource.SabrSessionStore.getOrCreate(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:185)
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:130)
	... 25 more
Caused by: java.lang.IllegalStateException: EJS initialization returned false
	at org.schabi.newpipe.WebViewJavaScriptDecoder$$ExternalSyntheticLambda5.onReceiveValue(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:28)
	at uE.onResult(Unknown Source)
	at org.chromium.android_webview.AwContents.a(PG:995)
	at aBg.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6776)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)


This does not happen with PipePipe 5.20.

Version

5.2.1

Frequency

Always (100% of the time)

Device

Samsung Galaxy J7

Steps to reproduce the bug

No response

Additional context

No response

Andmyaxe90 avatar Jul 04 '26 09:07 Andmyaxe90

please update your Android System WebView

InfinityLoop1308 avatar Jul 04 '26 10:07 InfinityLoop1308

I don't see any updates available in the Play Store, and I prefer to not update from Android 7. Is there anything else that can be done?

Andmyaxe90 avatar Jul 04 '26 10:07 Andmyaxe90

maybe update chrome and then go System Settings > Developer Options > webview implementation , select the one with highest version

InfinityLoop1308 avatar Jul 04 '26 11:07 InfinityLoop1308

The latest version of Chrome that's compatible is 119.0.6045.194 Would that include the version of Android System WebView needed for PipePie 5.2.1?

Andmyaxe90 avatar Jul 04 '26 11:07 Andmyaxe90

any webview 80+ is enough

InfinityLoop1308 avatar Jul 04 '26 11:07 InfinityLoop1308

Updated Chrome to 119 and videos now play again. Loading is a lot slower now, though.

Andmyaxe90 avatar Jul 04 '26 11:07 Andmyaxe90

we'll check the perf in the next version.

InfinityLoop1308 avatar Jul 04 '26 11:07 InfinityLoop1308

Thank you so much for the help with this issue and making PipePipe.


From: InfinityLoop1308 @.> Sent: Saturday, 04 July 2026 13:55:17 To: InfinityLoop1308/PipePipe @.> Cc: Andmyaxe90 @.>; Author @.> Subject: Re: [InfinityLoop1308/PipePipe] [Bug] Unable to create SABR video source (Issue #2625)

[https://avatars.githubusercontent.com/u/96324692?s=20&v=4]InfinityLoop1308 left a comment (InfinityLoop1308/PipePipe#2625)https://github.com/InfinityLoop1308/PipePipe/issues/2625#issuecomment-4881888979

we'll check the perf in the next version.

— Reply to this email directly, view it on GitHubhttps://github.com/InfinityLoop1308/PipePipe/issues/2625?email_source=notifications&email_token=AZMGGQCSO77TO2CC32CHFM35DDWCLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGE4DQOBZG442M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4881888979, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZMGGQC4VREBGWPRFNGZJY35DDWCLAVCNFSNUABFKJSXA33TNF2G64TZHM2DSMBZHA2DQOBXHNEXG43VMU5TIOBQHA2DAMJYG4Y2C5QC. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOShttps://github.com/notifications/mobile/ios/AZMGGQG4O5RXY5YPVA5UNCD5DDWCLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGE4DQOBZG442M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Androidhttps://github.com/notifications/mobile/android/AZMGGQAJLSF2LUVF36SLRD35DDWCLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGE4DQOBZG442M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

Andmyaxe90 avatar Jul 04 '26 11:07 Andmyaxe90