Modify

Ticket #9446 (closed Patch - Bug Fix: fixed)

Opened 2 years ago

Last modified 8 months ago

Sony UPNP BDP-S570

Reported by: b.rumple@… Owned by: beirdo
Priority: major Milestone: 0.25
Component: MythTV - UPnP Version: 0.24-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I recently got a Sony BDP-S570 blu-ray player and wanted to connect it to MythTV. Right off it won't even discover myth, so I did some searching and found minidlna. Ran minidlna and the player connected just fine and was able to play videos. This made me curious about what was happening with myth so I traced the packets and found that the request SOAPACTION: "urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo" returned different protocol information between myth and minidlna. I made a quick change in myth to just use the protocol information from minidlna and now the player will connect to myth. Then I tried to browse and the player said there were no playable videos, so I dug into that. This also turned out to be a protocol problem with the video. I made a quick change to have the protocolInfo always be http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=01;DLNA.ORG_CI=0. This allowed the player to play my recordings from myth.

I'm guessing that the protocol information returned from myth is incomplete and the mime type resolution is not granular enough for some players. I realize that the current implementation probably works for many players but it might not be implemented according to spec and will cause problems for newer players?

Attachments

minidlna-proto.txt (2.4 KB) - added by b.rumple@… 2 years ago.
sony.diff (1.2 KB) - added by tim.brody@… 16 months ago.
Fix for Sony Blu-Ray players for Recorded TV

Change History

Changed 2 years ago by b.rumple@…

comment:1 Changed 2 years ago by beirdo

  • Owner changed from dblain to beirdo
  • Status changed from new to assigned

comment:2 Changed 2 years ago by wagnerrp

Ref #9424. Very similar if not duplicate.

comment:3 Changed 2 years ago by b.rumple@…

The fix for 9424 is a simple hack to force the mime type to video/avi. This works for his Sony player which I think is a BDP-S470, but not for the 570. This ticket is more about making the fix in a more complete way that will hopefully be more generic and support other players in a standard way.

comment:4 Changed 2 years ago by benroy@…

I just got the S570 too and was researching this very issue. I've found a few other details that may be relevant.

Sony's description of the supported formats for the DLNA feature is here http://www.kb.sony.com/selfservice/viewContent.do?externalId=C1017936&sliceId=1&mdl=BDPS570

But by modifying minidlna I've learned that it will play both MPEG2 and H264 files the same as via USB as long as the DLNA server says they are one of these types:

  • MPEG_TS_SD_NA_ISO
  • MPEG_TS_SD_NA
  • MPEG_PS_NTSC

comment:5 Changed 22 months ago by beirdo

To the original poster: Do you have a patch to share? I can look into this, but if there's a patch to start with, all the better.

comment:6 Changed 22 months ago by beirdo

  • Status changed from assigned to infoneeded

comment:7 Changed 18 months ago by wagnerrp

  • Status changed from infoneeded to assigned

No patch forthcoming, remove infoneeded tag.

Changed 16 months ago by tim.brody@…

Fix for Sony Blu-Ray players for Recorded TV

comment:8 Changed 15 months ago by stuartm

  • Type changed from Bug Report to Patch - Bug Fix
  • Milestone changed from unknown to 0.25

Beirdo, any interest in tackling this for 0.25 now there is a patch?

Last edited 15 months ago by stuartm (previous) (diff)

comment:9 Changed 15 months ago by Github

  • Status changed from assigned to closed
  • Resolution set to fixed

Fix UPnP for Sony BluRay? players

Set DLNA.ORG_PN=MPEG_TS_SD_NA_ISO for video/mpeg, which allows Sony Blu-Ray players to see recordings.

This doesn't seem to be likely to break other UPnP clients, but as usual, our UPnP Mediaserver support is kinda like black magic not having the DLNA spec, and is based primarily on user trial and error and observations.

Fixes #9446

Signed-off-by: Gavin Hurlbut <ghurlbut@…>

Branch: master Changeset: 20f2c45cbf71c35891ca241c7ba8e06aadf07532

comment:10 Changed 15 months ago by beirdo

Let's put this in now, knowing that we might need to tweak again. Coding via trial and error is fun.

comment:11 Changed 8 months ago by J.Pilk@…

See http://code.mythtv.org/trac/ticket/10583#comment:28 for effects on Panasonic, and maybe other, devices.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.