FAQ  •  Register  •  Login

Transcoding h265 onto Sony BDP-S470

<<

Exodite

Serviio newbie

Posts: 2

Joined: Fri Jan 16, 2015 9:26 am

Post Fri Jan 16, 2015 10:25 am

Transcoding h265 onto Sony BDP-S470

Former Sony Media Server user here, migrated to Serviio once I started digging into the technical aspects a bit more and now I'm keen to update my profile to handle h265 media!

I've been having some trouble getting h265 media files to transcode onto my device without forcing transcoding of all files, needless to say a less than optimal solution, but the answer came to me while writing this post so I thought I'd share my experience.

Initially I just added the bolded line below to the "unsupported" part of the the "bdp2010" profile.

...
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320" forceVTranscoding="true" forceInheritance="true">
<Matches container="asf" />
<Matches container="*" vCodec="h265" />
...


However, this didn't work and I suspected that my test file either

  • didn't correctly identify as h265 or
  • some existing target in the profile were interfering with my addition.

Turns out it was the latter, specifically the forced remuxing of matroska to mpeg-ts to fix stutter after seeking on my device.

Since the software matches against the first possible hit, and the remuxing bits being at the top of the transcoding profile, I went back to the original profile and simply added the following at the very top of the transcoding profile.

<Video targetContainer="mpegts" targetVCodec="mpeg2video" >
<Matches container="*" vCodec="h265" />



In short nothing too fancy and only really suitable for my personal use but as it was a new experience to me, and a positive one at that, I thought I'd share it in case it helps someone else out there. :)

Many thanks for an awesome software package!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Jan 16, 2015 10:59 am

Re: Transcoding h265 onto Sony BDP-S470

bdp2010 profile inherits of bdp2012 --> bdp2013 --> Generic profile.

Any of these devices does not support h265 codec.

So I suggest to add line on top bdp2013 profile, (something line 996 of 1.5 profiles.xml file ):
  Code:
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320" forceInheritance="true">
                <Matches container="*" vCodec="h265"/>
                <Matches container="*" vCodec="h264" profile="high_10" />
                <Matches container="*" vCodec="h264" profile="high_444" />
                <Matches container="*" vCodec="h264" profile="high_422" />
                <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="matroska" vCodec="vp8" />
            </Video>
<<

Exodite

Serviio newbie

Posts: 2

Joined: Fri Jan 16, 2015 9:26 am

Post Fri Jan 16, 2015 2:56 pm

Re: Transcoding h265 onto Sony BDP-S470

Thanks for your reply!

I noticed the inheritance, I just wanted to minimize my editing (and thus potential impact on other devices I might hook up) as my experience in the area is minimal.

Your solution is certainly more elegant, as well as more generally applicable, so thanks for that!

I especially enjoy finding out about which h264 variants that I can expect issues with, though I've yet to run across any that won't play out of the box.

The "code" tag also makes a lot of sense now, I'll move to use that in the future as it maintains formatting.
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Jan 16, 2015 9:19 pm

Re: Transcoding h265 onto Sony BDP-S470

Do we know if any TV supports H.265 via DLNA? I tried making a test file with H.265 video, but my Samsung wouldn't play it. It obviously supports H.265, since both Netflix and Amazon stream 4k video in H.265. Or did I do something wrong when I made the file?
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 17, 2015 12:25 am

Re: Transcoding h265 onto Sony BDP-S470

I think someone said the H series Samsung supports h265...

what container are you using, mkv?
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Jan 17, 2015 2:21 am

Re: Transcoding h265 onto Sony BDP-S470

zip wrote:I think someone said the H series Samsung supports h265...

what container are you using, mkv?


I think it was MKV, but since it didn't work I deleted it and can't remember. I'll have to try another one, and I'll experiment with different containers.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

noodle

User avatar

Serviio newbie

Posts: 3

Joined: Wed Jun 29, 2016 12:56 am

Post Thu Oct 06, 2016 1:26 pm

Re: Transcoding h265 onto Sony BDP-S470

Hello guys,

I have the same problem - can't play h265 encoded videos on my LG 32LM611S TV set. :-(
Where can I find these 'profiles' you are talking about? I couldn't find any such file (using Serviio 1.7).
What would be great is if Serviio would automatically transcode .h265 encoded files to .h264 or whatever is compatible for my TV.

thanks for any help-
n.
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Oct 06, 2016 5:54 pm

Re: Transcoding h265 onto Sony BDP-S470

noodle wrote:Hello guys,

I have the same problem - can't play h265 encoded videos on my LG 32LM611S TV set. :-(
Where can I find these 'profiles' you are talking about? I couldn't find any such file (using Serviio 1.7).
What would be great is if Serviio would automatically transcode .h265 encoded files to .h264 or whatever is compatible for my TV.

thanks for any help-
n.


In the Serviio install location, there will be a directory labeled config. in that location is the profiles file, named profiles.xml. The XML coding is pretty straightforward, but does not tolerate any errors. Serviio will not start if there's so much as a comma out of place.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

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