TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.29k stars 3.04k forks source link

Intermittent, constant buffering #6949

Closed ghost closed 2 years ago

ghost commented 3 years ago

Checklist

Steps to reproduce the bug

  1. Use the app to watch videos for a while

I use WebM, if that matters.

Actual behavior

Eventually, seemingly at random, a video will decide it wants to endlessly buffer on/off, making it unwatchable.

When this happens, I can see that download speed consistently stays at around 60 KB/s. Closing out of the video, clearing cached metadata, then returning to that same video makes it work as normal again, varying between 100 B/s to 1-2 MB/s as you would expect.

Expected behavior

For one, the app is supposed to buffer at least 25 seconds ahead before playback resumes, as per https://github.com/TeamNewPipe/NewPipe/issues/5516#issuecomment-901382592. Simply enforcing the 25 second minimum probably wouldn't fix the underlying issue, though.

Screenshots/Screen recordings

https://user-images.githubusercontent.com/43770697/130306929-8e92318c-5629-47ca-99ef-df0826f8ccae.mp4

Logs

Cleaned up to remove screen recorder spam, from the moment I enabled the recorder to the end of the recording. I hope that's enough?

Click to reveal
08-20 21:22:16.365  2235  3117 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.lineageos.recorder/.RecorderActivity (has extras)} from uid 10031 on display 0
08-20 21:22:16.447  2235  3161 I ActivityManager: Start proc 10567:org.lineageos.recorder/u0a23 for activity org.lineageos.recorder/.RecorderActivity
08-20 21:22:16.522 10567 10567 I art     : Starting a blocking GC AddRemoveAppImageSpace
08-20 21:22:16.526 10567 10567 W System  : ClassLoader referenced unknown path: /system/priv-app/Recorder/lib/arm
08-20 21:22:16.672 10567 10567 W art     : Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
08-20 21:22:16.899  2235  3117 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:22:16.951 10567 10588 I Adreno-EGL: : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
08-20 21:22:16.955 10567 10588 I OpenGLRenderer: Initialized EGL, version 1.4
08-20 21:22:16.955 10567 10588 D OpenGLRenderer: Swap behavior 1
08-20 21:22:17.166  2235  2258 I ActivityManager: Displayed org.lineageos.recorder/.RecorderActivity: +765ms
08-20 21:22:18.142  2235  2247 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10023 on display 0
08-20 21:22:18.282  2235  3161 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:22:18.370  2235  2258 I ActivityManager: Displayed com.android.packageinstaller/.permission.ui.GrantPermissionsActivity: +203ms
08-20 21:22:19.148  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:22:19.292  2235  2847 D VoldConnector: SND -> {18 volume remount_uid 10023 read}
08-20 21:22:19.295   152   156 D vold    : Remounting 10023 as mode read
08-20 21:22:19.313   152   156 D vold    : Found matching PID 10567
08-20 21:22:19.320  2235  2325 D VoldConnector: RCV <- {200 18 Command succeeded}
08-20 21:22:19.323  2235  2884 D VoldConnector: SND -> {19 volume remount_uid 10023 write}
08-20 21:22:19.324   152   156 D vold    : Remounting 10023 as mode write
08-20 21:22:19.336   152   156 D vold    : Found matching PID 10567
08-20 21:22:19.342  2235  2325 D VoldConnector: RCV <- {200 19 Command succeeded}
08-20 21:22:19.430 32574 32596 D OpenGLRenderer: endAllActiveAnimators on 0xaa41c100 (RippleDrawable) with handle 0x98cd0fa0
08-20 21:22:19.619   189   189 W SurfaceFlinger: couldn't log to binary event log: overflow.
08-20 21:22:19.872  3127  3476 D ProtonLogger_0: 21:22:19-4: Checking if server is not in maintenance
08-20 21:22:19.880  2235  2584 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:22:19.890  3127  3476 D ProtonLogger_0: 21:22:19-4: [core.network.api.call] --> GET https://api.protonvpn.ch/vpn/servers/[iOKxc3Vwt8UcQksAO9QB3aUdI3wc3j1IL7bA7lFS9Av9I0_Lh7EPjiA46m9YVqzUFpU69_0HojvhmipvXLYi3A==] (auth Beare...)
08-20 21:22:20.152  2235  2245 I art     : Background partial concurrent mark sweep GC freed 38220(2MB) AllocSpace objects, 4(76KB) LOS objects, 33% free, 14MB/22MB, paused 2.315ms total 218.141ms
08-20 21:22:20.683  3127 10633 E java.net.CookieManager: Invalid cookie for https://api.protonvpn.ch/vpn/servers/[redacted]: Version=default; expires=Fri, 19 Nov 2021 01:22:20 GMT; path=/; secure
08-20 21:22:20.686  2394  2407 I art     : Background partial concurrent mark sweep GC freed 233657(13MB) AllocSpace objects, 3(72KB) LOS objects, 39% free, 23MB/38MB, paused 817us total 159.410ms
08-20 21:22:20.687  3127  3476 D ProtonLogger_0: 21:22:20-4: [core.network.api.call] <-- 200  GET https://api.protonvpn.ch/vpn/servers/[redacted] (792ms)
08-20 21:22:21.000  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:22:21.007  2235  2584 I ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10037 on display 0
08-20 21:22:22.223  2235  3157 E ActivityManager: applyOptionsLocked: Unknown animationType=0
08-20 21:22:22.452  2235  2584 W AppOps  : Finishing op nesting under-run: uid 10076 pkg org.schabi.newpipe code 40 time=0 duration=0 nesting=0
08-20 21:22:22.551  1740 32071 W AudioFlinger::EffectModule: EffectModule 0xb5204080 destructor called with unreleased interface
08-20 21:22:22.551  1740  1740 W AudioFlinger::EffectHandle: disconnect Effect handle 0xb577d380 disconnected after thread destruction
08-20 21:22:22.632  3111 10132 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:22:22.633  3111 10132 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:22:22.834  1747  2561 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:22:22.843  3111 10692 I OMXClient: MuxOMX ctor
08-20 21:22:22.844  1744 32395 I OMXMaster: makeComponentInstance(OMX.google.vp9.decoder) in mediacodec process
08-20 21:22:22.854  3111 10690 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185717
08-20 21:22:22.858  1744  1744 W OMXNodeInstance: [6d00081:google.vp9.decoder] component does not support metadata mode; using fallback
08-20 21:22:22.859  3111 10692 E ACodec  : [OMX.google.vp9.decoder] storeMetaDataInBuffers failed w/ err -1010
08-20 21:22:22.863  1744  1744 E OMXNodeInstance: setConfig(6d00081:google.vp9.decoder, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:22:22.863  3111 10692 I ACodec  : codec does not support config priority (err -1010)
08-20 21:22:22.863  1744  2449 E OMXNodeInstance: getParameter(6d00081:google.vp9.decoder, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:22:22.887  1747  2248 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:22:22.888  3111 10695 I OMXClient: MuxOMX ctor
08-20 21:22:22.889  1744  1744 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in mediacodec process
08-20 21:22:22.899  1744 32395 E OMXNodeInstance: setConfig(6d00082:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
08-20 21:22:22.900  3111 10695 I ACodec  : codec does not support config priority (err -2147483648)
08-20 21:22:22.915  1744 10696 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
08-20 21:22:22.946  3111 10132 D AudioTrack: Client defaulted notificationFrames to 3675 for frameCount 11025
08-20 21:22:24.653  3111 10690 D MediaCodec: [OMX.google.vp9.decoder] setting dataspace on output surface to #104
08-20 21:22:25.499  1740  1872 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback
08-20 21:22:31.698  3111 10690 D SoftwareRenderer: setting dataspace on output surface to #104
08-20 21:22:31.975  2235  3165 I MediaFocusControl:  AudioFocus  requestAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@f4b7cd req=1 flags=0x0
08-20 21:22:31.979  1740  1872 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback
08-20 21:22:32.034  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:22:37.110  3111  3123 I art     : Background partial concurrent mark sweep GC freed 107821(7MB) AllocSpace objects, 81(7MB) LOS objects, 20% free, 61MB/77MB, paused 2.822ms total 292.526ms
08-20 21:22:37.646  2235  2249 I UsageStatsService: User[0] Flushing usage stats to disk
08-20 21:22:38.138  1747  1747 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:22:38.139 10567 10946 I OMXClient: MuxOMX ctor
08-20 21:22:38.142  1747  2450 I OMXMaster: makeComponentInstance(OMX.qcom.video.encoder.avc) in mediaserver process
08-20 21:22:38.264  1747  2450 E OMX-VENC: Setting session priority failed
08-20 21:22:38.265  1747  2450 I OMX-VENC: Component_init : OMX.qcom.video.encoder.avc : return = 0x0
08-20 21:22:38.269  1747  2561 E OMX-VENC: set_parameter: metamode is valid for input port only
08-20 21:22:38.269  1747  2561 W OMXNodeInstance: [6d30006:qcom.encoder.avc] component does not support metadata mode; using fallback
08-20 21:22:38.269 10567 10946 E ACodec  : [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
08-20 21:22:38.270 10567 10946 W ACodec  : do not know color format 0x7fa30c04 = 2141391876
08-20 21:22:38.271 10567 10946 W ACodec  : do not know color format 0x7f000789 = 2130708361
08-20 21:22:38.275 10567 10946 I ACodec  : setupAVCEncoderParameters with [profile: Baseline] [level: Level41]
08-20 21:22:38.276 10567 10946 I ACodec  : [OMX.qcom.video.encoder.avc] cannot encode color aspects. Ignoring.
08-20 21:22:38.277 10567 10946 I ACodec  : [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
08-20 21:22:38.277 10567 10946 I ACodec  : setupVideoEncoder succeeded
08-20 21:22:38.280 10567 10946 W ACodec  : do not know color format 0x7f000789 = 2130708361
08-20 21:22:38.285  1747  2450 D GraphicBufferSource: setting dataspace: 0x104
08-20 21:22:38.285  1747  2561 E OMXNodeInstance: getParameter(6d30006:qcom.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:22:38.285  1747  2248 D GraphicBufferSource: requesting color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M))
08-20 21:22:38.438  2235 20037 I DisplayManagerService: Display device added: DisplayDeviceInfo{"hidden:screen-recording": uniqueId="virtual:org.lineageos.recorder,10023,hidden:screen-recording,0", 1080 x 1920, modeId 2, defaultModeId 2, supportedModes [{id=2, width=1080, height=1920, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 1, 1.0 x 1.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner org.lineageos.recorder (uid 10023), FLAG_SECURE}
08-20 21:22:38.454   189   189 I SurfaceFlinger: EGL information:
08-20 21:22:38.454   189   189 I SurfaceFlinger: vendor    : Android
08-20 21:22:38.454   189   189 I SurfaceFlinger: version   : 1.4 Android META-EGL
08-20 21:22:38.454   189   189 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_partial_update 
08-20 21:22:38.454   189   189 I SurfaceFlinger: Client API: OpenGL_ES
08-20 21:22:38.454   189   189 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x5
08-20 21:22:38.478  1747  2562 D GraphicBufferSource: got buffer with new dataSpace #104
08-20 21:22:38.478 10567 10946 D ACodec  : dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
08-20 21:22:38.479  2235  3161 W AppOps  : Finishing op nesting under-run: uid 10023 pkg org.lineageos.recorder code 24 time=0 duration=0 nesting=0
08-20 21:22:38.484  1747 10951 I OMX-VENC: open Color conv for RGBA888 W: 1080, H: 1920
08-20 21:22:38.685 10567 10954 I MPEG4Writer: limits: 4294967295/0 bytes/us, bit rate: -1 bps and the estimated moov size 3195 bytes
08-20 21:22:38.689 10567 10959 I MPEG4Writer: setStartTimestampUs: 312844
08-20 21:22:38.689 10567 10959 I MPEG4Writer: Earliest track starting time: 312844
08-20 21:22:38.893  2394  2407 I art     : Background partial concurrent mark sweep GC freed 94886(5MB) AllocSpace objects, 3(696KB) LOS objects, 40% free, 22MB/37MB, paused 824us total 105.167ms
08-20 21:22:40.272  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:22:43.285  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:22:48.465  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:22:48.683  2235  2245 I art     : Background sticky concurrent mark sweep GC freed 105429(6MB) AllocSpace objects, 13(280KB) LOS objects, 31% free, 15MB/22MB, paused 6.871ms total 165.009ms
08-20 21:22:53.440  2235  2253 E BatteryStatsService: power: Missing API
08-20 21:22:53.442  2235  2253 E BatteryStatsService: no controller energy info supplied
08-20 21:22:53.443  2235  2253 E BatteryStatsService: no controller energy info supplied
08-20 21:22:53.498  2235  2253 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
08-20 21:22:55.846  2235  2847 I ActivityManager: Setting hasTopUi=true for pid=2394
08-20 21:22:55.848  2394  2394 D PhoneStatusBar: disable: < expand ICONS* alerts SYSTEM_INFO* back home recent clock search quick_settings >
08-20 21:22:57.709  2235  2342 D NotificationSQLiteLog: Pruned event entries: 22
08-20 21:23:01.369  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:23:05.038  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:23:07.944  3111  3123 I art     : Background partial concurrent mark sweep GC freed 50063(2043KB) AllocSpace objects, 10(2MB) LOS objects, 21% free, 57MB/73MB, paused 1.827ms total 305.098ms
08-20 21:23:13.326  2394  2407 I art     : Background partial concurrent mark sweep GC freed 176000(10MB) AllocSpace objects, 1(24KB) LOS objects, 39% free, 23MB/38MB, paused 781us total 152.099ms
08-20 21:23:16.262  2235  3117 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@44f0159 attribute=null, token = android.os.BinderProxy@75b4a44
08-20 21:23:16.274  2235  2247 I ActivityManager: Setting hasTopUi=false for pid=2394
08-20 21:23:16.277  2394  2394 D PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
08-20 21:23:16.492  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:23:22.524  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:23:24.168  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:23:24.672  1740  1872 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback
08-20 21:23:24.734  1740  1872 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback
08-20 21:23:24.791  3111 10132 W AudioTrack: getTimestamp() location moved from kernel to server
08-20 21:23:24.812  3111 10132 W AudioTrack: retrograde timestamp position corrected, -2 = 1238312 - 1238314
08-20 21:23:39.571  2235  2245 I art     : Background sticky concurrent mark sweep GC freed 116004(6MB) AllocSpace objects, 0(0B) LOS objects, 30% free, 15MB/22MB, paused 2.407ms total 109.439ms
08-20 21:23:40.566  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:23:40.628  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:23:41.347  2235  3117 I ActivityManager: Setting hasTopUi=true for pid=2394
08-20 21:23:41.349  2394  2394 D PhoneStatusBar: disable: < expand ICONS* alerts SYSTEM_INFO* back home recent clock search quick_settings >
08-20 21:23:42.131  3111  3123 I art     : Background partial concurrent mark sweep GC freed 28593(935KB) AllocSpace objects, 0(0B) LOS objects, 21% free, 57MB/73MB, paused 2.849ms total 615.989ms
08-20 21:23:48.354  2235  2884 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b619ea7 attribute=null, token = android.os.BinderProxy@75b4a44
08-20 21:23:48.379  2235  2847 I ActivityManager: Setting hasTopUi=false for pid=2394
08-20 21:23:48.380  2394  2394 D PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
08-20 21:23:49.853  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:23:51.172  3111 11234 W Adreno-EGL: : EGL_BAD_ATTRIBUTE
08-20 21:23:51.173  3111 10690 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185718
08-20 21:23:51.212  2235  3157 W AppOps  : Finishing op nesting under-run: uid 10076 pkg org.schabi.newpipe code 40 time=0 duration=0 nesting=0
08-20 21:23:51.223  3111  3111 I ExoPlayerImpl: Release 5bf32ae [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25] [goog.exo.core, goog.exo.mediasession]
08-20 21:23:51.290  2235  2606 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@f4b7cd
08-20 21:23:53.499  1740  1872 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback
08-20 21:23:54.214  3111  3123 I art     : Background partial concurrent mark sweep GC freed 35549(1472KB) AllocSpace objects, 24(2MB) LOS objects, 21% free, 57MB/73MB, paused 1.557ms total 314.950ms
08-20 21:23:54.761  2394  2407 I art     : Background partial concurrent mark sweep GC freed 229537(13MB) AllocSpace objects, 0(0B) LOS objects, 40% free, 23MB/38MB, paused 784us total 153.795ms
08-20 21:23:56.880  3111  3111 I ExoPlayerImpl: Init 6338f35 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25]
08-20 21:23:56.906  3111  3111 W Player  : Broadcast receiver already unregistered: Receiver not registered: org.schabi.newpipe.player.Player$3@51ae9b1
08-20 21:23:56.977  2394  2394 D ro      : inflating media notification
08-20 21:23:57.049  2235  2847 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:23:57.077  3111  3111 I ExoPlayerImpl: Release 6338f35 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25] [goog.exo.core, goog.exo.mediasession]
08-20 21:23:57.080  2235  2884 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@c3f6493
08-20 21:23:57.088  3111  3111 I ExoPlayerImpl: Init 454ccd0 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25]
08-20 21:23:57.364  3111 11331 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:23:57.365  3111 11331 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:23:57.626  1747  2248 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:23:57.629  3111 11339 I OMXClient: MuxOMX ctor
08-20 21:23:57.633  1744 32395 I OMXMaster: makeComponentInstance(OMX.google.vp9.decoder) in mediacodec process
08-20 21:23:57.644  3111 11338 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185719
08-20 21:23:57.654  1744  2622 W OMXNodeInstance: [6d00083:google.vp9.decoder] component does not support metadata mode; using fallback
08-20 21:23:57.654  3111 11339 E ACodec  : [OMX.google.vp9.decoder] storeMetaDataInBuffers failed w/ err -1010
08-20 21:23:57.660  1744  2449 E OMXNodeInstance: setConfig(6d00083:google.vp9.decoder, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:23:57.660  3111 11339 I ACodec  : codec does not support config priority (err -1010)
08-20 21:23:57.660  1744  1822 E OMXNodeInstance: getParameter(6d00083:google.vp9.decoder, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:23:57.674  1747  2562 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:23:57.675  3111 11343 I OMXClient: MuxOMX ctor
08-20 21:23:57.676  1744  2622 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in mediacodec process
08-20 21:23:57.706  1744  1744 E OMXNodeInstance: setConfig(6d00084:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
08-20 21:23:57.707  3111 11343 I ACodec  : codec does not support config priority (err -2147483648)
08-20 21:23:57.730  1744 11344 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
08-20 21:23:57.780  3111 11331 D AudioTrack: Client defaulted notificationFrames to 3675 for frameCount 11025
08-20 21:23:57.942  3111 11338 D MediaCodec: [OMX.google.vp9.decoder] setting dataspace on output surface to #104
08-20 21:23:58.684  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:00.387  2235  2245 I art     : Background sticky concurrent mark sweep GC freed 101501(5MB) AllocSpace objects, 0(0B) LOS objects, 29% free, 15MB/22MB, paused 2.428ms total 105.996ms
08-20 21:24:01.753  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:01.924  3111 11338 D SoftwareRenderer: setting dataspace on output surface to #104
08-20 21:24:01.934  1740  1872 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback
08-20 21:24:01.952  2235  2584 I MediaFocusControl:  AudioFocus  requestAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@3a0b52e req=1 flags=0x0
08-20 21:24:07.788  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:09.323  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:09.357  3111  3123 I art     : Background partial concurrent mark sweep GC freed 45579(2MB) AllocSpace objects, 8(280KB) LOS objects, 21% free, 58MB/74MB, paused 1.734ms total 301.279ms
08-20 21:24:13.251  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:14.116  3111 11376 W Adreno-EGL: : EGL_BAD_ATTRIBUTE
08-20 21:24:14.118  3111 11338 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185720
08-20 21:24:14.132  2235  2845 W AppOps  : Finishing op nesting under-run: uid 10076 pkg org.schabi.newpipe code 40 time=0 duration=0 nesting=0
08-20 21:24:14.142  3111  3111 I ExoPlayerImpl: Release 454ccd0 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25] [goog.exo.core, goog.exo.mediasession]
08-20 21:24:14.216  2235  3165 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@3a0b52e
08-20 21:24:14.291  1740  1740 W AudioFlinger::EffectModule: EffectModule 0xb4d17180 destructor called with unreleased interface
08-20 21:24:14.293  1740  1880 W AudioFlinger::EffectHandle: disconnect Effect handle 0xb527d400 disconnected after thread destruction
08-20 21:24:14.540  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:15.751  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:17.250  1740  1872 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback
08-20 21:24:18.403  2235  2606 I ActivityManager: START u0 {cmp=org.schabi.newpipe/.about.AboutActivity} from uid 10076 on display 0
08-20 21:24:18.611  2235  3164 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:24:18.922  2235  2258 I ActivityManager: Displayed org.schabi.newpipe/.about.AboutActivity: +477ms
08-20 21:24:19.008  3111  3144 D OpenGLRenderer: endAllActiveAnimators on 0x8af9ad80 (NavigationMenuItemView) with handle 0x9573b780
08-20 21:24:19.130  3111  3123 I art     : Background partial concurrent mark sweep GC freed 30338(2MB) AllocSpace objects, 84(4MB) LOS objects, 21% free, 57MB/73MB, paused 1.812ms total 271.552ms
08-20 21:24:19.854  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:21.348  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:24.072  2235  2884 I ActivityManager: START u0 {cmp=org.schabi.newpipe/.settings.SettingsActivity} from uid 10076 on display 0
08-20 21:24:24.210  2235  2408 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:24:24.416  2235  2258 I ActivityManager: Displayed org.schabi.newpipe/.settings.SettingsActivity: +329ms
08-20 21:24:24.501  3111  3144 D OpenGLRenderer: endAllActiveAnimators on 0x8af98e00 (NavigationMenuItemView) with handle 0x9537f9f0
08-20 21:24:25.903  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:26.447  3127  3719 I charon  : 07[IKE] sending keep alive to 86.106.90.99[4500]
08-20 21:24:26.453  3127  3476 D ProtonLogger_0: 21:24:26-4: 07[IKE] sending keep alive to 86.106.90.99[4500]
08-20 21:24:26.623  2235  3164 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:24:27.708  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:28.435  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:28.620  2235  2235 W WindowManager: Attempted to remove non-existing token: android.os.Binder@e6d4d58
08-20 21:24:31.508  2379  2379 W SubtypeLocaleUtils: KeyboardLayoutSet not found, use QWERTY: locale=en_AU extraValue=TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable
08-20 21:24:31.509  2379  2379 W SubtypeLocaleUtils: KeyboardLayoutSet not found, use QWERTY: locale=hu_ZZ extraValue=AsciiCapable,SupportTouchPositionCorrection,EmojiCapable
08-20 21:24:31.510  2379  2379 W RichInputMethodSubtype: Can't find emoji subtype
08-20 21:24:31.510  2379  2379 W RichInputMethodSubtype: No input method subtype found; returning dummy subtype: Multi-lingual subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0, zz
08-20 21:24:31.640  2379  2379 I EmojiCategory: Last Emoji category id is 0
08-20 21:24:31.686  2379  2379 W ViewPager: Requested offscreen page limit 0 too small; defaulting to 1
08-20 21:24:31.696  2379  2379 I LatinIME: Starting input. Cursor position = 0,0
08-20 21:24:31.798  2379  2379 W SubtypeLocaleUtils: KeyboardLayoutSet not found, use QWERTY: locale=en_AU extraValue=TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable
08-20 21:24:31.892  2379  2379 I Choreographer: Skipped 30 frames!  The application may be doing too much work on its main thread.
08-20 21:24:31.952  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:32.564  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:32.571  2379  2379 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
08-20 21:24:33.095  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:24:33.545  3111  3111 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
08-20 21:24:37.204  3111  3123 I art     : Background partial concurrent mark sweep GC freed 695677(30MB) AllocSpace objects, 47(4MB) LOS objects, 30% free, 36MB/52MB, paused 6.864ms total 464.790ms
08-20 21:24:38.000  2235  2333 D WifiStateMachine: updateCapabilities for config:[redacted]false,false
08-20 21:24:38.954  3111  3111 I ExoPlayerImpl: Init 85224d3 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25]
08-20 21:24:38.979  3111  3111 W Player  : Broadcast receiver already unregistered: Receiver not registered: org.schabi.newpipe.player.Player$3@b103b2f
08-20 21:24:39.027  2394  2394 D ro      : inflating media notification
08-20 21:24:39.380  2235  3161 E WindowManager: App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
08-20 21:24:39.417  3111  3111 I ExoPlayerImpl: Release 85224d3 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25] [goog.exo.core, goog.exo.mediasession]
08-20 21:24:39.420  2235  2408 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@7da7a98
08-20 21:24:39.429  3111  3111 I ExoPlayerImpl: Init 2f0b2f1 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25]
08-20 21:24:39.630  3111  3123 I art     : Background partial concurrent mark sweep GC freed 134115(6MB) AllocSpace objects, 40(1592KB) LOS objects, 32% free, 32MB/48MB, paused 11.758ms total 234.595ms
08-20 21:24:39.753  3111 11701 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:24:39.753  3111 11701 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:24:39.886  2394  2407 I art     : Background sticky concurrent mark sweep GC freed 204981(13MB) AllocSpace objects, 0(0B) LOS objects, 33% free, 25MB/38MB, paused 5.307ms total 217.016ms
08-20 21:24:40.042  1747  2450 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:24:40.044  3111 11705 I OMXClient: MuxOMX ctor
08-20 21:24:40.049  1744 32395 I OMXMaster: makeComponentInstance(OMX.google.vp9.decoder) in mediacodec process
08-20 21:24:40.056  3111 11704 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185721
08-20 21:24:40.063  1744  1744 W OMXNodeInstance: [6d00085:google.vp9.decoder] component does not support metadata mode; using fallback
08-20 21:24:40.063  3111 11705 E ACodec  : [OMX.google.vp9.decoder] storeMetaDataInBuffers failed w/ err -1010
08-20 21:24:40.070  1744  1744 E OMXNodeInstance: setConfig(6d00085:google.vp9.decoder, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:24:40.073  3111 11705 I ACodec  : codec does not support config priority (err -1010)
08-20 21:24:40.073  1744  2449 E OMXNodeInstance: getParameter(6d00085:google.vp9.decoder, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
08-20 21:24:40.089  1747  2450 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:24:40.092  3111 11709 I OMXClient: MuxOMX ctor
08-20 21:24:40.093  1744  1744 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in mediacodec process
08-20 21:24:40.100  1744  1822 E OMXNodeInstance: setConfig(6d00086:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
08-20 21:24:40.100  3111 11709 I ACodec  : codec does not support config priority (err -2147483648)
08-20 21:24:40.133  1744 11710 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
08-20 21:24:40.173  3111 11701 D AudioTrack: Client defaulted notificationFrames to 3675 for frameCount 11025
08-20 21:24:40.344  3111 11704 D MediaCodec: [OMX.google.vp9.decoder] setting dataspace on output surface to #104
08-20 21:24:41.121  3111 11704 D SoftwareRenderer: setting dataspace on output surface to #104
08-20 21:24:41.685  2235  2845 I MediaFocusControl:  AudioFocus  requestAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@18689b8 req=1 flags=0x0
08-20 21:24:41.691  1740  1872 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback
08-20 21:24:42.367  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:43.214  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:43.796  2235  2245 I art     : Background sticky concurrent mark sweep GC freed 89048(5MB) AllocSpace objects, 3(60KB) LOS objects, 28% free, 15MB/22MB, paused 11.435ms total 150.783ms
08-20 21:24:43.970  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:43.986  2235  2253 E BatteryStatsService: power: Missing API
08-20 21:24:43.989  2235  2253 E BatteryStatsService: no controller energy info supplied
08-20 21:24:43.989  2235  2253 E BatteryStatsService: no controller energy info supplied
08-20 21:24:44.260  2235  2253 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
08-20 21:24:44.500  2235  2235 W art     : Long monitor contention with owner Binder:2235_E (20037) at void com.android.server.power.PowerManagerService.acquireWakeLockInternal(android.os.IBinder, int, java.lang.String, java.lang.String, android.os.WorkSource, java.lang.String, int, int)(PowerManagerService.java:1001) waiters=1 in boolean com.android.server.power.PowerManagerService.isInteractiveInternal() for 233ms
08-20 21:24:44.505  2235  2260 W art     : Long monitor contention with owner Binder:2235_E (20037) at void com.android.server.power.PowerManagerService.acquireWakeLockInternal(android.os.IBinder, int, java.lang.String, java.lang.String, android.os.WorkSource, java.lang.String, int, int)(PowerManagerService.java:1001) waiters=0 in void com.android.server.power.PowerManagerService.handleSandman() for 238ms
08-20 21:24:49.154  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:49.981  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:54.833  2235  2584 I ActivityManager: Setting hasTopUi=true for pid=2394
08-20 21:24:54.836  2394  2394 D PhoneStatusBar: disable: < expand ICONS* alerts SYSTEM_INFO* back home recent clock search quick_settings >
08-20 21:24:56.195  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:56.894  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:24:57.047  2235  2245 I art     : Background sticky concurrent mark sweep GC freed 69285(5MB) AllocSpace objects, 5(116KB) LOS objects, 26% free, 16MB/22MB, paused 3.203ms total 135.176ms
08-20 21:24:57.873  2235  2328 W ConnectivityExtension: ConnectivityExt jar file not present
08-20 21:25:08.906  2235  2845 I DisplayManagerService: Display device removed: DisplayDeviceInfo{"hidden:screen-recording": uniqueId="virtual:org.lineageos.recorder,10023,hidden:screen-recording,0", 1080 x 1920, modeId 2, defaultModeId 2, supportedModes [{id=2, width=1080, height=1920, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 1, 1.0 x 1.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner org.lineageos.recorder (uid 10023), FLAG_SECURE}
08-20 21:25:08.960 10567 10567 I ScreencastService: Video complete: /storage/emulated/0/Movies/ScreenRecords/ScreenRecord-2021-08-20-21-22-38.mp4
08-20 21:25:09.034 10567 10954 D MPEG4Writer: Video track stopping
08-20 21:25:09.034 10567 10954 D MPEG4Writer: Video track source stopping
08-20 21:25:09.034 10567 10954 D MPEG4Writer: Video track source stopped
08-20 21:25:09.038 10567 10959 I MPEG4Writer: Received total/0-length (5236/2) buffers and encoded 5236 frames. - Video
08-20 21:25:09.040 10567 10954 D MPEG4Writer: Video track stopped
08-20 21:25:09.040 10567 10954 D MPEG4Writer: Stopping writer thread
08-20 21:25:09.044 10567 10958 D MPEG4Writer: 0 chunks are written in the last batch
08-20 21:25:09.045 10567 10954 D MPEG4Writer: Writer thread stopped
08-20 21:25:09.053 10567 10954 I MPEG4Writer: The mp4 file will not be streamable.
08-20 21:25:09.114  1747  2561 W GraphicBufferSource: Dropped back down to Loaded without Executing
08-20 21:25:09.280  1747  2562 I OMX-VENC: Component Deinit
08-20 21:25:09.333  1746  2435 I FFmpegExtractor: android-source:0xb47b4000
08-20 21:25:09.364  1746  2435 D FFmpegExtractor: supported codec (h264) by official Stagefright
08-20 21:25:09.364  1746  2435 D FFmpegExtractor: ffmpeg detected media content as 'video/mp4' with confidence 0.08
08-20 21:25:12.312  2394  2394 W StatusBar: removeNotification for unknown key: 0|org.lineageos.recorder|61|null|10023
08-20 21:25:12.834  2235  2606 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@9ccb402 attribute=null, token = android.os.BinderProxy@75b4a44
08-20 21:25:12.845  2235  2247 I ActivityManager: Setting hasTopUi=false for pid=2394
08-20 21:25:12.851  2394  2394 D PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
08-20 21:25:14.016  2394  2394 I SlideTouchEvent: vel=0.0, MinimumFlingVelocity=150
08-20 21:25:14.429  2394  2394 I SlideTouchEvent: vel=679.0385, MinimumFlingVelocity=150
08-20 21:25:14.429  2394  2394 I SlideTouchEvent: Sliding distance is too short, can not trigger the single hand mode
08-20 21:25:14.461  2235  3165 I ActivityManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10037 on display 0
08-20 21:25:14.633  2235  2250 W art     : Long monitor contention with owner Binder:2235_D (3165) at int com.android.server.am.ActivityStarter.startActivityMayWait(android.app.IApplicationThread, int, int, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, boolean, int, android.app.IActivityContainer, com.android.server.am.TaskRecord)(ActivityStarter.java:804) waiters=0 in void com.android.server.am.ActivityManagerService$MainHandler.handleMessage(android.os.Message) for 115ms
08-20 21:25:14.848  2235  2245 I art     : Background partial concurrent mark sweep GC freed 87641(5MB) AllocSpace objects, 3(60KB) LOS objects, 33% free, 15MB/22MB, paused 2.769ms total 311.735ms
08-20 21:25:14.943  2394  2407 I art     : Background partial concurrent mark sweep GC freed 221876(12MB) AllocSpace objects, 3(132KB) LOS objects, 39% free, 23MB/38MB, paused 14.582ms total 347.390ms
08-20 21:25:15.219  3111 11865 W Adreno-EGL: : EGL_BAD_ATTRIBUTE
08-20 21:25:15.220  3111 11704 I MediaCodec: [OMX.google.vp9.decoder] setting surface generation to 3185722
08-20 21:25:15.368  2235  2247 W AppOps  : Finishing op nesting under-run: uid 10076 pkg org.schabi.newpipe code 40 time=0 duration=0 nesting=0
08-20 21:25:15.482  1740  1880 W AudioFlinger::EffectModule: EffectModule 0xb5203780 destructor called with unreleased interface
08-20 21:25:15.482  1740  1740 W AudioFlinger::EffectHandle: disconnect Effect handle 0xb577d340 disconnected after thread destruction
08-20 21:25:15.556  3111  3123 I art     : Background sticky concurrent mark sweep GC freed 91381(6MB) AllocSpace objects, 34(2MB) LOS objects, 15% free, 41MB/48MB, paused 4.656ms total 114.688ms
08-20 21:25:15.571  3111 11701 D CacheFactory: initExoPlayerCache: cacheDir = /storage/emulated/0/Android/data/org.schabi.newpipe/cache/exoplayer
08-20 21:25:15.646  1747  2562 I MediaPlayerService: MediaPlayerService::getOMX
08-20 21:25:15.651  3111 11870 I OMXClient: MuxOMX ctor
08-20 21:25:15.660  1744  2449 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in mediacodec process
08-20 21:25:15.666  1744  1822 E OMXNodeInstance: setConfig(6d00087:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
08-20 21:25:15.667  3111 11870 I ACodec  : codec does not support config priority (err -2147483648)
08-20 21:25:15.709  1744 11871 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
08-20 21:25:15.734  3111 11701 D AudioTrack: Client defaulted notificationFrames to 3675 for frameCount 11025
08-20 21:25:15.802  3111  3111 W BottomSheetBehavior: BottomSheetBehavior now supports multiple callbacks. `setBottomSheetCallback()` removes all existing callbacks, including ones set internally by library authors, which may result in unintended behavior. This may change in the future. Please use `addBottomSheetCallback()` and `removeBottomSheetCallback()` instead to set your own callbacks.
08-20 21:25:15.832  2235  2606 W AppOps  : Finishing op nesting under-run: uid 10076 pkg org.schabi.newpipe code 40 time=0 duration=0 nesting=0
08-20 21:25:15.838  3111  3111 I ExoPlayerImpl: Release 2f0b2f1 [ExoPlayerLib/2.12.3] [hammerhead, Nexus 5, LGE, 25] [goog.exo.core, goog.exo.mediasession]
08-20 21:25:15.850  2235  2847 I MediaFocusControl:  AudioFocus  abandonAudioFocus() from uid/pid 10076/3111 clientId=android.media.AudioManager@caee8acorg.schabi.newpipe.player.helper.AudioReactor@18689b8
08-20 21:25:15.864  3111  3111 I art     : System.exit called, status: 0
08-20 21:25:15.865  3111  3111 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
08-20 21:25:15.939  1740  1740 W AudioFlinger::EffectModule: EffectModule 0xb4d17a80 destructor called with unreleased interface
08-20 21:25:15.940  1740 32071 W AudioFlinger::EffectHandle: disconnect Effect handle 0xb577d740 disconnected after thread destruction
08-20 21:25:15.945  2235  3164 D GraphicsStats: Buffer count: 8
08-20 21:25:15.946  2235  3164 I ActivityManager: Process org.schabi.newpipe (pid 3111) has died
08-20 21:25:15.946  2235  3164 D ActivityManager: cleanUpApplicationRecord -- 3111
08-20 21:25:16.200  2235  3161 I ActivityManager: Killing 10567:org.lineageos.recorder/u0a23 (adj 1001): remove task

Device info

vehosah commented 2 years ago

Could you please test the APK of #6537 which makes the app use the streaming URLs of the WEB YouTube client first (with the n param unthrottled (it is the case for these URLs since version 0.21.8 of the app) and with some other params of official clients too) and see if you have buffering issues with this APK? Thank you in advance.

Direct link of the APK: https://github.com/TeamNewPipe/NewPipe/suites/4224687319/artifacts/109290035

It didn't solve the problem

vehosah commented 2 years ago

After installing VancedYT and VancedMicroG NewPipe actually started buffering faster. Idk if it's a coincidence.

Installing vancedMicroG alone worked for me. Thank you for the tip. https://github.com/YTVanced/VancedMicroG

It kind of helps, not actually solved the problem completely

ThisIsPaulDaily commented 2 years ago

I thought zeroPi2021 had an interesting lead with the DNS topic as I use the app PersonalDNSFilter and piholes with my devices.

I'm seeing this issue at lower resolutions 480/360/240/144 and will often just switch to a lower resolution and it will start again. Seemingly it happens when there's about 45 seconds left in a video for me. However it's also happening a minute or so into other videos. Could just be about every ten minutes it's freezing up.

For sure feels like rate limiting, props to those who linked to other repositories having similar bugs. Sounds like the JavaScript challenge is likely the cause.

Keep up the great work. It looked like this is on the right track.

I don't think it will help to include device and app versions here, as it seems to be understood to not be device specific.

AudricV commented 2 years ago

A small statement about what we are using and what we already do:

I tried to spoof better YouTube clients when trying to get streams and here is an APK with my changes: app-debug.zip app-debug.zip app-debug.zip app-debug.zip

(Note that I opened a PR with my changes, in the case it helps someone with the throttling issues: TeamNewPipe/NewPipeExtractor#780)

App source code: https://github.com/TiA4f8R/NewPipe/tree/yt-more-params-innertube-requests Extractor source code: https://github.com/TiA4f8R/NewPipeExtractor/tree/yt-more-params-innertube-requests

Are you getting better results/less buffering with it or not?

heineraa commented 2 years ago

Thank you TiA4f8R. I'm answering from my created and closed issue #7639

I installed your debug version and tried it again, the timespan, the buffering occurs is massively reduced but the buffering while watching a video is so often active that i prefer do download the video and watch it completely fluent after.

ghost commented 2 years ago

@TiA4f8R your apk drastically reduces buffering, can actually watch videos without downloading now, thank you

djuarezr commented 2 years ago

Would it be possible to have this testing app with #7734 fix applied, please? I would like to test these changes but I cannot play any video with it, as the source code is older than youtube crash. Thank you in advance.

AudricV commented 2 years ago

I will update it when I will have some time.

AudricV commented 2 years ago

@djuarezr You can now test with the new debug APK in my comment above.

djuarezr commented 2 years ago

Thank you! I will use it as daily driver for some days and write my results, but the changes look promising.

djuarezr commented 2 years ago

After using the app these two days, it seems that the poblem is almost solved; just some minor bufferings.

Check the following log. I played a video (at 2x speed just if it helps to see the bug). After 8 seconds it buffers just a moment. After 2:40 (aprox) I jump to minute 8:49, and at 9:15 the video starts to buffer again for some time until it continues. There is when I stop logging.

Hope this could help. Just let me know if you need more logs.

Buffering_Log.log

AudricV commented 2 years ago

@djuarezr Sorry for the very late reply, I forgot this issue. Maybe that's because of the playback speed you are using.

Anyway, could you (and others) try this APK and see if the issue is less present? It uses a custom HttpDataSource (based on DefaultHttpDataSource), which spoof better the YouTube clients and uses DASH to fetch progressive contents, instead of progressive HTTP.

Note: this APK contains all my work for the support of other delivery methods than progressive HTTP, for which I will try to open a new app PR in the coming days.

app-debug.zip

Thank you in advance!

ouzowtf commented 2 years ago

There is something weird happening with the resolutions and video formats available with this debug version (sometimes no MPEG-4 available, but it's definitely there, sometimes weird resolutions like here: https://www.youtube.com/watch?v=MjljCEqiE74, but I can't reproduce the problems with long buffering at the start of in between with it which I see with the normal release. And that's really fine! :+1:

djuarezr commented 2 years ago

It was impossible for me to reproduce the problem with the last app, even at 1080p 3x. Thank you very much!

AudricV commented 2 years ago

There is something weird happening with the resolutions and video formats available with this debug version (sometimes no MPEG-4 available, but it's definitely there, sometimes weird resolutions like here: https://www.youtube.com/watch?v=MjljCEqiE74

Indeed, I tried to set dynamically resolution based on what the resolution is really, but it seems it create some weird issues. I will revert this.

I can't reproduce the problems with long buffering at the start of in between with it which I see with the normal release.

Thanks for confirming!

opusforlife2 commented 2 years ago

@TiA4f8R Finally! This APK loads most videos almost instantaneously for me!

A bit of bad news, though: for those videos that aren't loaded immediately, they take even longer to load, or need workarounds (skipping ahead/restarting) to be used more often, compared to the current release.

I can confirm the resolutions thing too. For a lot of videos, both WebM and MP4 streams are shown at the same time, making the drop-down very long. And others have non-standard numbers, like 237p, 518p, etc.

karyogamy commented 2 years ago

for those videos that aren't loaded immediately, they take even longer to load, or need workarounds (skipping ahead/restarting) to be used more often, compared to the current release.

@opusforlife2 Could you post a few sample links that reproduces this problem? If skipping ahead starts the playback right away, then it might be fixed by skipping the first keyframe.

Mer0me commented 2 years ago

I tried to spoof better YouTube clients when trying to get streams and here is an APK with my changes: ~app-debug.zip~ ~app-debug.zip~ ~app-debug.zip~ app-debug.zip

(Note that I opened a PR with my changes, in the case it helps someone with the throttling issues: TeamNewPipe/NewPipeExtractor#780)

App source code: https://github.com/TiA4f8R/NewPipe/tree/yt-more-params-innertube-requests Extractor source code: https://github.com/TiA4f8R/NewPipeExtractor/tree/yt-more-params-innertube-requests

Are you getting better results/less buffering with it or not?

I'm using this app-debug apk since last week-end and unfortunately it doesn't solve any problem in my case.

As it is my first post on this thread, I describe the app behavior for me (official Newpipe or fork mentioned in this post seem to have the same behaviour here) :

The double tap left & right gesture let me think that it's not a Youtube limitation of bandwidth : same client, same IP, same video and the buffering go away. This workaround is very annoying to do, but it's the best I found for now.

djuarezr commented 2 years ago

Hello @Mer0me. The app you should try is in the comment https://github.com/TeamNewPipe/NewPipe/issues/6949#issuecomment-1081067331.

Mer0me commented 2 years ago

Hmm, how could I miss this comment ? I've installed this new app. First loading is always very long (for a 2 hours video). First buffering after 2 minutes of playback of a 18 minutes video (720p - speed *1.6). The "double-double-tap" method continue to work. Second buffering at 3'21''...

I'll give a try in the next days, but it is not perfect I guess.

AudricV commented 2 years ago

Could you post a few sample links that reproduces this problem? If skipping ahead starts the playback right away, then it might be fixed by skipping the first keyframe.

@karyogamy Probably opus uses WEBM, and no WEBM OTF streams are returned for the Android client.

Streams from the WEB client which are right now extracted are throttled by YouTube (not all streams), this should be improved when TeamNewPipe/NewPipeExtractor#780 is merged.

The changes should be again tested when this PR is merged and I rebased the extractor part of my changes at the top of the dev branch, to test if there is a difference with the current situation.

AudricV commented 2 years ago

@Mer0me We are agree the name of the latest APK you are using is ending delivery-methods-v2, right?

Could you take a look at Android's logcat and see if you get an error or a warning from PlaybackResolver or any strange error from NewPipe and/or its extractor, please? Also, what codec are you using for playback? Are you watching videos from big channels, or some videos from small channels with a small amount of views?

Other issues which may be related:

Mer0me commented 2 years ago

Yep, it's the delivery-methods-v2 apk that I've just installed. I will try to log something and post it here but I'm not familiar with android debugging. Give me a couple of days. Codec is MPEG-4. Videos are from big and small channels. Buffering occurs indifferently on both. I'm using Newpipe on this device and this connection/ISP since several years. Buffering problems began mid-2021, I guess. It shouldn't be a DNS issue or the hardware, even if it's an old Galaxy Tab GTP5110 under Dhollmen/Android 4.4.4. Other devices on same connection are OK with Newpipe or Youtube.

Thank you for your help, I come back soon after more tests of this version of the app.

Mer0me commented 2 years ago

This morning, 2 videos watched without any buffering in 720p speed *1.5. I can't remember the last time I could do that ! I will continue to test.

AudricV commented 2 years ago

Instead of the latest debug APK I uploaded on the issue, please use the APK generated in #8153.

AudricV commented 2 years ago

Because I have to update mocks.

Anyway, that's off-topic to this issue (and you don't need to delete your comment when it's hidden as off-topic, like you like to do).

NanyangTaiji commented 2 years ago

I compared several videos with SkyTube, which uses the same extractor, NewPipe took much longer time in loading and buffering, and sometimes even endless. This phenomenon did not happen when I tested last year.

Mer0me commented 2 years ago

After 1 week, I can confirm that the "delivery-methods-v2" apk is resolving most of the problem. The first buffering continue to be quite slow (~30s) but no more buffering after that, except random instant buffering maybe due to my hardawre, Wifi or Internet link. I've not tested the #8153 APK yet.

AudricV commented 2 years ago

I compared several videos with SkyTube, which uses the same extractor, NewPipe took much longer time in loading and buffering, and sometimes even endless. This phenomenon did not happen when I tested last year.

@NanyangTaiji With what NewPipe version did you test this? The release version, or the APK in the last pull request I linked? Note also #7919, which will be included in the next release, should help you anyway, by waiting for DASH playback of YouTube contents (added in my pull request) to come in the app.

Note also if you tried SkyTube Extra, it can use the YouTube official player for Android, which is proprietary and uses the YouTube app to play contents (hence maybe why everything is smoothly played on this app).

tutacat commented 2 years ago

Google actively limits their server download speeds to slow external downloaders.

Donkey-Doug commented 2 years ago

Version 0.23.0 made this issue a lot worse!

lf- commented 2 years ago

0.23 also made this much much worse for me vs 0.22.2. I reinstalled the old version to make sure I'm not imagining things. I can play 720p at 2.5x fine on the old version but on the new one, even 144p at 2.5x buffers all the time and is not very usable.

Donkey-Doug commented 2 years ago

0.23 also made this much much worse for me vs 0.22.2. I reinstalled the old version to make sure I'm not imagining things. I can play 720p at 2.5x fine on the old version but on the new one, even 144p at 2.5x buffers all the time and is not very usable.

I also watch videos at high speed. The buffering happens 100% of the time, i.e. on all videos. This makes newpipe unusable to me. Currently I watch 5s of video, wait a 7s, watch another few second and wait again some seconds etc.

seanking2919 commented 2 years ago

I'm on Samsung Galaxy devices with Android 12 and it seems to work fine. The only adjustment I had to make was lowering the playback load interval size to 16 KiB since I was using 360p on the phone. Who knows, but this might be a bug of not communicating or documenting what to do if experiencing buffer issues to the public.

immanuelfodor commented 2 years ago

I can confirm this, the latest release has solved the buffering issue for me on S22. Previously, x1.6 speed was unwatchable because of the constant buffering, there was more buffering than playback 😃 I always had to watch 720p to get rid of the buffering issue :( Now, high res videos with speedup are playing fine as they should. It's been a rough year of pain/buffering. Please don't break this!

A-Nicoladie commented 2 years ago

For me this new version has totally fixed the problem. I tried several videos in 1080p60 with 1.5x speed, and there is no buffering anymore except the 3 seconds at the beginning (on LineageOS 17.1)

Donkey-Doug commented 2 years ago

For me this new version has totally fixed the problem. I tried several videos in 1080p60 with 1.5x speed, and there is no buffering anymore except the 3 seconds at the beginning (on LineageOS 17.1)

I am also on lineageos 17, so that does not seem to be the problem. I do not have google play services installed.

aleksfadini commented 2 years ago

Where do you set that option?

@Donkey-Doug found it: settings -> video and audio -> playback load interval size

igorcafe commented 2 years ago

I'm not sure if related, but I noticed that videos and audio load faster when downloading then watching.

If I try to download a 44min video, 720p, it will finish in a minute or two. But if I try to watch it, even after waiting a minute, it will stop to buffer many times during the video, because the buffering speed seems to be slow.

It happens more frequently at high speeds like 2x, with fast-forward during silence enabled.

Is it the same issue?

lf- commented 2 years ago

Possibly related: I downloaded a video or several and watched the download speed: there were periods of saturating the wireless connection and getting some 40MByte/s and every couple of seconds, there's massive throttling to less than 50KByte/s.

If it's not possible to fix the periodic throttling, can the allowed amount to buffer ahead of playback be increased instead? My connection can grab like half the video in a couple of seconds, as soon as the throttling is relaxed.

Also, as suggested, I messed with the playback interval size trying every value, restarting the app between, and it had no obvious effect. I think this lack of effect is in line with YouTube periodically throttling the heck out of the video load.

igorcafe commented 2 years ago

If it's not possible to fix the periodic throttling, can the allowed amount to buffer ahead of playback be increased instead? My connection can grab like half the video in a couple of seconds, as soon as the throttling is relaxed.

That would be a good solution for my case.

Gravity2106 commented 2 years ago

Constant buffering doesn't matter the resolution or the configuration. Only audio works more or less okey, but videos are unwatchable

devnoname120 commented 2 years ago

I couldn't find this information but why doesn't NewPipe just use https://github.com/yt-dlp/yt-dlp instead of having their own https://github.com/TeamNewPipe/NewPipeExtractor implementation?

PixelCode01 commented 2 years ago

After testing old and new version I found out that buffering is present in new version if we increase speed there is more buffer and clearing cache also not work in new version

vaibhavgupta20 commented 2 years ago

I have tried both version on Samsung one UI and they have the same problem.

This bug has opened long time back. Any recent updates?

tutacat commented 2 years ago

It seems something is causing the app to either (just download at a slow speed) or (use only a single thread for download)

Does the app use multiple threads while watching? Or only downloading?

It's possible that it may be faster using HTTP/2 and maybe google is throttling HTTP/1 as well, but it might need reworking? And possibly websockets?

PixelCode01 commented 2 years ago

Yeah I also think same but why newpipe team is not taking the issue serious

AudricV commented 2 years ago

Yeah I also think same but why newpipe team is not taking the issue serious

No, we are, everything is explained in this Reddit post: https://www.reddit.com/r/NewPipe/comments/u5wf7m/about_youtube_buffering_issues/

It's possible that it may be faster using HTTP/2 and maybe google is throttling HTTP/1 as well, but it might need reworking? And possibly websockets?

That's not possible, unfortunately, see the post.

nikhilCad commented 2 years ago

For now just use apk in Checks tab of this PR https://github.com/TeamNewPipe/NewPipe/pull/8153 its debug apk so its little slow but there is no buffering. Using it since last few weeks.

zeref-dragneel commented 2 years ago

The Firefox browser and UC browser have support to increase the cache size for faster viewing. NewPipe can refer to features and updates. https://www.reddit.com/r/firefox/comments/i9kmdo/comment/g1fp3vv/?utm_source=share&utm_medium=web2x&context=3 https://www.reddit.com/r/firefox/comments/ukh2tv/does_firefox_browser_support_speeding_up_like_uc/