Problems with some MKV files

Hey.
I got this Samsung model: UE55F6805.
Most MKV files play flawlessly, and some dont.
I have selected the right profile in both 1.3.1 and 1.4. Using the E/F Profile.
When I browse my movies, I can see that on all the functioning ones the format says MKV or x-mkv. The ones that are not working says simply mpeg, and I cant see any filesize either.
What happens when I start playing a file that is functioning properly, I get the error message "This file may not play properly", and I am only allowed to see 1:03:07 of the whole movie. This is common on everyone that is wrong.
Sometimes I get the error message "This file format is not supported."
With mediainfo I have compared movies that I know are working to the ones that are not. They work on my computer using a regular rendering program.
Someone say that when the movies are encoded they need profile 4-4.1 and not 5-5.1 because of the rendering. But some movies work with the 5.1 profile, some dont. Same with 4.1.
The codec on all the movies are H264.
Does anyone have any clue on how to bypass this? More or less annoying, and I love Serviio. I want to continue using it.
I got this Samsung model: UE55F6805.
Most MKV files play flawlessly, and some dont.
I have selected the right profile in both 1.3.1 and 1.4. Using the E/F Profile.
When I browse my movies, I can see that on all the functioning ones the format says MKV or x-mkv. The ones that are not working says simply mpeg, and I cant see any filesize either.
What happens when I start playing a file that is functioning properly, I get the error message "This file may not play properly", and I am only allowed to see 1:03:07 of the whole movie. This is common on everyone that is wrong.
Sometimes I get the error message "This file format is not supported."
With mediainfo I have compared movies that I know are working to the ones that are not. They work on my computer using a regular rendering program.
Someone say that when the movies are encoded they need profile 4-4.1 and not 5-5.1 because of the rendering. But some movies work with the 5.1 profile, some dont. Same with 4.1.
The codec on all the movies are H264.
Does anyone have any clue on how to bypass this? More or less annoying, and I love Serviio. I want to continue using it.