MKV file not played using samba

Hello,

I have 2 Vero 4K+ : the old one and the new one.

My mkv files are in an external HDD connected to the old Vero 4K+. It works very fine.

When I try to play mkv files (using samba) in the new one, the loading while appears 1 second and nothing appends.

This is the log :

2021-06-14 14:18:01.057 T:4066729152 NOTICE: VideoPlayer::OpenFile: smb://OSMC/media/FILMS_SANCTUAIRE/FILMS/LES INDESTRUCTIBLES/2018/LES INDESTRUCTIBLES 2 (2018).mkv
2021-06-14 14:18:01.058 T:3574837472 NOTICE: Creating InputStream
2021-06-14 14:18:02.106 T:3574837472 NOTICE: Creating Demuxer
2021-06-14 14:18:02.112 T:3556888800 ERROR: Read - Error( -1, 22, Invalid argument )
2021-06-14 14:18:02.157 T:3574837472 WARNING: Seek - failed to get remaining data
2021-06-14 14:18:02.197 T:3574837472 NOTICE: Opening stream: 0 source: 256
2021-06-14 14:18:02.197 T:3574837472 NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 27
2021-06-14 14:18:02.236 T:3574837472 NOTICE: Creating video thread
2021-06-14 14:18:02.236 T:3556888800 NOTICE: running thread: video_thread
2021-06-14 14:18:02.236 T:3574837472 NOTICE: Opening stream: 2 source: 256
2021-06-14 14:18:02.237 T:3574837472 NOTICE: Finding audio codec for: 86019
2021-06-14 14:18:02.237 T:3574837472 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2021-06-14 14:18:02.238 T:3574837472 NOTICE: Creating audio thread
2021-06-14 14:18:02.238 T:3542446304 NOTICE: running thread: CVideoPlayerAudio::Process()
2021-06-14 14:18:02.238 T:3574837472 NOTICE: Opening stream: 3 source: 256
2021-06-14 14:18:02.239 T:3574837472 NOTICE: CVideoPlayer::OnExit()
2021-06-14 14:18:02.239 T:3574837472 NOTICE: VideoPlayer: eof, waiting for queues to empty
2021-06-14 14:18:02.239 T:3574837472 NOTICE: Closing stream player 1
2021-06-14 14:18:02.239 T:3574837472 NOTICE: Waiting for audio thread to exit
2021-06-14 14:18:02.248 T:3542446304 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2021-06-14 14:18:02.248 T:3574837472 NOTICE: Closing audio device
2021-06-14 14:18:02.248 T:3574837472 NOTICE: Deleting audio codec
2021-06-14 14:18:02.248 T:3574837472 NOTICE: Closing stream player 2
2021-06-14 14:18:02.248 T:3574837472 NOTICE: waiting for video thread to exit
2021-06-14 14:18:02.259 T:3556888800 NOTICE: thread end: video_thread
2021-06-14 14:18:02.259 T:3574837472 NOTICE: deleting video codec
2021-06-14 14:18:02.293 T:3574837472 NOTICE: Closing stream player 3
2021-06-14 14:18:02.380 T:4066729152 NOTICE: CVideoPlayer::CloseFile()
2021-06-14 14:18:02.420 T:4066729152 NOTICE: VideoPlayer: waiting for threads to exit
2021-06-14 14:18:02.420 T:4066729152 NOTICE: VideoPlayer: finished waiting
2021-06-14 14:18:02.420 T:4066729152 NOTICE: CVideoPlayer::CloseFile()
2021-06-14 14:18:02.420 T:4066729152 NOTICE: VideoPlayer: waiting for threads to exit
2021-06-14 14:18:02.420 T:4066729152 NOTICE: VideoPlayer: finished waiting
2021-06-14 14:18:12.790 T:3849294048 ERROR: EXCEPTION: Non-Existent Control 300

The full log is here : https://paste.osmc.tv/acigarurub

Thank you for your help !

Scualito

<path pathversion="1">smb://OSMC/media/FILMS_SANCTUAIRE/FILMS/</path>

It would be better to use IP Address instead of name

Same issue with the IP adress :

2021-06-14 16:40:52.974 T:4066729152 NOTICE: VideoPlayer::OpenFile: smb://192.168.1.29/media/FILMS_SANCTUAIRE/FILMS/DC COMICS/WONDER WOMAN/2020/WONDER WOMAN 1984 (2020).mkv
2021-06-14 16:40:52.981 T:3529314528 NOTICE: Creating InputStream
2021-06-14 16:40:53.525 T:3529314528 NOTICE: Creating Demuxer
2021-06-14 16:40:53.595 T:3247419616 ERROR: Read - Error( -1, 22, Invalid argument )
2021-06-14 16:40:53.636 T:3529314528 WARNING: Seek - failed to get remaining data
2021-06-14 16:40:53.672 T:3529314528 NOTICE: Opening stream: 0 source: 256
2021-06-14 16:40:53.672 T:3529314528 NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 173
2021-06-14 16:40:53.675 T:3529314528 NOTICE: Creating video thread
2021-06-14 16:40:53.675 T:3247419616 NOTICE: running thread: video_thread
2021-06-14 16:40:53.675 T:3529314528 NOTICE: Opening stream: 2 source: 256
2021-06-14 16:40:53.676 T:3529314528 NOTICE: Finding audio codec for: 86019
2021-06-14 16:40:53.676 T:3529314528 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2021-06-14 16:40:53.676 T:3529314528 NOTICE: Creating audio thread
2021-06-14 16:40:53.677 T:3239026912 NOTICE: running thread: CVideoPlayerAudio::Process()
2021-06-14 16:40:53.677 T:3529314528 NOTICE: Opening stream: 4 source: 256
2021-06-14 16:40:53.682 T:3529314528 NOTICE: CVideoPlayer::OnExit()
2021-06-14 16:40:53.682 T:3529314528 NOTICE: VideoPlayer: eof, waiting for queues to empty
2021-06-14 16:40:53.683 T:3529314528 NOTICE: Closing stream player 1
2021-06-14 16:40:53.683 T:3529314528 NOTICE: Waiting for audio thread to exit
2021-06-14 16:40:53.687 T:3239026912 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2021-06-14 16:40:53.687 T:3529314528 NOTICE: Closing audio device
2021-06-14 16:40:53.687 T:3529314528 NOTICE: Deleting audio codec
2021-06-14 16:40:53.688 T:3529314528 NOTICE: Closing stream player 2
2021-06-14 16:40:53.688 T:3529314528 NOTICE: waiting for video thread to exit
2021-06-14 16:40:53.688 T:3247419616 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2021-06-14 16:40:53.688 T:3247419616 NOTICE: thread end: video_thread
2021-06-14 16:40:53.688 T:3529314528 NOTICE: deleting video codec
2021-06-14 16:40:53.688 T:3529314528 NOTICE: Closing stream player 3
2021-06-14 16:40:53.772 T:4066729152 NOTICE: CVideoPlayer::CloseFile()
2021-06-14 16:40:53.811 T:4066729152 NOTICE: VideoPlayer: waiting for threads to exit
2021-06-14 16:40:53.811 T:4066729152 NOTICE: VideoPlayer: finished waiting
2021-06-14 16:40:53.811 T:4066729152 NOTICE: CVideoPlayer::CloseFile()
2021-06-14 16:40:53.811 T:4066729152 NOTICE: VideoPlayer: waiting for threads to exit
2021-06-14 16:40:53.811 T:4066729152 NOTICE: VideoPlayer: finished waiting
2021-06-14 16:41:09.282 T:3849294048 ERROR: EXCEPTION: Non-Existent Control 300
2021-06-14 16:41:19.030 T:3239026912 ERROR: Previous line repeats 1 times.
2021-06-14 16:41:19.030 T:3239026912 WARNING: CPythonInvoker(8): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

Full log is here : https://paste.osmc.tv/jalusobudo

You could try Settings -> Services -> SMB Client, there is a new setting: “Fix issues MTU issues with SMBv2" while I am not sure if that is the problem.
If it still doesn’t work after that and you want to dig deeper you would need to enable debug logging and smb component specific logging and provide those logs.

Alternatively you might want to switch to kernel based mounting as described here:

Hello

I have tried this without success.

How can I do that ?

Thank you.

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

  • enable component-specific logging for all components

  • enable event logging and notification event 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 screenshots:

Thank you.

It’s done. The test has been done with Wonder Woman 1984.mkv
Log file : https://paste.osmc.tv/ikanokocir

Seems you activated a couple of component specific options (eg. see many ffmpeg notice), but not sure if you ticked the SMB one.
The only SMB error I see is smbc errno NT_STATUS_FILE_LOCK_CONFLICT -> 22 which is a bit surprizing.

I have checked all components:

IMG_6274

Please only choose the top (SMB) one and deselect the others.

It’s done : https://paste.osmc.tv/aqepujinic

Thanks, shows same error, maybe check/upload the logs from the Vero with the Samba Server.
Also how is the external HDD formatted that the Movie is on?

Jun 15 11:08:23 osmcbureau mediacenter[355]: smbc_read(0xae9ca8a8, 32768)
Jun 15 11:08:23 osmcbureau mediacenter[355]: map_errno_from_nt_status: 32 bit codes: code=c0000054
Jun 15 11:08:23 osmcbureau mediacenter[355]: smbc errno NT_STATUS_FILE_LOCK_CONFLICT -> 22

The External HDD is NTFS.
It is connected to another Vero 4K + where it works.
I guess there is a samba server on this Vero 4K (where HDD is connected). Perhaps there is a parameter to change ?

I am not aware of a parameter to change (as I haven’t seen that error before).
But yes that other Vero has a Samba Server installed. So checking those logs (especially around the 11:08 time would make sense.

Also I assume you have installed the Samba Server from the MyOSMC App Store, or?
Do you have any other servers (e.g. NFS or FTP installed)?

I reinstalled the Samba server and now it works !
I don’t know why.

Thanks for the help !