FAQ  •  Register  •  Login

Problems with some MKV files

<<

kimvonklvsgrd

Serviio newbie

Posts: 5

Joined: Wed Dec 25, 2013 6:41 pm

Post Wed Dec 25, 2013 6:58 pm

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.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Dec 25, 2013 11:29 pm

Re: Problems with some MKV files

The MKV's that are working are being streamed natively by Serviio to your TV. The ones that are not working are being transcoded. Serviio will transcode MKV's for your TV if the MKV file uses high level h264 profiles (high and main profiles 5.0 and above, and all high_10 profiles). You can try and tell Serviio to not transcode these by commenting out (or removing the lines):
  Code:
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
from the Samsung E/F profile (edit profiles.xml, and after editing restart your PC). I suspect however this may cause some MKVs not to play at all, or if they do play, to stutter badly as the TV may not have the grunt to decode them.

If that is the case then we need to work out why the transcoded file is not playing. What happens if you start playing the movie, stop it (and do nothing else with Serviio), allow Serviio to fully transcode the video (monitor processes from all users on your PC until ffmpeg finishes) and then restart the movie. Does this then play.

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.
Very likely the h264 profile level in your MKV file headers are wrong (this is what you see when viewing the profile level using MediaInfo). In the case of the Samsung, Serviio will calculate the h264 profile level rather than use the file header information - see http://wiki.serviio.org/doku.php?id=get_h264_level.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

kimvonklvsgrd

Serviio newbie

Posts: 5

Joined: Wed Dec 25, 2013 6:41 pm

Post Thu Dec 26, 2013 3:08 pm

Re: Problems with some MKV files

DenyAll wrote:The MKV's that are working are being streamed natively by Serviio to your TV. The ones that are not working are being transcoded. Serviio will transcode MKV's for your TV if the MKV file uses high level h264 profiles (high and main profiles 5.0 and above, and all high_10 profiles). You can try and tell Serviio to not transcode these by commenting out (or removing the lines):
  Code:
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
from the Samsung E/F profile (edit profiles.xml, and after editing restart your PC). I suspect however this may cause some MKVs not to play at all, or if they do play, to stutter badly as the TV may not have the grunt to decode them.

If that is the case then we need to work out why the transcoded file is not playing. What happens if you start playing the movie, stop it (and do nothing else with Serviio), allow Serviio to fully transcode the video (monitor processes from all users on your PC until ffmpeg finishes) and then restart the movie. Does this then play.

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.
Very likely the h264 profile level in your MKV file headers are wrong (this is what you see when viewing the profile level using MediaInfo). In the case of the Samsung, Serviio will calculate the h264 profile level rather than use the file header information - see http://wiki.serviio.org/doku.php?id=get_h264_level.



I will try this during the weekend and give a feedback. Thanks for the pointers, I hope they solve the problem.
<<

kimvonklvsgrd

Serviio newbie

Posts: 5

Joined: Wed Dec 25, 2013 6:41 pm

Post Mon Dec 30, 2013 8:39 am

Re: Problems with some MKV files

I tried like you said, putting the codes in the profiles.xml. All it did was making all movies stutter.

I also tried to turn off all my computers, and only have the one with Serviio running. It doesnt help to let it transcode, as the error message pops ut just as soon as I start playing the file.
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Mon Dec 30, 2013 9:35 am

Re: Problems with some MKV files

can you upload that movie somwhere, so i can download and
try playing with profile settings?

Sent from my LG-E440 using Tapatalk 2
<<

kimvonklvsgrd

Serviio newbie

Posts: 5

Joined: Wed Dec 25, 2013 6:41 pm

Post Mon Dec 30, 2013 12:31 pm

Re: Problems with some MKV files

Iveky wrote:can you upload that movie somwhere, so i can download and
try playing with profile settings?

Sent from my LG-E440 using Tapatalk 2


Im sorry, but the file is too big. Besides, its not a problem with just 1 movie, its a problem with movies that are encoded with a profile higher than 4.1. 5.0 movies stutter like hell, and 5.1 movies doesnt show more than 1h,3min and 7 sec.

Only solution I got is to re-encode the movies to 4.1.
<<

Iveky

User avatar

DLNA master

Posts: 329

Joined: Thu Jan 31, 2013 5:17 pm

Location: Split, Croatia

Post Mon Dec 30, 2013 12:34 pm

Re: Problems with some MKV files

point me to torrent of one of such files?

Sent from my LG-E440 using Tapatalk 2
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Jan 05, 2014 7:46 am

Re: Problems with some MKV files

All it did was making all movies stutter.
Suspected this may be the case - this confirms that you do need to transcode this level of h264 profile.

the next step is to work out why the transcoded file doesn't work. You need to play with the line:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" forceInheritance="true">

Remember after changing anything in profiles.xml, save your file and restart your PC. For starters try removing the aBitrate="192" bit (I note that other transcode instruction in the profile dont have this).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

kimvonklvsgrd

Serviio newbie

Posts: 5

Joined: Wed Dec 25, 2013 6:41 pm

Post Wed Jan 15, 2014 9:40 am

Re: Problems with some MKV files

DenyAll wrote:
All it did was making all movies stutter.
Suspected this may be the case - this confirms that you do need to transcode this level of h264 profile.

the next step is to work out why the transcoded file doesn't work. You need to play with the line:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" forceInheritance="true">

Remember after changing anything in profiles.xml, save your file and restart your PC. For starters try removing the aBitrate="192" bit (I note that other transcode instruction in the profile dont have this).



This did not work either :/ Guess I just have to re encode all the not working movies.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 46 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.