FAQ  •  Register  •  Login

Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 7:42 am

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

So, I finally got the video section to show up using Serviio by adding this to my profile:
  Code:
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_NTSC">MPEG1</MediaFormatProfile>


Without that, the video section will disappear again. :o


I was doing some research and I think I may have found the problem. Correct me if I am wrong about the specification, though. What I am reading is that the DLNA media server MUST respond with support for one of the following profiles:
    US: MPEG_TS_SD_NA, MPEG_TS_SD_NA_T, MPEG_TS_SD_NA_ISO, MPEG_PS_NTSC
    Japan: MPEG_TS_JP_T, MPEG_PS_NTSC
    Europe: MPEG_TS_SD_EU, MPEG_TS_SD_EU_T, MPEG_TS_SD_EU_ISO, MPEG_PS_PAL
    Korea: MPEG_TS_SD_KO, MPEG_TS_SD_KO_T, MPEG_TS_SD_KO_ISO, MPEG_PS_NTSC

I see that the generic profile that we build upon does indeed include "MPEG_PS_PAL", but I think my player gets upset, because obviously I am in the US and the specification says that I should have MPEG_PS_NTSC support?

I'm still working on getting MKV working, but I think this probably explains why the people posting here from the US is having problems with the video section not appearing.


Edit:
Another issue with it thinking I should be using europe profiles, so I think since I have a US player it gets ignored. Since the DLNA spec has requirements for each region, I assume that there must be a way for the player and the server to determine the region? Is this not being communicated properly between the player and server?

  Code:
2010-08-11 03:43:15,507 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file test-720p.mkv: MPEG_TS_SD_EU


This us using the following profile:
  Code:
<Profile id="9" name="Sony BDP-S370" extendsProfileId="1">
   <Detection>
      <X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
   </Detection>
   <MediaFormatProfiles>
      <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
   </MediaFormatProfiles>
      <AutomaticImageRotation>true</AutomaticImageRotation>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
   <Matches container="matroska" vCodec="h264" />
   <Matches container="mpegts" vCodec="h264" />
   <Matches container="avi" vCodec="h264" />
</Video>
</Transcoding>
</Profile>     



Thanks again! :D
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Aug 11, 2010 1:21 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

insane822 wrote:So, I finally got the video section to show up using Serviio by adding this to my profile:
  Code:
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_NTSC">MPEG1</MediaFormatProfile>


Without that, the video section will disappear again. :o


You could try this:
  Code:
   <Profile id="10" name="Sony BDP-S370" extendsProfileId="1">
         <Detection>
            <X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
      </Detection>
      <MediaFormatProfiles>
       <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_NTSC">MPEG_PS_PAL</MediaFormatProfile>
       <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">MPEG_TS_SD_EU</MediaFormatProfile>
       <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
           <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Aug 11, 2010 6:10 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

insane822 wrote:Correct me if I am wrong about the specification, though. What I am reading is that the DLNA media server MUST respond with support for one of the following profiles:
    US: MPEG_TS_SD_NA, MPEG_TS_SD_NA_T, MPEG_TS_SD_NA_ISO, MPEG_PS_NTSC
    Japan: MPEG_TS_JP_T, MPEG_PS_NTSC
    Europe: MPEG_TS_SD_EU, MPEG_TS_SD_EU_T, MPEG_TS_SD_EU_ISO, MPEG_PS_PAL
    Korea: MPEG_TS_SD_KO, MPEG_TS_SD_KO_T, MPEG_TS_SD_KO_ISO, MPEG_PS_NTSC

But then it says:
Device vendors may choose to support one or more geographical regions for any device.

Serviio currently supports European profiles.

I assume that there must be a way for the player and the server to determine the region? Is this not being communicated properly between the player and server?

If you can find out then great, maybe it's in one of the HTTP headers.
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Wed Aug 11, 2010 6:37 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Hi,

I live in Canada and my player does not seem to need the NTSC entry. Instead it just wants everything as divx.
If there is no region info being passed, then perhaps it might be easy to create two profiles:

Sony BDP-S370 - US

and a

Sony BDP-S370

That way the user can manually select the device profile that is US specific or the other S370 profile.

Would manual selection override the auto detection?
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 7:20 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

But then it says:
Device vendors may choose to support one or more geographical regions for any device. Serviio currently supports European profiles.



Thanks for the info! I wish I would have known that sooner, but knowing me it's probably listed on the site and I just need to put my glasses back on. Do you think it would be possible to manually select a region in a future release?

Is there any work around to manualy select the profile when transcoding, instead if it automatically choosing MPEG_TS_SD_EU?


Thanks for the hard work! :)
Last edited by insane822 on Wed Aug 11, 2010 7:24 pm, edited 1 time in total.
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 7:24 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

KHendricks wrote:Hi,

I live in Canada and my player does not seem to need the NTSC entry. Instead it just wants everything as divx.
If there is no region info being passed, then perhaps it might be easy to create two profiles:
?


I do find that a little strange, but it appears they have given you guys slightly different codec support. I don't know why, but the "official divx" is only supported by models in Canada.
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 8:41 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Hey guys,

I've probably spent 2 days messing around and researching the DLNA specification trying to get this thing to work. I found out (like zip said) that Serviio currently only supports European profiles, so this is why all of us in the United States were having issues getting the video section to appear on our players. The Canadian models "officialy" support divx, and people do not seem to have the NTSC profile issue.

So, for those of us with models that were bought in the united states, here is a working profile that I have tested to work with mkv/xvid/divx.

NORTH AMERICA ONLY:
  Code:
   <Profile id="9" name="Sony BDP-S370" extendsProfileId="1">
         <Detection>
            <X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
      </Detection>
      <MediaFormatProfiles>
    <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_NTSC">MPEG1</MediaFormatProfile>
    <MediaFormatProfile mime-type="video/x-matroska" name="MPEG_PS_NTSC">MATROSKA</MediaFormatProfile>
    <MediaFormatProfile mime-type="video/divx" name="MPEG_PS_NTSC">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_PS_NTSC">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_LPCM</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
      </MediaFormatProfiles>
           <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>
Last edited by insane822 on Wed Aug 11, 2010 10:38 pm, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Aug 11, 2010 10:03 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

It might work, but is not 'correct' as you're specifying mime type of x-matroska to all stream types, e.g. mpeg2ts. AFAIK the region-specific formats are only mpeg2ps (MPEG_PS_PAL, MPEG_PS_NTSC) and basic mpeg2ts (MPEG_TS_SD_EU, MPEG_TS_SD_KO, MPEG_TS_SD_NA).
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 10:41 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

zip wrote:It might work, but is not 'correct' as you're specifying mime type of x-matroska to all stream types, e.g. mpeg2ts. AFAIK the region-specific formats are only mpeg2ps (MPEG_PS_PAL, MPEG_PS_NTSC) and basic mpeg2ts (MPEG_TS_SD_EU, MPEG_TS_SD_KO, MPEG_TS_SD_NA).



Original post updated.

I set the mime-types back to what they should be and it works, but only if "name=MPEG_PS_NTSC" is set for each type.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Aug 11, 2010 11:19 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Can you try this: viewtopic.php?f=5&t=305&start=10#p2748

(ProtocolInfo simple and then remove the format renaming)
<<

Winterfell

Serviio newbie

Posts: 3

Joined: Thu Aug 12, 2010 12:45 am

Post Thu Aug 12, 2010 12:49 am

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

zip wrote:There is no transcoding setup there. Can you confirm what file types you cannot play with this and supply result of:
  Code:
ffmpeg -i "<the_file>"


Here's a ffmpeg info dump on a file I could not play:

Input #0, avi, from 'XXXXX.avi':
Duration: 00:58:07.20, start: 0.000000, bitrate: 1241 kb/s
Stream #0.0: Video: h264, yuv420p, 704x400 [PAR 1:1 DAR 44:25], 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s

I tried adding this transcode
  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="avi" vCodec="h264" />
         </Video>
      </Transcoding>


Which marks it as "M2TS" on the player, but it would still not play it. I have a european player, so most other files I tried worked fine, including MKV
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Thu Aug 12, 2010 3:26 am

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

zip wrote:Can you try this: viewtopic.php?f=5&t=305&start=10#p2748

(ProtocolInfo simple and then remove the format renaming)


I tried this and the video section completely disappears from the player.


I think one of the previous posters was on to something when they spoke to sony support. The player does indeed support video over DLNA, but it is currently MPEG2 only. The profile that I posted "works", but only because we are tricking the player. It works on pretty much everything I want to watch, but it is not 100%.


Thank you for contacting Sony Support.

I'm sorry to inform you that the MPEG4 video files is not supported for playback on the Sony Blu-ray player using the DLNA feature. Please click on the URL below for future Firmware update for the Blu-ray player that will support the playback of MPEG4 video files.

http://esupport.sony.com/US/perl/swu-li ... dl=BDPS370

Thank you for your time.

The Sony Email Response Team
C1V3
Alan
<<

aeproberts

Post Tue Aug 24, 2010 5:15 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Thanks for the profile. I will test tonight and post the results.
<<

aeproberts

Post Thu Aug 26, 2010 4:43 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Tested on my BDP-s570 and the profile you provided worked great on all the files I was hoping to get working.

Downloaded .avi files played without any issues. I did experience some jumping/stuttering when trying to play files from my HD flip camera, but it was acceptable especially if I let it "buffer" for a while.

Thanks for posting the profile.
<<

aeproberts

Post Thu Aug 26, 2010 5:12 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

So the profile that was posted does a great job allowing us to play files that were not previously supported (especially .avis etc.) but it does not actually perform any transcoding.

In an effort to improve on this profile even further, maybe we can add some transcoding for currently unsupported files.
Post up what files are not working with the profile posted by insane822 so we can improve it further.
<<

Lowlander

DLNA master

Posts: 152

Joined: Wed Jun 16, 2010 12:01 pm

Location: Germany

Post Fri Aug 27, 2010 1:18 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Hi all,

I'm doing extensive tests with profiles, too, and I'm getting no precise results at the moment, because I'm struggling with two issues at the same time: First getting as many files as possible recognized by Serviio and second getting as many as possible of those in the library recognized by the player (and finally played without being displayed as damaged or causing the player to hang) without enabling transcoding in Serviio.

I don't know if that has been discussed elsewhere, but I couldn't find any information: What exactly does the asterisk mean that appears as a prefix of several filenames in the Sony's list? I thought it might be added by Serviio to mark the files that were going to be transcoded, but I'm not sure anymore.

Have a nice one,
Low
| Serviio Pro 1.6 (Win Server 2008 R2, Athlon 240e, 4GB RAM, 6TB HDD) |
| Sony KDL-42W829B | Sony KDL-24EX320 | Yamaha BD-S677 | assorted iDevices |
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Aug 27, 2010 2:41 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Lowlander wrote:What exactly does the asterisk mean that appears as a prefix of several filenames in the Sony's list?


It marks last viewed episode or a series.
<<

wellg81

Serviio newbie

Posts: 1

Joined: Thu Aug 19, 2010 10:46 am

Post Sat Aug 28, 2010 9:17 pm

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

This profile works great, thanks jackal.

<Profile id="9" name="Sony BDP-S370" extendsProfileId="1">
<Detection>
<X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
</MediaFormatProfiles>

<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="matroska" vCodec="h264" />
<Matches container="mpegts" vCodec="h264" />
<Matches container="avi" vCodec="h264" />
</Video>
</Transcoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>

I have had trouble with seviio linux edition. (ubuntu 10.4, pentium 4 2core, 2gb ram) I had the stuttering issue with anything transcoded. I slapped a copy of XP pro on and works a treat.

Also if I set the number of CPU cores to use for transcoding to 2 i get the stuttering issue return.

otherwise works a treat.
<<

Lowlander

DLNA master

Posts: 152

Joined: Wed Jun 16, 2010 12:01 pm

Location: Germany

Post Mon Aug 30, 2010 9:51 am

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Hey wellg,

(I think) this is the first profile in this thread where h264 is transcoded. My S370 plays mkv containing h264 and ac3 just fine, so I didn't feel the need to transcode anything so far.

Have a nice one,
Low
| Serviio Pro 1.6 (Win Server 2008 R2, Athlon 240e, 4GB RAM, 6TB HDD) |
| Sony KDL-42W829B | Sony KDL-24EX320 | Yamaha BD-S677 | assorted iDevices |
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Aug 30, 2010 11:21 am

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

Lowlander wrote:Hey wellg,

(I think) this is the first profile in this thread where h264 is transcoded. My S370 plays mkv containing h264 and ac3 just fine, so I didn't feel the need to transcode anything so far.

Have a nice one,
Low


Are you able to fast forward MKVs or do you get the same problem as me that when you resume playback it keeps stuttering and you have to restart to player to play it normally again.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
PreviousNext

Return to Sony

Who is online

Users browsing this forum: No registered users and 3 guests

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