There are several other posts reporting the same issue/bug.
e.g. Samsung TVs transcoding issue
Maybe if you post some logs the devs can investigate.
I posted mine in december but still no solution in sight.
In my case the issue always happens when using subtitles.