Kodi Community Forum

Full Version: YouTube
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any problems with buffering last 2 weeks ish? I can't fast forward without any videos just straight up locking for like 20 sec st the time. Even on startup it takes a long time to get it going.

Any known issues going on or do I need to start troubleshooting?
I experienced some buffering this evening on a few videos. Before tonight, I had no problems whatsoever.
I think the buffering & other issues experienced when skipping through videos might have something to do with the opus audio codec and/or the newer version of inputstream adaptive as when i watch a video that still uses the aac codec or disable inputstream adaptive i can skip through videos just as quickly as i could before.
Same here, disabling inputstream adaptive seems to fix the issue with buffering and skipping trough videos for me.
But if you disable inputstream then we are locked to 720p which is kinda sad.
(2023-03-01, 04:16)GreeM Wrote: [ -> ]But if you disable inputstream then we are locked to 720p which is kinda sad.
thats probably the real reason it works, nothing to do with inputstream, lower quality=less bandwidth and system resources
When I use search, the YouTube addon takes forever to show results on my Orange Pi. Same issue with the YouTube Channels addon. Anyone knows a solution?
It seems that the API is responding very slowly:

Code:
2023-03-01 14:58:57.322 T:30299 debug <general>: [plugin.video.youtube] Selecting YouTube config "All"
2023-03-01 14:58:57.323 T:30299 debug <general>: [plugin.video.youtube] User is not logged in
2023-03-01 14:58:57.326 T:30299 debug <general>: [plugin.video.youtube] [data] v3 request: |GET| path: |search| params
: |{'q': 'euronews', 'part': 'snippet', 'regionCode': 'US', 'hl': 'en_US', 'relevanceLanguage': 'en_US', 'maxResults': '
50', 'eventType': 'live', 'type': 'video', 'order': 'relevance', 'safeSearch': 'moderate'}| post_data: |None|
2023-03-01 14:58:57.382 T:28553 debug <general>: ------ Window Init (DialogBusy.xml) ------
2023-03-01 14:59:27.291 T:30261 debug <general>: Thread JobWorker 2201510016 terminating (autodelete)
2023-03-01 14:59:27.291 T:30255 debug <general>: Thread JobWorker 2482712704 terminating (autodelete)
2023-03-01 14:59:27.291 T:30252 debug <general>: Thread JobWorker 1966583936 terminating (autodelete)
2023-03-01 14:59:57.961 T:28556 debug <general>: Sink changed
2023-03-01 15:01:41.155 T:30299 info <general>: Skipped 1 duplicate messages..
2023-03-01 15:01:41.155 T:30299 debug <general>: [plugin.video.youtube] [data] v3 response: |200| headers: |{'Content-
Type': 'application/json; charset=UTF-8', 'Vary': 'Origin, X-Origin, Referer', 'Content-Encoding': 'gzip', 'Date': 'Wed,
01 Mar 2023 09:01:41 GMT', 'Server': 'scaffolding on HTTPServer2', 'Cache-Control': 'private', 'X-XSS-Protection': '0',
'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; m
a=2592000', 'Transfer-Encoding': 'chunked'}|
(2023-03-01, 04:26)jepsizofye Wrote: [ -> ]
(2023-03-01, 04:16)GreeM Wrote: [ -> ]But if you disable inputstream then we are locked to 720p which is kinda sad.
thats probably the real reason it works, nothing to do with inputstream, lower quality=less bandwidth and system resources
Just another one seeing buffering last few days - thats on an edge case machine so I set up a clean nexus version on my desktop pc (3700x 8 core / 16thread - no issues on network (540 down / 37 up)) still see the cache drain out and buffer if using input adaptive, as other said turn it off no issues.
(2023-03-01, 16:21)edz2k9 Wrote: [ -> ]
(2023-03-01, 04:26)jepsizofye Wrote: [ -> ]
(2023-03-01, 04:16)GreeM Wrote: [ -> ]But if you disable inputstream then we are locked to 720p which is kinda sad.
thats probably the real reason it works, nothing to do with inputstream, lower quality=less bandwidth and system resources
Just another one seeing buffering last few days - thats on an edge case machine so I set up a clean nexus version on my desktop pc (3700x 8 core / 16thread - no issues on network (540 down / 37 up)) still see the cache drain out and buffer if using input adaptive, as other said turn it off no issues.
it was speculation not fact...

have you compared lower resolution using inputstream vs normal inputstream by chance? since the lower resolution is what i speculated actually helped
I'm pretty sure there is a new round of Youtube shenanigans being rolled out.

Coinciding with the Kody plugin suddenly streaming only at 144p and 240p (with inputstream), for a couple of days all yt-dlp downloads have been running at 50-300 Kb/s.
(2023-03-01, 16:24)jepsizofye Wrote: [ -> ]
(2023-03-01, 16:21)edz2k9 Wrote: [ -> ]
(2023-03-01, 04:26)jepsizofye Wrote: [ -> ]thats probably the real reason it works, nothing to do with inputstream, lower quality=less bandwidth and system resources
Just another one seeing buffering last few days - thats on an edge case machine so I set up a clean nexus version on my desktop pc (3700x 8 core / 16thread - no issues on network (540 down / 37 up)) still see the cache drain out and buffer if using input adaptive, as other said turn it off no issues.
it was speculation not fact...

have you compared lower resolution using inputstream vs normal inputstream by chance? since the lower resolution is what i speculated actually helped

Ah fair enough, nope but I can this evening.
(2023-02-24, 18:29)kurai Wrote: [ -> ]
(2023-02-22, 21:26)DjDiabolik Wrote: [ -> ]It's someone can suggest because on a Kodi 20 (running from Ubuntu 22.04.2) i can't add the video lenght showed ? It's a addons issue or a skin setting ?
TL;DR - roll back to the v6.8.24 plugin version, before any of the InfoTagVideo related merges, if you can't do without the video length info and/or wait for things in active development to settle down.

Bit of both - it has been a warning in debug logs for a long while, (merged into Matrix codebase in May 2021) that the old method of obtaining video item details was deprecated and "might be removed in future Kodi versions."
The new method was a by-product of other work to increase performance, especially on pulling info from large data sets, and to streamline some Python headaches.

As far as I can tell (with my limited ability to follow in-depth development discussions) the old method hasn't been removed from Kodi Nexus codebase *yet*, but might be imminent because @anxdpanic has done/is doing some work to comply fully with the new method, which is not a trivial change.
It looks to me like there's some ongoing transitional work happening in the GitHub repo so this might not be the fully finalized code for the addon change in Matrix, so to speak.

N.B.: Judging by the most recent commit it could be that nailing down this issue is the final feature-add for Matrix, and that any subsequent adds will target Nexus+ only.
Oh ok thanks for info........


I have another addictional info......

What a different source and developers have this addons ?

On @anxdpanic github it's 7.0.0 but not in your repo...... How it's possible ??
(2023-03-01, 16:24)jepsizofye Wrote: [ -> ]
(2023-03-01, 16:21)edz2k9 Wrote: [ -> ]
(2023-03-01, 04:26)jepsizofye Wrote: [ -> ]thats probably the real reason it works, nothing to do with inputstream, lower quality=less bandwidth and system resources
Just another one seeing buffering last few days - thats on an edge case machine so I set up a clean nexus version on my desktop pc (3700x 8 core / 16thread - no issues on network (540 down / 37 up)) still see the cache drain out and buffer if using input adaptive, as other said turn it off no issues.
it was speculation not fact...

have you compared lower resolution using inputstream vs normal inputstream by chance? since the lower resolution is what i speculated actually helped
I just compared 720p with & without inputstream adaptive and without it was super fast skipping through videos while with it enabled it was as slow and at times glitchy as it is at the higher resolutions.

I've also ruled out my prior theory about it been related to the opus audio as the video i used was using aac both with and without inputstream adaptive.
(2023-03-01, 23:32)Steph09 Wrote: [ -> ]
(2023-03-01, 16:24)jepsizofye Wrote: [ -> ]
(2023-03-01, 16:21)edz2k9 Wrote: [ -> ]Just another one seeing buffering last few days - thats on an edge case machine so I set up a clean nexus version on my desktop pc (3700x 8 core / 16thread - no issues on network (540 down / 37 up)) still see the cache drain out and buffer if using input adaptive, as other said turn it off no issues.
it was speculation not fact...

have you compared lower resolution using inputstream vs normal inputstream by chance? since the lower resolution is what i speculated actually helped
I just compared 720p with & without inputstream adaptive and without it was super fast skipping through videos while with it enabled it was as slow and at times glitchy as it is at the higher resolutions.

I've also ruled out my prior theory about it been related to the opus audio as the video i used was using aac both with and without inputstream adaptive.

consider me corrected then

i wonder what the difference is