Page 1 of 1

Serviio 1.6 transcoding

PostPosted: Fri Jan 29, 2016 7:11 pm
by anachron
Hello,

I have upgraded my Synology DS216play NAS to Serviio 1.6, and i have run into a problem as described here and here.
I have decided to do some test on my windows 10 pc, and the problem seems to come from the 1.6 version and not the NAS. When i try to play an H265 movie on my Samsung UE40H6400 tv, the video seems to be transcoded even if the "enable transcoding option" is unchecked, which can be seens both by CPU (especially on the NAS) usage and the lack of subtitles (probably related to this problem : viewtopic.php?f=10&t=19198). I have the exact same behavior with the 1.5.2 version with trancoding on, but if i disable transcoding on the 1.5.2 the movie is working fine and i can properly select the subtitles. While the subtitles problem is more of a collateral damage, this problem is really annoying as the NAS is unable to properly read 1080p H265 movie with Serviio 1.6 and transcoding uncheck, while it was working fine with Serviio 1.5.2.

I hope this post is in the correct section, otherwise feel free to move it as i am not really sure to where it should belong.

If i can help with logs, just tell me what you need,

Thanks for your help,

Regards

Re: Serviio 1.6 transcoding

PostPosted: Fri Jan 29, 2016 8:20 pm
by patters
While waiting for a software fix, you could edit config/profiles.xml for the particular model of TV you have, and delete the part where it's matching H.265 and forcing it to be transcoded.

e.g. by changing this
  Code:
                <Transcoding>                   
                        <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
                        <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" maxVBitrate="15360" forceInheritance="true"> -->
                                <Matches container="*" vCodec="h264" profile="high_10" />
                                <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                                <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                                <Matches container="*" vCodec="h265" />
                                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
                                <Matches container="mp4" vCodec="dvvideo" />
                                <Matches container="mp4" vCodec="mjpeg" />
                        </Video>


to remove the h265 match, so:
  Code:
                <Transcoding>                   
                        <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
                        <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" maxVBitrate="15360" forceInheritance="true"> -->
                                <Matches container="*" vCodec="h264" profile="high_10" />
                                <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                                <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
                                <Matches container="mp4" vCodec="dvvideo" />
                                <Matches container="mp4" vCodec="mjpeg" />
                        </Video>


I think that would achieve what you're trying to do.
Serviio needs to be restarted following edits to profiles.xml.

Re: Serviio 1.6 transcoding

PostPosted: Fri Jan 29, 2016 8:53 pm
by anachron
It is working with your suggested modification, thank you very much for a very appreciated help!

Re: Serviio 1.6 transcoding

PostPosted: Fri Jan 29, 2016 10:47 pm
by zip
Can you post ffmpeg -i of the file and confirm it plays on the H model without transcoding? I will update the profile.

Also, could you enable detailed logging and post the bit where you're playing the file? It maybe transcoding if you're using hardsubs.

Re: Serviio 1.6 transcoding

PostPosted: Sat Jan 30, 2016 11:06 am
by anachron
Hello,

I have not been able to found how to run a ffmpeg -i command. As i guess you wanted the file infos, i have attached the information extracted from Media Player Classic for the file tested in the serviio log.

For context, serviio is configured with Enable transcoding unchecked, Enable subtitles checked, Enable burnerd-in subtitles and extraction of text-based subtitles both unchecked.

I have manually changed the Profile to Samsung TV / played (H-series) as it default to the E/F series profile even if the device name is UE40H6400.

When playing the movie, i have no subtitles at all, and it is unplayable from the NAS because of high CPU usage. Modifying the profil as suggested by Patters solved both problems. The TV is able to play the file with subtitles and languages choices natively (ie it works from an usb drive).

Tell me if you need anything else.

Edit : found how to run ffmpeg -i. Sorry. File added.

Re: Serviio 1.6 transcoding

PostPosted: Sat Jan 30, 2016 10:21 pm
by zip
Thanks. It's a bug (ignoring the No transcoding setting), which will be fixed in 1.6.1