FAQ  •  Register  •  Login

DLNA help with KDL-52NX800 (2010)

<<

kittmaster

DLNA master

Posts: 195

Joined: Mon Aug 21, 2017 4:34 am

Post Wed Mar 25, 2020 7:38 pm

DLNA help with KDL-52NX800 (2010)

The Sony profile it is pulling is causing a problem i.e. the 2010 profile.

The TV can see the server and navigate all the folders, but it doesn't find ANY of my MP4 files (which it did before I switched to a NAS)...strange.

I eventually found that the 2009 file works and works well enough. But since Serviio pulled the 2010 vs 2009....I'm curious as to why one works and the other doesn't for the same parent company.

The 2010 seems more comprehensive......if it worked......is there something missing for the 2010 that may be missing?
Clearly the TV has the right stuff to play the MP4's I have without transcoding, so I'm trying to figure out what is wrong.

Thanks.

Here are the two:
2009 (Working)

  Code:
   <Profile id="sony2009" name="Sony Bravia TV (2009)" extendsProfileId="sony2010">
      <!-- 2009 and earlier models need a separate profile -->
      <Detection>
         <UPnPSearch>
            <!-- 2009 models known to support UPnPSearch -->
            <FriendlyName>BRAVIA KDL-\d{2}(WE5|(E53|E55|V55|V56|W55|W57|Z55|Z57)\d0) *</FriendlyName>
         </UPnPSearch>
         <HttpHeaders>
            <!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
            <X-AV-Client-Info>.*BRAVIA KDL-\d{2}(([A-Z](1|5|E1|R1|BR45|BR9|[1357]0\d{2}|4\d{3}))|(S55|S57|W51|Z51|Z58)\d0).*</X-AV-Client-Info>
         </HttpHeaders>
      </Detection>
      <Transcoding>
         <!-- Transcode baseline h264 in mp4/non-isom container -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9" maxWidth="1920" maxHeight="1080">
            <Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
          <Matches container="*" widthGreaterThan="1920" />
         </Video>
         <Video targetContainer="mpeg" targetACodec="ac3">
            <Matches container="mpeg" vCodec="mpeg2video" aCodec="mp2" />
         </Video>
      </Transcoding>
      <OnlineTranscoding>
         <!-- Transcode baseline h264 in mp4/non-isom container -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
            <Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
         </Video>
      </OnlineTranscoding>
   </Profile>


2010
Which doesn't find any MP4 files.

  Code:
   <Profile id="sony2010" name="Sony Bravia TV (2010)" extendsProfileId="sony2011">
      <!-- 2010 models
         - Still images: JPEG
         - Music: MP3, linear PCM
         - Video: AVCHD, MPEG2 (not playable in some cases) -->
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA KDL-\d{2}[EHLNPB]X\d[01]\d.*</FriendlyName>
         </UPnPSearch>
      </Detection>
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
        <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true" maxWidth="1920" maxHeight="1080">
           <Matches container="*" vCodec="h264" profile="high_10"/>
           <Matches container="*" vCodec="h264" profile="high_422"/>
           <Matches container="*" vCodec="h264" profile="high_444"/>
           <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1"/>
           <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1"/>
           <Matches container="*" widthGreaterThan="1920"/>
        </Video>
         <!-- Remux h264 video + AC3 audio to MPEG-TS stream without transcoding -->
         <Video targetContainer="mpegts" forceInheritance="true">
            <Matches container="mp4" vCodec="h264" aCodec="ac3" />
            <Matches container="3gp" vCodec="h264" aCodec="ac3" />
         <Matches container="mp4" vCodec="h264" aCodec="eac3" />
            <Matches container="3gp" vCodec="h264" aCodec="eac3" />
         </Video>
         <!-- Remux h264 video + AAC audio to MPEG-TS stream with ac3 audio transcoding -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" forceInheritance="true">
            <Matches container="mp4" vCodec="h264" aCodec="aac" />
            <Matches container="3gp" vCodec="h264" aCodec="aac" />   
         </Video>
         <!-- Transcode MPEG1, VC-1, DivX, AVI, MP4, WMV -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
            <Matches container="mpegvideo" />
            <Matches container="avi" vCodec="mpeg4" />
            <Matches container="avi" vCodec="msmpeg4" />
            <Matches container="mp4" />
            <Matches container="3gp" />
            <Matches container="asf" />
         </Video>
         <!-- Transcode WMA -->
         <Audio targetContainer="lpcm" forceInheritance="true">
            <!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
            <Matches container="asf" />
         </Audio>
      </Transcoding>
   </Profile>
<<

kittmaster

DLNA master

Posts: 195

Joined: Mon Aug 21, 2017 4:34 am

Post Sat Apr 04, 2020 11:14 pm

Re: DLNA help with KDL-52NX800 (2010)

Any thoughts???
<<

atc98092

User avatar

DLNA master

Posts: 5439

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Apr 05, 2020 12:36 am

Re: DLNA help with KDL-52NX800 (2010)

I'd have to take a deeper look to see what's going on, but I do see that the 2010 profile inherits the 2011 profile, and the 2009 profile inherits the 2010 profile. So the 2009 profile is altering something in the 2010 profile. My laptop screen is too small to dig into this, but I'll look deeper later.
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: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

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

atc98092

User avatar

DLNA master

Posts: 5439

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Apr 05, 2020 3:30 am

Re: DLNA help with KDL-52NX800 (2010)

OK, first I went looking for the manual for your TV. It shows very limited codec support. For video it must be AVC (H.264), MPEG1 or MPEG2. Please post an example of the contents of one of the MP4 files that isn't seen when using the 2010 profile. See the link in my sig line for how to get that info.

The manual doesn't specify what containers are supported, so let's make a guess about MP4, TS and maybe MPG. There's no mention of MKV. However, containers can contain different audio and video codecs, so we really need to know what's in your media.

The Sony2011 profile, which is inherited by both the 2010 and 2009 (since it inherits the 2010), contains no video transcoding lines at all. Looking at the profile file in Serviio 2.0, it's even more confusing, as there's a Sony2011 and a Sony2011us profile. My guess is there's a difference between TVs made for the US market and those for the rest of the world. It looks like the "Sony Bravia TV (2012)" profile is where all Sony TVs start from. Please confirm you aren't using the US versions of the profiles.

The more I look at this the more I am getting confused where to look. So let's start with the codecs within your MP4 containers that aren't visible. I do see some differences between the 2010 and 2009 profiles that might have an impact, but without knowing what the file contains I'm merely guessing.

Also, do me a favor and try using the Roku TV profile and see what happens. There's nothing that says you have to use a Sony profile on your Sony TV if another does what's needed.
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: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

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

kittmaster

DLNA master

Posts: 195

Joined: Mon Aug 21, 2017 4:34 am

Post Sun Apr 05, 2020 1:59 pm

Re: DLNA help with KDL-52NX800 (2010)

I will give the Roku profile a try after I post this.

I use Xmedia recode to convert all MKV files I have to MP4 that are x264 and Handbrake to convert all x265 to x264 MP4 files. I do this to avoid transcoding and faster seek times on the remote devices like my multiple computers and two DLNA capable TV's. Do I lose a bit because of it......yeah, but I don't care......I'm not a movie theater.... :)

I use the same profile for all the conversions, so there is no deviation, all files are exactly transcoded the same way every time. Here is the ffmpeg data you asked for:

  Code:

C:\1>ffmpeg.exe -i "The Net (1995).mp4"
ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20180830
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-libass --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --enable-libspeex --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86_64 --enable-runtime-cpudetect --target-os=mingw64 --cross-prefix=x86_64-w64-mingw32- --enable-gpl --pkg-config=pkg-config --bindir='/jenkins/workspace/FFmpeg - Win64/target'
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The Net (1995).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2020-04-03T01:03:06.000000Z
    encoder         : Lavf58.39.101
  Duration: 01:54:18.88, start: 0.000000, bitrate: 4564 kb/s
    Chapter #0:0: start 0.000000, end 618.201000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 618.201000, end 1116.824000
    Metadata:
      title           : 00:10:18.201
    Chapter #0:2: start 1116.824000, end 1651.692000
    Metadata:
      title           : 00:18:36.824
    Chapter #0:3: start 1651.692000, end 2195.693000
    Metadata:
      title           : 00:27:31.692
    Chapter #0:4: start 2195.693000, end 2455.912000
    Metadata:
      title           : 00:36:35.693
    Chapter #0:5: start 2455.912000, end 2975.431000
    Metadata:
      title           : 00:40:55.912
    Chapter #0:6: start 2975.431000, end 3439.645000
    Metadata:
      title           : 00:49:35.431
    Chapter #0:7: start 3439.645000, end 3990.695000
    Metadata:
      title           : 00:57:19.645
    Chapter #0:8: start 3990.695000, end 4387.216000
    Metadata:
      title           : 01:06:30.695
    Chapter #0:9: start 4387.216000, end 4777.815000
    Metadata:
      title           : 01:13:07.216
    Chapter #0:10: start 4777.815000, end 5110.731000
    Metadata:
      title           : 01:19:37.815
    Chapter #0:11: start 5110.731000, end 5420.040000
    Metadata:
      title           : 01:25:10.731
    Chapter #0:12: start 5420.040000, end 5751.204000
    Metadata:
      title           : 01:30:20.040
    Chapter #0:13: start 5751.204000, end 5977.388000
    Metadata:
      title           : 01:35:51.204
    Chapter #0:14: start 5977.388000, end 6306.300000
    Metadata:
      title           : 01:39:37.388
    Chapter #0:15: start 6306.300000, end 6858.810000
    Metadata:
      title           : 01:45:06.300
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], 3983 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2020-04-03T01:03:06.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 576 kb/s (default)
    Metadata:
      creation_time   : 2020-04-03T01:03:06.000000Z
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2020-04-03T01:03:06.000000Z
      handler_name    : SubtitleHandler
At least one output file must be specified

C:\1>

<<

atc98092

User avatar

DLNA master

Posts: 5439

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Apr 05, 2020 7:01 pm

Re: DLNA help with KDL-52NX800 (2010)

Well, I would expect your media with these parameters to play without transcoding, no problem. But many manufacturers have really ignored their DLNA support. Samsung is terrible, and Sony continues to remove functionality from their Blu Ray players. I've never had a Sony TV, so can't speak to those. I'm curious to hear if the Roku profile works for you.
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: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 64 guests

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