Vero4k - after starting a file (movie or tvshow), it stops after a 1-2 seconds

Dear all,

I have 4 OSMCs running at my environment, 2x raspberry’s and 2x Vero4k (all wired, no WIFI). The shares are located on a Synology NAS and access via SMB, also an SQL database is created where all data is stored. The setup has worked very well for years. Recently I have the problem when I start a file (movie or TV show) on one of the two Vero4k, the playback stops after 1-2 seconds. This works without any problems on the two Raspberries. All 4 OSMS’s are configured completely identically (version 2020.11-1), they all have the same advanced settings, source and password.xml.

Please find below the log output (kodi.log) at the time of the issue. Does anyone have any idea what the problem is, I’m already desperate.
Thank you in advance for your help!

2021-01-04 09:21:03.198 T:3015340256 NOTICE: thread end: video_thread
2021-01-04 09:21:03.198 T:3565404384 NOTICE: deleting video codec
2021-01-04 09:21:03.230 T:3565404384 NOTICE: Closing stream player 3
2021-01-04 09:21:03.324 T:4071001280 NOTICE: CVideoPlayer::CloseFile()
2021-01-04 09:21:03.324 T:4071001280 NOTICE: VideoPlayer: waiting for threads to exit
2021-01-04 09:21:03.324 T:4071001280 NOTICE: VideoPlayer: finished waiting
2021-01-04 09:21:03.324 T:4071001280 NOTICE: CVideoPlayer::CloseFile()
2021-01-04 09:21:03.324 T:4071001280 NOTICE: VideoPlayer: waiting for threads to exit
2021-01-04 09:21:03.324 T:4071001280 NOTICE: VideoPlayer: finished waiting
2021-01-04 09:22:37.915 T:4071001280 NOTICE: Samba is idle. Closing the remaining connections
2021-01-04 09:23:09.062 T:4071001280 NOTICE: VideoPlayer::OpenFile: smb://xxxxx/SERIEN/The Blacklist/S01E01.mp4
2021-01-04 09:23:09.064 T:3553788128 NOTICE: Creating InputStream
2021-01-04 09:23:09.237 T:3553788128 NOTICE: Creating Demuxer
2021-01-04 09:23:10.254 T:3565404384 ERROR: Read - Error( -1, 103, Software caused connection abort )
2021-01-04 09:23:10.260 T:3553788128 NOTICE: Opening stream: 0 source: 256
2021-01-04 09:23:10.261 T:3553788128 NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 27
2021-01-04 09:23:10.263 T:3553788128 NOTICE: Creating video thread
2021-01-04 09:23:10.264 T:3020509408 NOTICE: running thread: video_thread
2021-01-04 09:23:10.265 T:3553788128 NOTICE: Opening stream: 1 source: 256
2021-01-04 09:23:10.265 T:3553788128 NOTICE: Finding audio codec for: 86018
2021-01-04 09:23:10.266 T:3553788128 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-01-04 09:23:10.266 T:3553788128 NOTICE: Creating audio thread
2021-01-04 09:23:10.267 T:3012116704 NOTICE: running thread: CVideoPlayerAudio::Process()
2021-01-04 09:23:10.277 T:3012116704 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
2021-01-04 09:23:14.675 T:3020509408 ERROR: CBitstreamConverter::Convert: error converting.
2021-01-04 09:23:16.425 T:3553788128 NOTICE: CVideoPlayer::OnExit()
2021-01-04 09:23:16.425 T:3553788128 NOTICE: VideoPlayer: eof, waiting for queues to empty
2021-01-04 09:23:16.426 T:3553788128 NOTICE: Closing stream player 1
2021-01-04 09:23:16.426 T:3553788128 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
2021-01-04 09:23:16.426 T:3553788128 NOTICE: Waiting for audio thread to exit
2021-01-04 09:23:16.426 T:3012116704 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2021-01-04 09:23:16.427 T:3012116704 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2021-01-04 09:23:16.427 T:3553788128 NOTICE: Closing audio device
2021-01-04 09:23:16.777 T:3553788128 NOTICE: Deleting audio codec
2021-01-04 09:23:16.778 T:3553788128 NOTICE: Closing stream player 2
2021-01-04 09:23:16.778 T:3553788128 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
2021-01-04 09:23:17.078 T:3553788128 NOTICE: waiting for video thread to exit
2021-01-04 09:23:17.079 T:3020509408 NOTICE: thread end: video_thread
2021-01-04 09:23:17.079 T:3553788128 NOTICE: deleting video codec
2021-01-04 09:23:17.392 T:4071001280 NOTICE: CVideoPlayer::CloseFile()
2021-01-04 09:23:17.392 T:4071001280 NOTICE: VideoPlayer: waiting for threads to exit
2021-01-04 09:23:17.392 T:4071001280 NOTICE: VideoPlayer: finished waiting
2021-01-04 09:23:17.392 T:4071001280 NOTICE: CVideoPlayer::CloseFile()
2021-01-04 09:23:17.392 T:4071001280 NOTICE: VideoPlayer: waiting for threads to exit
2021-01-04 09:23:17.392 T:4071001280 NOTICE: VideoPlayer: finished waiting
2021-01-04 09:24:52.878 T:4071001280 NOTICE: Samba is idle. Closing the remaining connections

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

As a hunch (but we really need logs); try enabling the Mitigate SMB issues setting under Settings -> Services -> SMB

Thanks for the quick response, please find below the logs
https://paste.osmc.tv/gokaqajene
KR Andreas

Maybe not related to your problem but:

We recommend people with 4K TV’s set their user interface (UI) to 1080p. Kodi’s UI is not optimized for 4K yet and this can put unnecessary demands on your device and can lead to a suboptimal picture quality, as well as potentially cause other issues.

The settings we recommend are as follows…

Settings>System>Display>Resolution> 1920x1080p
Settings>System>Display>Whitelist> (empty) *
Settings>Player>Videos>Adjust display refresh rate> On start/stop

Some televisions may also need, or benefit from, the following being set…

System>Display>Force 4:2:2 colour subsampling> (enable)

With the above settings your UI will be output in Full HD and your 4K content will be output in 4K. *Information regarding the whitelist can be found here. If you have any doubt, feel free to upload some logs so we can verify that your settings are indeed correct.

I already tried with 1080p too, same issue. I will use 1080p in future. Please keep in mind, that all 4 OSMC are configured completly identical, two raspberrys work, two vero4ks not. this setup worked for long time, maybe something changed with the last update? I dont know.

Did you tried?

enabling “Mitigate SMB issues” helped - but I am confused, because I never needed that option.
Does that have any disadvantages when activated?

Thanks, KR Andreas

Also looks like you could enable audio passthrough for the formats supported by your TV.

This means that your NAS doesn’t implement SMB properly
You shouldn’t notice issues with this option enabled, but you will need to keep it enabled for the forseeable future.

OK. thank you very much for your help. I will take a look at my NAS as well.
KR Andreas

Yes, it will reduce the speed of Kodi side SMB transfers. If you configure your NAS to use SMBv3 (and possibly set Kodi to min/max v3) then that option is not needed. Alternatively you can make a system mount and use path substitution to redirect your library to use it (this will not affect your shared library if done correctly) which should be faster than Kodi’s networking.