Kodi on raspberry and transcoding on Samsung TV

As the template says logs are mandatory to get any answer:

For the rest there’s plenty of videos like Yatse: How to share and cast to Kodi - YouTube