FAQ  •  Register  •  Login

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

<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jul 28, 2010 10:51 am

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

Hi,

If I have time, I would test that this evening with my BDP-S373 Blu-ray Disc Player

  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/divx">MATROSKA</MediaFormatProfile>
        </MediaFormatProfiles>     
        <AutomaticImageRotation>true</AutomaticImageRotation>
    </Profile>


I use the same firmware version M03.R.623 of BDP-S370 / BDP-S373 models
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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jul 28, 2010 6:57 pm

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

I'm just trying this profile, and I think its a good base of profile for BDP-S370 player. MPEG-TS, MPEG-PS, AVI/divx, MKV with Profile <4.1
But some files could not PLAY, I'will look on log file later. BDAV/M2ts, mov, mp4.
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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jul 29, 2010 6:27 pm

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

I test the following profile :
  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/divx">MATROSKA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">AVC_MP4_LPCM</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/divx">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
      </MediaFormatProfiles>
           <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>


OK with
- AVI-MPEG4Divx5-MP3
- AVI-MEG4XviD-MP3
- BDAV - AVCL4.0 - AC3
- DIVX - MPEG4Divx5 - MP3
- MKV - AVCL4.0 - AAC
- MOV - MPEG4 - AAC
- MP4 - AVC - AAC
- MP4 - MPEG4V - AAC
- MPEGPS - MPEG1 - MP1L2
- MPEGTS - MPEG2 - AC3
- MPEGTS - MPEG2 - MP1L2

KO for some files
- AVI-VC1-AAC
- BDAV - AVCL4.0 - DTS -> DTS probacly not supported
- MKV - AVCL5.1 - AC3 -> AVC Profile Level > 4.0
- MKV - MPEG4DivX5 - AAC -> don't know
- MPEGTS - AVC - AC3 -> don't know
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 Fri Jul 30, 2010 8:14 am

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

Does it really have to use video/divx for everything or just MKV and AVI?
The files it doesn't play will have to be transcoded then...
<<

jackal

Serviio newbie

Posts: 9

Joined: Sun Jul 25, 2010 11:48 am

Post Thu Aug 05, 2010 7:48 pm

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

So apparently the BDP-S370 (firmware version M03.R.623) does not support DLNA video. At least not in the US. Hence the reasons why people are complaining that they get no video icon for the Media Server, but get Photo, and Music/Audio. I talked to Sony Support who confirmed this and said that it will be support in a future firmware. The only date they could provide was within the next three months.

Cheers,
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Sat Aug 07, 2010 5:36 am

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

jackal wrote:So apparently the BDP-S370 (firmware version M03.R.623) does not support DLNA video. At least not in the US. Hence the reasons why people are complaining that they get no video icon for the Media Server, but get Photo, and Music/Audio. I talked to Sony Support who confirmed this and said that it will be support in a future firmware. The only date they could provide was within the next three months.

Cheers,


That sounds strange. I have a US BDP-S370 and Serviio shows up under video sometimes, but not other times.. almost totally random it seems. When using Windows media Player as a DLNA server, it shows up under video 100% of the time.

I'm not sure if it's a Sony problem or a Serviio problem.. but I have no issues with WMP showing up, but I want to use Serviio for mkv! :D
<<

Brammers

Serviio lover

Posts: 87

Joined: Sat Jul 24, 2010 7:58 am

Post Sat Aug 07, 2010 8:20 am

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

Could be related to the issue I reported.

It's already in bitbucket, with logs attached - http://bitbucket.org/xnejp03/serviio/is ... to-clients

But if you can add more debug log samples of when this happens, I'm sure it would help!

J
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Aug 08, 2010 9:12 am

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

zip wrote:Does it really have to use video/divx for everything or just MKV and AVI?

On Bravia, when you browse files, there were an icon with the name of the file.
When you start a movie and press "Display" button you could have information on file (codec,bitrate,etc...)

AVI appears with Divx icon on Bravia TV and when start the information is set to DivX
BDAV with AVC appears with Divx icon but when start the information is set to AVC
DivX appears with DivX icon and when start the information is set to DivX
MKV appears with DivX icon and when start information is set to AVC-AAC
MOV appears with DivX and when start information is set to DivX
MP4 appears with DivX and when start information is set to AVC or DivX depends of Vcodec used in the MP4 container
MPEGPS appears with MPEG icon also for inofrmation
MPEGTS appears with M2TS icon and information is set to MPEG

MP3 and JPEG work fine
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
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Mon Aug 09, 2010 6:37 pm

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

Brammers wrote:Could be related to the issue I reported.

It's already in bitbucket, with logs attached - http://bitbucket.org/xnejp03/serviio/is ... to-clients

But if you can add more debug log samples of when this happens, I'm sure it would help!

J


Hi,

I just bought a Sony BDP-S370 and updated it to the latest firmware. Using serviio on Mac OSX I was able to add the Sony profile that was posted here as item "9" and it is recognized and used. The problem is stuttering of high definition vide even though I am using a hardwired ethernet cable to the 100baseT netowrk adapter on the Sony. (My home network is gigabit ethernet).

I was trying to figure out why the stuttering and looked at your log files just in case it told me anything.

If you look at the end of your 5th log file, you will see that at some point serviio server tried to dump the entire 734 meg file in one socket all at the same time causing a content error:

2010-07-29 18:53:59,610 DEBUG [VideoDeliveryEngine] Delivering file 'so.you.think.you.can.dance.s07e18.hdtv.xvid-fqm.avi' in native format
2010-07-29 18:53:59,610 DEBUG [MediaItemDAOImpl] Getting file of media item 6277
2010-07-29 18:53:59,611 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 6277) as read
2010-07-29 18:53:59,611 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2010-07-29 18:53:59,611 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 734838986
2010-07-29 18:53:59,611 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-29 18:53:59,611 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [Content-Type: video/x-msvideo, Content-Range: bytes 0-734838985/734838986, Content-Length: 734838986, Cache-control: no-cache, Pragma: no-cache, Server: Windows 7 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVI;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]
2010-07-29 18:53:59,943 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error


Throughout most of the session it is using a more modest content length that the internal socket buffers can actually handle:


2010-07-29 18:53:58,305 DEBUG [VideoDeliveryEngine] Delivering item '6277' for client 'IPAddress=/10.10.0.99, Profile=Sony BDP-S370'
2010-07-29 18:53:58,305 DEBUG [VideoDeliveryEngine] Delivering file 'so.you.think.you.can.dance.s07e18.hdtv.xvid-fqm.avi' in native format
2010-07-29 18:53:58,305 DEBUG [MediaItemDAOImpl] Getting file of media item 6277
2010-07-29 18:53:58,306 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 127744
2010-07-29 18:53:58,306 DEBUG [ResourceTransportRequestHandler] Sending file back
2010-07-29 18:53:58,306 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [Content-Type: video/x-msvideo, Content-Range: bytes 734535066-734662809/734838986, Content-Length: 127744, Cache-control: no-cache, Pragma: no-cache, Server: Windows 7 UPnP/1.0 Serviio 0.4.1, contentFeatures.dlna.org: DLNA.ORG_PN=AVI;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=81100000000000000000000000000000, transferMode.dlna.org: Streaming, ]


So it appears that the serviio server is messing up the content length it tries to write to the socket.

This may be happening at other times and this may in fact be the cause of the stuttering.

I am new to the forum but I have not been able to see how to enable the DEBUG logging for my own system.

Also is the java source code available for download anyplace so that I can play around with it?

Thanks,

Kevin
<<

Brammers

Serviio lover

Posts: 87

Joined: Sat Jul 24, 2010 7:58 am

Post Mon Aug 09, 2010 6:43 pm

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

See the sticky thread for how to enable debug logging ("How to turn on detailed logging").

You'd have to ask "zip" about the source code.

J
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Mon Aug 09, 2010 6:49 pm

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

Hi,

Whoops! I must have missed that sticky, I will edit the xml file and fire it up and see if I get a similar type of error when stuttering happens for me.

Thanks!

Kevin
<<

Brammers

Serviio lover

Posts: 87

Joined: Sat Jul 24, 2010 7:58 am

Post Mon Aug 09, 2010 6:53 pm

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

If you have a large number of files in the library the debug logs will fill up fast!

Set the max file size to a few megs and max # files to 20 or 30 - or more depending on your library size. (you can also move the path to a drive with loads of space if required).

Good luck!
J
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Aug 09, 2010 6:56 pm

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

Hi,

first of all, the source code is closed ATM.

The content length is only set to that length because the client asks for a bytes range (probably further up in the log), so it says: give me bytes 10000 - 20000, in that case the length will be 10000.

I maxed up socket buffers to 65k, which removed stuttering on most of the files I could play. What is the bitrate of your file(s)?
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Mon Aug 09, 2010 7:55 pm

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

Hi,

I tried enabling the log and found the following sequence of requests for data from the video:


serviio.log.2:2010-08-09 15:24:24,286 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 1024
serviio.log.2:2010-08-09 15:24:24,305 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 64
serviio.log.2:2010-08-09 15:24:24,315 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 8
serviio.log.2:2010-08-09 15:24:24,324 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,358 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,390 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,426 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,462 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,499 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,535 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,572 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 21184
serviio.log.2:2010-08-09 15:24:24,582 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,620 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 204800
serviio.log.2:2010-08-09 15:24:24,909 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 319938686


And you were right the Sony BDP-S370 asked for each and every one of those sizes including the last one:


serviio.log.2:2010-08-09 15:24:24,908 DEBUG [ResourceTransportRequestHandler] GET /resource/37778/MEDIA_ITEM HTTP/1.1, headers = [Host: 192.168.0.3:8895, Accept: */*, getcontentFeatures.dlna.org: 1, transferMode.dlna.org: Streaming, X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player", X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0", Range: bytes=1081344-, ]

The movie in question has the following characteristics:

Format: AAC, Stereo (L,R) 44.100 khz
H.264 1280x720, Millions

FPS: 29.97

Data Size: 305.11 MB

Data Rate: 1149.4s kbits/s

This is being played via dlna over a hard wired gibabit ethernet network connection to the Sony BDP-S370 which has a 100baseT ethernet connection.

This same video plays perfectly when copied to a USB device and plugged into the back of the player.

Is there a configuration option to manually set the size of the buffers?

I would like to grow them to see what impact if any it has.

Thanks!

Kevin
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Mon Aug 09, 2010 8:06 pm

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

zip wrote:Hi,


I maxed up socket buffers to 65k, which removed stuttering on most of the files I could play. What is the bitrate of your file(s)?


That is actually a very small socket buffer size give the bit rates of higher definition video streams isn't it?

I would prefer a couple of megs as an option if possible given the effective bit rate of most networks (especially if they are wireless) even though latency across a home network should be quite small.

Thanks,

Kevin
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Mon Aug 09, 2010 8:33 pm

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

Hi,

FWIW,

Here are the maximum socket buffer sizes under Mac OSX Snow Leopard (at least on my machine)


sh-3.2# sysctl -w kern.ipc.maxsockbuf=8000000
kern.ipc.maxsockbuf: 4194304
sysctl: kern.ipc.maxsockbuf: Result too large
sh-3.2# sysctl -w kern.ipc.maxsockbuf=4194304
kern.ipc.maxsockbuf: 4194304 -> 4194304

which means you can use up to half that 4 meg value for send and recv buffers per socket as follows:


sh-3.2# sysctl -w net.inet.tcp.sendspace=2097152
net.inet.tcp.sendspace: 2097152 -> 2097152
sh-3.2# sysctl -w net.inet.tcp.recvspace=2097152
net.inet.tcp.recvspace: 2097152 -> 2097152


So the kernel enables maximum socket buffer sizes of 2 meg on Mac OSX (at least on my iMac x86_64

So I would love to have an option to manually override the value of the socket buffer sizes you are using as an config.xml entry or a java properties file value if that would be doable at some point.

Thanks,

Kevin
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 10, 2010 8:11 am

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

I think it would, create a bitbucket.org ticket.
<<

KHendricks

Serviio newbie

Posts: 7

Joined: Mon Aug 09, 2010 6:16 pm

Post Tue Aug 10, 2010 3:00 pm

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

Hi,

I have just created issue #162 in your repository on bitbucket.org.

Thanks!

Kevin
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 1:22 am

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

I have tried every "working" profile that has been posted in this thread, but none of them work. The only thing that serviio is serving to the player is Music and Pictures, but not video.

It really makes no sense to me.. I have tried WMP, Meezmo and iSedora.. and all of them show up serving video every time. The problem with these, though, is they will not work because I cannot change the mime-type like serviio can (and they cost money).

There must be something strange going on if all of the other servers work. Is there any information needed to help fix this issue of the video section not showing up?

Thanks for the hard work :P
<<

insane822

User avatar

Serviio lover

Posts: 61

Joined: Sat Aug 07, 2010 5:32 am

Post Wed Aug 11, 2010 2:44 am

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

Since we are still having the issue with multiple people, including myself, not getting the "video" section to appear in the player using Serviio, I decided to get some tcp dumps and include the SOAP conversations that the player had with serviio vs mezzmo.

The player only needed to communicate 5 tcp streams of SOAP data before having photos/music/video show up on the player with mezzmo. I have included comparisons of the data sent by mezzmo vs serviio. I don't understand the dlna protocol very well, so I'm hoping you can take a look and see why one works and the other does not.

Thanks ;)
Attachments
soap_dump.zip
(9.56 KiB) Downloaded 1007 times
PreviousNext

Return to Sony

Who is online

Users browsing this forum: No registered users and 47 guests

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