Opened 14 years ago
Closed 13 years ago
Last modified 12 years ago
#9446 closed Patch - Bug Fix (fixed)
Sony UPNP BDP-S570
Reported by: | 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 (2)
Change History (13)
Changed 14 years ago by
Attachment: | minidlna-proto.txt added |
---|
comment:1 Changed 14 years ago by
Owner: | changed from dblain to beirdo |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
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 14 years ago by
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 13 years ago by
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 13 years ago by
Status: | assigned → infoneeded |
---|
comment:7 Changed 13 years ago by
Status: | infoneeded → assigned |
---|
No patch forthcoming, remove infoneeded tag.
comment:8 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Type: | Bug Report → Patch - Bug Fix |
Beirdo, any interest in tackling this for 0.25 now there is a patch?
comment:9 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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 13 years ago by
Let's put this in now, knowing that we might need to tweak again. Coding via trial and error is fun.
comment:11 Changed 12 years ago by
See http://code.mythtv.org/trac/ticket/10583#comment:28 for effects on Panasonic, and maybe other, devices.
Ref #9424. Very similar if not duplicate.