FAQ  •  Register  •  Login

Serviio 1.6 transcoding

<<

anachron

Serviio newbie

Posts: 9

Joined: Fri Jan 29, 2016 7:57 am

Location: France

Post Fri Jan 29, 2016 7:11 pm

Serviio 1.6 transcoding

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

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Fri Jan 29, 2016 8:20 pm

Re: Serviio 1.6 transcoding

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.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

anachron

Serviio newbie

Posts: 9

Joined: Fri Jan 29, 2016 7:57 am

Location: France

Post Fri Jan 29, 2016 8:53 pm

Re: Serviio 1.6 transcoding

It is working with your suggested modification, thank you very much for a very appreciated help!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 29, 2016 10:47 pm

Re: Serviio 1.6 transcoding

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

anachron

Serviio newbie

Posts: 9

Joined: Fri Jan 29, 2016 7:57 am

Location: France

Post Sat Jan 30, 2016 11:06 am

Re: Serviio 1.6 transcoding

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.
Attachments
ffmpeg.log
(10.38 KiB) Downloaded 485 times
mediainfo.txt
(15.31 KiB) Downloaded 456 times
serviio.log
(292.57 KiB) Downloaded 456 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 30, 2016 10:21 pm

Re: Serviio 1.6 transcoding

Thanks. It's a bug (ignoring the No transcoding setting), which will be fixed in 1.6.1

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 65 guests

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