Tested with generic amd64 LibreElec 12.2.1; works for _most_ videos without issue but for certain ones, it out-right crashes. An example video , there are others, but that is the first one I have to hand. This is 100% reproducible in my environment and was also present on Libreelec 12.0
dmesg output for crash of Kodi:[23122.863089] VideoPlayer[338549]: segfault at 19 ip 00007fbd33fe62e8 sp 00007fbc337fd640 error 4 in libavcodec.so.60.3.100[14e2e8,7fbd33e98000+ba2000] likely on CPU 0 (core 0, socket 0) [23122.863108] Code: 00 49 89 c1 48 0f be 80 be 00 00 00 ba 01 00 00 00 45 0f b6 51 19 48 8d 04 40 48 8d 04 c0 48 c1 e0 04 49 8b 84 06 a8 00 00 00 <0f> b6 68 19 49 8b 46 58 0f b6 88 3b 02 00 00 89 ef 89 6c 24 54 89 Hardware: Random mini-pc by FemVM, I think it's this one: https://minipcdb.org/mini-pc/fevm-fn305-822 Intel(R) Core(TM) i3-N305 8GB RAM00:00.0 Host bridge: Intel Corporation Device 4617 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics] 00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant 00:0d.0 USB controller: Intel Corporation Alder Lake-N Thunderbolt 4 USB Controller 00:14.0 USB controller: Intel Corporation Alder Lake-N PCH USB 3.2 xHCI Host Controller 00:14.2 RAM memory: Intel Corporation Alder Lake-N PCH Shared SRAM 00:14.3 Network controller: Intel Corporation CNVi: Wi-Fi 00:15.0 Serial bus controller: Intel Corporation Device 54e8 00:16.0 Communication controller: Intel Corporation Alder Lake-N PCH HECI Controller 00:17.0 SATA controller: Intel Corporation Alder Lake-N SATA AHCI Controller 00:19.0 Serial bus controller: Intel Corporation Device 54c5 00:19.1 Serial bus controller: Intel Corporation Device 54c6 00:1a.0 SD Host controller: Intel Corporation Device 54c4 00:1d.0 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port 00:1d.1 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port 00:1d.3 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port 00:1f.0 ISA bridge: Intel Corporation Alder Lake-N PCH eSPI Controller 00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake-N PCH High Definition Audio Controller 00:1f.4 SMBus: Intel Corporation Alder Lake-N SMBus 00:1f.5 Serial bus controller: Intel Corporation Alder Lake-N SPI (flash) Controller 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) 03:00.0 Non-Volatile memory controller: Silicon Motion, Inc. SM2261XT x2 NVMe SSD Controller (DRAM-less) The Kodi crashlog doesn't really have anything interesting, but for completeness:
2026-05-13 16:49:38.910 T:338540 info <general>: [plugin.video.youtube] plugin_runner:114(run)
Running v7.4.3
Kodi: v21.3 (Kodi Omega)
Python: v3.11.13
Handle: 3
Path: '/play' (new)
Params: {'video_id': 'knQFPY2FFfE'}
Forced: False
2026-05-13 16:49:38.928 T:338540 info <general>: [plugin.video.youtube] login_client:127(set_access_token) - User is fully logged in
2026-05-13 16:49:39.088 T:338540 warning <general>: [plugin.video.youtube] data_client:388(set_access_token)
Channel ID not found
Data: {'kind': 'youtube#channelListResponse', 'etag': 'RuuXzTIr0OoDqI4S0RU6n4FqKEM', 'pageInfo': {'totalResults': 0, 'resultsPerPage': 5}}
Identifier: 'mine'
mine: True
forHandle: False
forUsername: False
Stack (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py", line 16, in <module>
plugin_runner.run()
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 133, in run
plugin.run(provider,
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 221, in run
result, options = provider.navigate(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 203, in navigate
result = handler(provider=self, context=context, re_match=re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 569, in process
media_item = _play_stream(provider, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 61, in _play_stream
client = provider.get_client(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 225, in get_client
client = YouTubePlayerClient(
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/player_client.py", line 880, in __init__
super(YouTubePlayerClient, self).__init__(context=context, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/data_client.py", line 373, in __init__
super(YouTubeDataClient, self).__init__(context=context, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/login_client.py", line 59, in __init__
self.set_access_token(access_tokens)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/data_client.py", line 388, in set_access_token
self.channel_id = function_cache.run(
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/sql_store/function_cache.py", line 131, in run
data = partial_func()
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/data_client.py", line 1188, in get_channel_by_ident
ifier
self.log.warning(('Channel ID not found',
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/data_client.py", line 1186, in get_channel_by_ident
ifier
return json_data['items'][0]['id']
~~~~~~~~~^^^^^^^^^
KeyError: 'items'
2026-05-13 16:49:39.613 T:338540 warning <general>: [plugin.video.youtube] player_client:1804(load_stream_info)
Failed to retrieve stream info
Status: 'UNPLAYABLE'
Reason: 'The page needs to be reloaded.'
video_id: 'knQFPY2FFfE'
Client: 'tv_unplugged'
Auth: 'user'
Valid visitor: True
2026-05-13 16:49:39.911 T:338540 warning <general>: [plugin.video.youtube] player_client:1804(load_stream_info)
Failed to retrieve stream info
Status: 'UNPLAYABLE'
Reason: 'The page needs to be reloaded.'
video_id: 'knQFPY2FFfE'
Client: 'tv'
Auth: 'tv'
Valid visitor: True
2026-05-13 16:49:40.713 T:338540 info <general>: CPythonInvoker(9, /storage/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py): waiting on thread 140446546249408
2026-05-13 16:49:40.762 T:338398 info <general>: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=knQFPY2FFfE
2026-05-13 16:49:40.763 T:338545 info <general>: Creating InputStream
2026-05-13 16:49:40.773 T:338545 info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 3840x2160, max allowed: 3840x2160, Adjust refresh rate: 0
2026-05-13 16:49:40.777 T:338545 info <general>: AddOnLog: inputstream.adaptive: Manifest successfully parsed (Periods: 1, Streams in first period: 25, Type: VOD)
2026-05-13 16:49:40.777 T:338545 info <general>: Creating Demuxer
2026-05-13 16:49:40.777 T:338545 info <general>: Opening stream: 1001 source: 256
2026-05-13 16:49:41.092 T:338426 info <general>: [script.service.sponsorblock] player_listener: video knQFPY2FFfE has no sponsor segments
2026-05-13 16:49:41.300 T:338545 info <general>: Creating video codec with codec id: 226
2026-05-13 16:49:41.300 T:338545 info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: Alliance for Open Media AV1
2026-05-13 16:49:41.301 T:338545 info <general>: Creating video thread
2026-05-13 16:49:41.301 T:338549 info <general>: running thread: video_thread
2026-05-13 16:49:41.302 T:338545 info <general>: Opening stream: 1005 source: 256
2026-05-13 16:49:41.622 T:338545 info <general>: Finding audio codec for: 86018
2026-05-13 16:49:41.623 T:338545 info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2026-05-13 16:49:41.623 T:338545 info <general>: OpenStream: Allowing max Out-Of-Sync Value of 50 ms
2026-05-13 16:49:41.623 T:338545 info <general>: Creating audio thread
2026-05-13 16:49:41.624 T:338551 info <general>: running thread: CVideoPlayerAudio::Process()
2026-05-13 16:49:41.624 T:338545 info <general>: Opening stream: 0 source: 1024
2026-05-13 16:49:41.624 T:338545 info <general>: CDVDSubtitlesLibass: Using libass version 1701000
2026-05-13 16:49:41.624 T:338545 info <general>: CDVDSubtitlesLibass: Creating ASS library structure
2026-05-13 16:49:41.625 T:338545 info <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
2026-05-13 16:49:41.625 T:338545 info <general>: CDVDSubtitlesLibass: Initializing ASS library font settings
2026-05-13 16:49:41.635 T:338545 info <general>: CDVDSubtitlesLibass: Creating new ASS track
2026-05-13 16:49:43.564 T:338551 info <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2026-05-13 16:49:43.565 T:338653 info <general>: COutput::OnStartup: Output Thread created
############### END LOG FILE ################
############ END kodi CRASH LOG #############
Display More
Additional info: Youtube addon settings
Use MPEG-Dash for videos On Stream selection Automatic Maximum Video Quality 2160p (4K) Stream features: Enable H.264, AV1, HDR, High framerate, Enable Vorbis audio, AAC, surround, AC-3, EAC-3, DTS, Remove similiar/duplicate streams Audio only off Subtitles English with Original/ASR fallback
Advanced: Support alternative player: off
Use YouTube website urls with default player: Off
Use inputStream.Adaptive On, the inputstream adaptive other settings all look default.