Skip to content

[Bug] Failed to load 36 hours video #2973

Description

@shishcraft5

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

I know this is a bit extreme but for the sake of content I'm reporting it, works on newpipe but not here

Exception

  • User Action: play stream
  • Request: Loading failed for [Disco Elysium - Final Cut: Full Game (No Commentary Walkthrough)]: https://www.youtube.com/watch?v=igUK55Qn1Go
  • Content Country:
  • Content Language: it-
  • App Language: it
  • Service: YouTube (Logged in)
  • Endpoint: mweb
  • Version: 5.4.0
  • OS: Linux Android 16 - 36
Crash log

org.schabi.newpipe.player.mediasource.FailedMediaSource$StreamInfoLoadException: java.lang.IllegalStateException: Invalid exact SABR segment count: itag=303, count=23954
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda6.apply(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:34)
	at com.grack.nanojson.JsonBuilder.onError(dex-id-0b87ffc61155d335f194489a84452f0ab2e4d5f6:23)
	at com.grack.nanojson.JsonBuilder.onError(dex-id-0b87ffc61155d335f194489a84452f0ab2e4d5f6:73)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-0b87ffc61155d335f194489a84452f0ab2e4d5f6:39)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-0b87ffc61155d335f194489a84452f0ab2e4d5f6:64)
	at androidx.activity.FullyDrawnReporter.onSuccess(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:10)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle$ToSingleMaybeSubscriber.onSuccess(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:9)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onNext(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:67)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:55)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:12)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:44)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDefer.subscribeActual(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:26)
	at io.reactivex.rxjava3.core.Flowable.subscribe(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:7)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:9)
	at io.reactivex.rxjava3.core.Maybe.subscribe(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
	at io.reactivex.rxjava3.internal.operators.single.SingleJust.subscribeActual(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:87)
	at io.reactivex.rxjava3.core.Single.subscribe(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:6)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:5)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:10)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:22)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:328)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:323)
	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:1572)
Caused by: java.lang.IllegalStateException: Invalid exact SABR segment count: itag=303, count=23954
	at org.schabi.newpipe.player.datasource.SabrDashMediaSource.adaptationSet(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:562)
	at org.schabi.newpipe.player.datasource.SabrDashMediaSource.<init>(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:200)
	at org.jsoup.select.NodeVisitor$-CC.buildMediaSource(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:23)
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:608)
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda3.apply(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:128)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-0b87ffc61155d335f194489a84452f0ab2e4d5f6:18)
	... 23 more


Version

5.4.0

Frequency

Always (100% of the time)

Device

Tcl nxtpaper 60 ultra, android 16

Steps to reproduce the bug

  1. go to https://www.youtube.com/watch?v=igUK55Qn1Go
  2. error

Additional context

Happens on this one too https://www.youtube.com/watch?v=s7Rtw_PlS_s

SABR playback seems unable to handle loong videos like 10+ hours, which is kind of the norm for a walktrough

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions