Page 1 of 1

video file that doesn't play

PostPosted: Mon May 21, 2018 5:39 am
by ratyip4
Im getting "Video codec not supported" Error , transcoding is enabled, but still can not play

Windows 10
Serviio 1.9.2
Samsung UE40D6100
video is made with Git2 GitUp action camera , 1080p 60fps

i try'd Media Browser: it plays the videos on the PC, but on the TV i get only error. :(

Details attached!

Re: video file that doesn't play

PostPosted: Mon May 21, 2018 12:27 pm
by atc98092
What profile is assigned to your TV? My guess is the profile isn't calling for transcoding, but your video has H.264 L5.1 video, and I think your TV only supports L4.1 or lower. Can't say for certain, but my guess. You could try a different profile, such as the DirecTV profile, which transcodes everything.

Re: video file that doesn't play

PostPosted: Mon May 21, 2018 7:34 pm
by ratyip4
Hey, thanks for the reply.

This profile was used as defaullt:
Samsung TV/ player (E/F-series) it was assigned automatically , i also try'd all Samsung profiles but, its the same. :(

I try'd Direct TV HD-DVR, i get the same error (pc, serviio was restarted)
I dont know much about L5.1 or L4.1 wich one is supported by the TV or not (if no transoding is starting at all...)


atc98092 wrote:What profile is assigned to your TV? My guess is the profile isn't calling for transcoding, but your video has H.264 L5.1 video, and I think your TV only supports L4.1 or lower. Can't say for certain, but my guess. You could try a different profile, such as the DirecTV profile, which transcodes everything.

Re: video file that doesn't play

PostPosted: Wed May 23, 2018 12:01 pm
by DenyAll
The file is not being transcoded (from the log) and it probably needs to be for your TV.

Try this:
  • Edit the file \config\profile.xml
  • Find the sam_h profile - starts with <Profile id="sam_h" name="Samsung TV / player (H-series)" extendsProfileId="1">
  • Change the line in that profile
    <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
    to
    <H264LevelCheck>ANY</H264LevelCheck>
  • Save the file
  • If Serviio Version 1.9.2 then in Serviio Console, Status tab (toward the bottom) press Stop Server and then press Start Server - this forces Serviio to reload the new profiles (if an earlier version of Serviio then restart your PC to reload the profiles)
See how that goes.

For the techo's: Even though the file is being tagged as a High 5.1 Level in the metadata/header that is contrary to what the file attributes are telling us (if I do the maths on the file attributes the file is only a High 3.0 Level) - see http://wiki.serviio.org/doku.php?id=get_h264_level. As the file attributes are 3.0 the transcode statement <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" /> is not being triggered when it probably needs to be. Setting the H264LevelCheck to ANY will use either the header info or the file attributes, whichever is higher --> the transcode statement should now get triggered.

Re: video file that doesn't play

PostPosted: Wed May 23, 2018 12:41 pm
by atc98092
Thanks DenyAll. I was unaware of that setting, and might be useful with the 4K H.264 files that I have that aren't being transcoded when I expect them to be.

Re: video file that doesn't play

PostPosted: Thu May 24, 2018 6:45 pm
by ratyip4
Hey,

i changed the "H264LevelCheck" to ANY under the "H-series" , i get the same error again :/

DenyAll wrote:The file is not being transcoded (from the log) and it probably needs to be for your TV.

Try this:
  • Edit the file \config\profile.xml
  • Find the sam_h profile - starts with <Profile id="sam_h" name="Samsung TV / player (H-series)" extendsProfileId="1">
  • Change the line in that profile
    <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
    to
    <H264LevelCheck>ANY</H264LevelCheck>
  • Save the file
  • If Serviio Version 1.9.2 then in Serviio Console, Status tab (toward the bottom) press Stop Server and then press Start Server - this forces Serviio to reload the new profiles (if an earlier version of Serviio then restart your PC to reload the profiles)
See how that goes.

For the techo's: Even though the file is being tagged as a High 5.1 Level in the metadata/header that is contrary to what the file attributes are telling us (if I do the maths on the file attributes the file is only a High 3.0 Level) - see http://wiki.serviio.org/doku.php?id=get_h264_level. As the file attributes are 3.0 the transcode statement <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" /> is not being triggered when it probably needs to be. Setting the H264LevelCheck to ANY will use either the header info or the file attributes, whichever is higher --> the transcode statement should now get triggered.

Re: video file that doesn't play

PostPosted: Fri May 25, 2018 9:06 am
by DenyAll
Surprising - did you check the file is still not being transcoded according to the log? Did you restart your PC just in case? You are still using the Samsung E/F profile?

Some things to perhaps try:
  • Try changing that line to <H264LevelCheck>HEADER</H264LevelCheck> and restart and test again
  • You could also add this line to the E/F profile (just before the <Transcoding> line) and see if that makes a difference but this is grasping at straws.
It should be getting transcoded by this line in the H profile (once it recognises this as a High 5.1 file)
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />