I encountered the same issue on this thread.
The OP found a hacky fix which was deleting “.kodi/userdata/Database/Addons19.db”.
It worked temporarily. After reboot you need to do it again.
I don’t have any addons installed.
Here are the logs: (I tried one mkv and one mp4 file)
http://paste.osmc.io/opoqinuquw