These videos completely crash my Vero 4k+

I found a few videos lately, all from the same Youtube uploader and all of them “shorts”, that completely crash my Vero 4k+.
The video glitches for 1-2 seconds, then freezes and the Vero is not even reachable via SSH.
I have to unplug/plug it in to reboot it.

I play these videos with the official Youtube addon; I haven’t been able to download them with youtube-dl for some reason. Here are a few of them:

Possibly relevant logs:

2023-02-17 11:48:38.622 T:3146     INFO <general>: [] Running: YouTube (6.8.24+matrix.1) on Matrix (Kodi-19.5) with Python 3.9.2
                                                   	Path: /play/
                                                   	Params: {'video_id': 'i76KyYAQzKk'}
2023-02-17 11:48:39.182 T:3146     INFO <general>: CPythonInvoker(7, /home/osmc/.kodi/addons/ script successfully run
2023-02-17 11:48:39.197 T:3083     INFO <general>: VideoPlayer::OpenFile: plugin://
2023-02-17 11:48:39.198 T:3180     INFO <general>: Creating InputStream
2023-02-17 11:48:39.302 T:3119    ERROR <general>: EXCEPTION: XBMC is not playing any videofile
2023-02-17 11:48:39.311 T:3108    ERROR <general>: Unable to find plugin script.embuary.helper
2023-02-17 11:48:39.311 T:3108    ERROR <general>: GetDirectory - Error getting plugin://script.embuary.helper/?info=getbydbid&dbid=&type=movie
2023-02-17 11:48:39.354 T:3180     INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (1920 x 1080)
2023-02-17 11:48:39.434 T:3180     INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed manifest file. #Periods: 1, #Streams in first period: 4, Type: VOD, Download speed: 5514337.4991 Bytes/s
2023-02-17 11:48:39.435 T:3180     INFO <general>: Creating Demuxer
2023-02-17 11:48:39.436 T:3180     INFO <general>: Opening stream: 1001 source: 256
2023-02-17 11:48:39.785 T:3180     INFO <general>: CVideoPlayerVideo::OpenStream - Creating codec: 167
2023-02-17 11:48:39.785 T:3180     INFO <general>: CDVDVideoCodecAmlogic: using Amlogic decoder VP9
2023-02-17 11:48:39.820 T:3180     INFO <general>: secureOSMC setup successful
2023-02-17 11:48:39.820 T:3180     INFO <general>: auth_get_key_id: TEEC_InvokeCommand failed with code 0xffff0006 origin 0x4
2023-02-17 11:48:39.821 T:3180  WARNING <general>: OSMCSecureOS::getKeyId: unable to get key id
2023-02-17 11:48:39.821 T:3180  WARNING <general>: OSMCSecureOS: key-id = <unknown>
2023-02-17 11:48:39.823 T:3180     INFO <general>: DVDVideoCodecAmlogic: Opened Amlogic Codec
2023-02-17 11:48:39.823 T:3180     INFO <general>: Creating video thread
2023-02-17 11:48:39.824 T:3185     INFO <general>: running thread: video_thread
2023-02-17 11:48:39.824 T:3180     INFO <general>: [WHITELIST] Searching the whitelist for: width: 2160, height: 3840, fps: 25.000, 3D: false
2023-02-17 11:48:39.829 T:3180     INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (27) (weight: 0.000)
2023-02-17 11:48:39.887 T:3083     INFO <general>: VideoPlayer: OnLostDisplay received
2023-02-17 11:48:39.887 T:3083  WARNING <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2023-02-17 11:48:40.175 T:3083     INFO <general>: VideoPlayer: OnResetDisplay received
2023-02-17 11:48:40.176 T:3083  WARNING <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2023-02-17 11:48:40.186 T:3083     INFO <general>: Skipped 1 duplicate messages..
2023-02-17 11:48:40.186 T:3083     INFO <general>: GLES: Maximum texture width: 4096
2023-02-17 11:48:40.327 T:3180     INFO <general>: Opening stream: 1003 source: 256
2023-02-17 11:48:40.572 T:3180     INFO <general>: Finding audio codec for: 86076
2023-02-17 11:48:40.573 T:3180     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder opus
2023-02-17 11:48:40.573 T:3180     INFO <general>: Creating audio thread
2023-02-17 11:48:40.575 T:3188     INFO <general>: running thread: CVideoPlayerAudio::Process()
2023-02-17 11:48:40.697 T:3188     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder opus
2023-02-17 11:48:40.697 T:3188     INFO <general>: Creating audio stream (codec id: 86076, channels: 2, sample rate: 48000, no pass-through)
2023-02-17 11:48:40.699 T:3097     INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-02-17 11:48:40.699 T:3097     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2023-02-17 11:48:40.699 T:3097     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2023-02-17 11:48:40.700 T:3097     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2023-02-17 11:48:40.707 T:3097     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2023-02-17 11:48:40.708 T:3097     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2023-02-17 11:48:40.709 T:3097     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2023-02-17 11:48:40.711 T:3097     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2023-02-17 11:48:41.194 T:3083     INFO <general>: Constructing CRendererAML
2023-02-17 11:48:41.231 T:3083     INFO <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2023-02-17 11:48:41.238 T:3083     INFO <general>: [WHITELIST] Searching the whitelist for: width: 2160, height: 3840, fps: 25.000, 3D: false
2023-02-17 11:48:41.244 T:3083     INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (27) (weight: 0.000)
2023-02-17 11:48:47.043 T:3083     INFO <general>: CVideoPlayer::CloseFile()
2023-02-17 11:48:47.043 T:3083     INFO <general>: VideoPlayer: waiting for threads to exit
2023-02-17 11:48:47.049 T:3180     INFO <general>: CVideoPlayer::OnExit()
2023-02-17 11:48:47.049 T:3180     INFO <general>: Closing stream player 1
2023-02-17 11:48:47.050 T:3180     INFO <general>: Waiting for audio thread to exit
2023-02-17 11:48:47.084 T:3188     INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2023-02-17 11:48:47.085 T:3180     INFO <general>: Closing audio device
2023-02-17 11:48:47.974 T:3097    ERROR <general>: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover

Something related to audio output?

Can you upload full logs with debugging enabled?


This is what I managed to grab by tailing the log file via SSH before it crashes. Is there a better way to obtain a full log?

Also, for those who want to reproduce it: I found out you can replace shorts with watch in the Youtube URLs to be able to save them to your watch later playlist and easily find them within Kodi.


When you say crash - do you mean that the system completely comes to a halt, in that it stops responding on SSH and ping?

Is it possible to reproduce this with a youtube-dl recording so we can replicate on local storage?



youtube-dl is broken right now and no new version has been released. I don’t have time these days to debug that and apply a manual fix as suggested in some of the issues I’ve seen online.

About your other question: yes, it stops responding to remote control inputs, SSH, ping. I have to unplug the cable to reboot it.

Can you share the problematic video files then?
Otherwise I am unsure of how we can reproduce this here


I shared them as links in the first post. You can add them to your Youtube watch later playlist and watch them on Kodi with the Youtube addon.
In the meantime I’ll try and find alternatives to youtube-dl to download them.

Thank you

Well I just tried this and it doesn’t crash my Vero.

I had put ANTEATER#SHORTS in the Kodi Youtube search and played from there.

@fzinken thank you for reporting your experience.
I don’t know how else to debug this, it’s a pretty rare occurrence anyway.

Sorry to resurrect this, I’m experiencing this issue again and more frequently.

If I play some specific videos with the YouTube addon it crashes after a while (~30 seconds) - sad face and reboot.

Here are some logs.
A relevant line could be:
2023-12-31 19:03:38.269 T:3108 error : DVDVideoCodecAmlogic: Failed to create Amlogic Codec for codec id = 32797

I even performed a full OSMC reinstall, but it didn’t fix the issue.
Example video with this issue:

Possibly unrelated: other videos are really choppy and after a while the playback simply stops and I’m taken back to the video list, no crashes.
Upon investigation, I found out that HW acceleration is not enabled and codec info from within Kodi states that the codec is “libdav1d”.
I have no logs for this issue right now.
Example video: (yes, him again)

Both issues started after I applied the December update, but the YouTube addon also received an update around the same time.

Thanks again!

AV1 hardware acceleration is only supported on the VeroV. You would need to disable that codec in the YouTube Addon if you have a Vero 4k

Thank you, that fixed both issues somehow!

You should not see an option for hardware acceleration of AV-1 on Vero 4K / 4K +

The YouTube add-on has the option (in the InputStream settings) to allow or not allow AV1 videos to be streamed. Disabling them avoids some problems on the Vero 4K.

Right, understood.

The accelerate AV1 option is hidden on 4K/4K+ for obvious reasons. I just wanted to make sure it is indeed hidden (it’s a conditional setting) but the code on 4K and V for Kodi are otherwise identical.

Yeah this is just about the youtube addon. Maybe we can chat with @anxdpanic if we can do some smart stuff to disable AV1 in youtube addon if neither Hardware Acceleration available and CPU not powerfull enough for software decode

I was alerted to this issue from a thread I created and it has fixed the problem I had with the PreShow Experience addon. For other 4k+ owners, are there any other codecs that we should disable in the YouTube addon?

No – that should be it.

AV1 is a relatively new video format, but an open one that is heavily promoted by Google, so it is featured significantly for YouTube.

On Vero V there should be no need to adjust any settings at all