Osmosys DMS DLNA Profile

server-dlna

#1

Hello,
I have a DLNA player, that, according to my Provider (http://klantenservice.telenet.be/content/welke-formaten-van-foto-s-filmpjes-en-muziek-kan-ik-via-yelo-tv-delen-op-mijn-tv) supports the following video formats:

  • MPEG_PS_NTSC

  • MPEG_PS_PAL

  • MPEG_TS_SD_NA

  • MPEG_TS_SD_NA_ISO

  • MPEG_TS_SD_NA_T

  • MPEG_TS_HD_NA_T

  • MPEG_TS_HD_NA_ISO

  • MPEG_TS_HD_NA

  • MPEG_TS_SD_KO

  • MPEG_TS_SD_KO_T

  • MPEG_TS_SD_KO_ISO

  • MPEG_TS_HD_KO

  • MPEG_TS_HD_KO_T

  • MPEG_TS_HD_KO_ISO

  • MPEG_TS_SD_EU

  • MPEG_TS_SD_EU_ISO

  • MPEG_TS_SD_EU_T

  • AVC_MP4_BL_CIF15_AAC_520

  • AVC/H.264

  • MPEG-4 Part2

  • MPEG-1

  • XVID

But i have no idea how to translate this into a plex profile.


 

















 


For the transcode targets i have tried multiple combinations of containers and codecs, but i have yet to see video on screen.

The player reports for most of the containers that it can't open the file. For mpegts however, it just starts "playing", with a black screen and no sound.


Do i need to specify more then just the transcode target to get it to work?


 


This is the DLNA Server log:




Jun 02, 2013 23:03:20:920 [5068] DEBUG - Starting Plex DLNA Server 0.9.7.22-4b5280f...

Jun 02, 2013 23:03:20:920 [5068] DEBUG - Unique device name = 1f85e23d-cca1-ab10-dbcb-b64bbc6c124a

Jun 02, 2013 23:03:20:920 [5068] DEBUG - DLNA server port: 32469

Jun 02, 2013 23:03:20:920 [5068] DEBUG - PMS: http://127.0.0.1:32400/

Jun 02, 2013 23:03:20:920 [5068] DEBUG - MyPlex: https://my.plexapp.com/

Jun 02, 2013 23:03:20:954 [5068] DEBUG - Reading system DLNA profiles

Jun 02, 2013 23:03:20:957 [5068] DEBUG - Reading client DLNA profiles

Jun 02, 2013 23:03:20:963 [5068] DEBUG - DLNA device discovery enabled every 60 seconds

Jun 02, 2013 23:03:20:964 [5068] DEBUG - Initialization complete

Jun 02, 2013 23:03:23:102 [2648] DEBUG - GET for http://127.0.0.1:32469/:/resources/dlna-icon-120.jpg

Jun 02, 2013 23:03:23:102 [2648] DEBUG - Serving up mapped file: C:\Program Files (x86)\Plex\Plex Media Server\Resources\Graphics\dlna-icon-120.jpg

Jun 02, 2013 23:03:23:105 [2648] DEBUG - GET for http://127.0.0.1:32469/:/resources/dlna-icon-260.png

Jun 02, 2013 23:03:23:105 [2648] DEBUG - Serving up mapped file: C:\Program Files (x86)\Plex\Plex Media Server\Resources\Graphics\dlna-icon-260.png

Jun 02, 2013 23:03:26:763 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '0' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:03:26:763 [1124] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:03:26:763 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 3 objects of 3 total

Jun 02, 2013 23:03:27:713 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '94467912-bd40-4d2f-ad25-7b8423f7b05a' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:03:27:713 [1124] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:03:27:713 [1124] DEBUG - Downloading document http://127.0.0.1:32400/system/library/sections

Jun 02, 2013 23:03:27:713 [1124] DEBUG - Loading CAs from 'C:\Program Files (x86)\Plex\Plex Media Server\Resources\cacert.pem'

Jun 02, 2013 23:03:30:608 [1124] DEBUG - HTTP requesting to: http://127.0.0.1:32400/system/library/sections

Jun 02, 2013 23:03:30:643 [1124] DEBUG - Caching document http://127.0.0.1:32400/system/library/sections

Jun 02, 2013 23:03:30:643 [1124] DEBUG - Downloading document http://127.0.0.1:32400/

Jun 02, 2013 23:03:30:643 [1124] DEBUG - HTTP requesting to: http://127.0.0.1:32400/

Jun 02, 2013 23:03:30:655 [1124] DEBUG - Caching document http://127.0.0.1:32400/

Jun 02, 2013 23:03:30:656 [1124] DEBUG - [PERF] Slowest insertShortKey in 1.000000 ms.

Jun 02, 2013 23:03:30:657 [1124] DEBUG - [PERF] Slowest TransactionScope in 1.000000 ms.

Jun 02, 2013 23:03:30:659 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 8 objects of 8 total

Jun 02, 2013 23:03:32:598 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '2f8cbc0779c126b31b0e' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:03:32:598 [1124] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:03:32:599 [1124] DEBUG - Downloading document http://169.254.80.80:32400/library/sections/1

Jun 02, 2013 23:03:32:599 [1124] DEBUG - HTTP requesting to: http://169.254.80.80:32400/library/sections/1

Jun 02, 2013 23:03:32:611 [1124] DEBUG - Caching document http://169.254.80.80:32400/library/sections/1

Jun 02, 2013 23:03:32:615 [1124] DEBUG - [PERF] Slowest insertObjectID in 1.000000 ms.

Jun 02, 2013 23:03:32:622 [1124] DEBUG - DlnaDidlGenerator::generateForContainer - ignoring special directory inside container /library/sections/1 (21)

Jun 02, 2013 23:03:32:622 [1124] DEBUG - DlnaDidlGenerator::generateForContainer - ignoring special directory inside container /library/sections/1 (21)

Jun 02, 2013 23:03:32:622 [1124] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 13 objects of 13 total

Jun 02, 2013 23:05:16:344 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '7f4b67d0ebbb28f8ca7f' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:05:16:344 [10740] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:05:16:345 [10740] DEBUG - Downloading document http://169.254.80.80:32400/library/sections/1/all

Jun 02, 2013 23:05:16:345 [10740] DEBUG - HTTP requesting to: http://169.254.80.80:32400/library/sections/1/all

Jun 02, 2013 23:05:16:361 [10740] DEBUG - Caching document http://169.254.80.80:32400/library/sections/1/all

Jun 02, 2013 23:05:16:369 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 5 objects of 5 total

Jun 02, 2013 23:05:18:333 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '862442992fbedfe3c37c' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:05:18:334 [10740] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:05:18:334 [10740] DEBUG - Downloading document http://169.254.80.80:32400/library/metadata/1/children

Jun 02, 2013 23:05:18:334 [10740] DEBUG - HTTP requesting to: http://169.254.80.80:32400/library/metadata/1/children

Jun 02, 2013 23:05:18:351 [10740] DEBUG - Caching document http://169.254.80.80:32400/library/metadata/1/children

Jun 02, 2013 23:05:18:353 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 1 objects of 1 total

Jun 02, 2013 23:05:18:962 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren for '86880077173a42109226' with filter '' and sort '', paged as 0 + 20

Jun 02, 2013 23:05:18:962 [10740] DEBUG - Mapped client to profile Osmosys DMS using header L21XTLNDGRD/v4.11-rc-311-gc1a9d70 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

Jun 02, 2013 23:05:18:962 [10740] DEBUG - Downloading document http://169.254.80.80:32400/library/metadata/2/children

Jun 02, 2013 23:05:18:962 [10740] DEBUG - HTTP requesting to: http://169.254.80.80:32400/library/metadata/2/children

Jun 02, 2013 23:05:18:980 [10740] DEBUG - Caching document http://169.254.80.80:32400/library/metadata/2/children

Jun 02, 2013 23:05:18:980 [10740] DEBUG - Downloading document http://169.254.80.80:32400/library/metadata/3,4,5,6,7

Jun 02, 2013 23:05:18:980 [10740] DEBUG - HTTP requesting to: http://169.254.80.80:32400/library/metadata/3,4,5,6,7

Jun 02, 2013 23:05:19:001 [10740] DEBUG - Caching document http://169.254.80.80:32400/library/metadata/3,4,5,6,7

Jun 02, 2013 23:05:19:002 [10740] INFO - S01E19 - Unfinished Business: directplay is disabled in client preferences

Jun 02, 2013 23:05:19:004 [10740] INFO - S01E20 - Home Invasion: directplay is disabled in client preferences

Jun 02, 2013 23:05:19:007 [10740] INFO - S01E21 - The Undertaking: directplay is disabled in client preferences

Jun 02, 2013 23:05:19:009 [10740] INFO - S01E22 - Darkness on the Edge of Town: directplay is disabled in client preferences

Jun 02, 2013 23:05:19:011 [10740] INFO - S01E23 - Sacrifice: directplay is disabled in client preferences

Jun 02, 2013 23:05:19:013 [10740] DEBUG - PlexMediaConnectDelegate::OnBrowseDirectChildren returning success with 5 objects of 5 total

Jun 02, 2013 23:05:23:354 [10740] DEBUG - HEAD for http://192.168.1.103:32469/proxy/6943/83a8bda24da7697237c4/file.mp4

Jun 02, 2013 23:05:23:354 [10740] DEBUG - Mapped client to profile Osmosys DMS using header ADB 5810CX

Jun 02, 2013 23:05:23:354 [10740] DEBUG - Sending capabilities: protocols=http-streaming-video

Jun 02, 2013 23:05:25:587 [10740] DEBUG - Proxied HEAD to http://169.254.80.80:32400/video/:/transcode/generic.mp4?audioCodec=aac&fakeContentLength=1406499600&format=mp4&height=720&identifier=com%2Eplexapp%2Eplugins%2Elibrary&key=http:%2F%2F127%2E0%2E0%2E1:32400%2Flibrary%2Fmetadata%2F3&quality=8&session=10926a36a45f0685a5bf52206d204cc114efb634&url=http:%2F%2F127%2E0%2E0%2E1:32400%2Flibrary%2Fparts%2F1%2Ffile%2Emkv&videoBitrate=4000&videoCodec=libx264&width=1280: HTTP/1.1 200

 

If i open that url with windows media player, it of course starts playing. So could it be mime related? that the player expects to see a mime type that plex doesn't provide?

 


PS: half of the Belgian population would love to see this working, It's a set-up box of one of the two biggest television providers here.


#2

Hi, 

I'm from Belgium too, i know the feeling bro... have been trying this for myself. However
i've found something cool.

I tried all possible ways to decode, copy the recordings to my PC ,... no succes so please... if you have succes with this ... tell me (ps how did you manage to play it on windows media player)

But what i found out is , if you have a PS3 Console, connect it to the same router , modem,... that your Digicorder is connected to.

Be sure "share recordings " , "opnames delen" is turned on in settings of your digicorder.

Now the magic, enable UPnP on your ps3 in connection settings  (enable media server)

Now go to video section in XMB and choose "search for media servers"

After a while you will see an osmosys icon. Press X -> Telenet iDTV Recordings -> .....
There you go..... strange fact is :o ,ps3 is able to stream ,decode and play this video's without any problems :o

PS3 uses  AVC . h264 codec to play this.

Also take a look at this : https://code.google.com/p/decorder/


#3

I'm trying to send my recordings from phone and camera via plex media server to the digicorder, not get the recordings from the digicorder on the tv because those seem to be encrypted/protected somehow, i'll need to download one and run it through some software to see if it's just a funky codec or really protected/restricted with some extra layer on top of dlna, like the hdcp or something.

But that doesn't solve the problem of streaming towards the digicorder and use it as a player. So the "playing in mediaplayer" part of my post was about content served by PMS.


#4

My Telenet decoder seems to play several movies and shows using the generic dlna profile, but I want to add transcoding for the other formats (where for example audio is not included or the screen stays black) and to embed subtitles. Trying to write a custom profile is only resulting in error messages in Yelo.

Anyone having better luck? 


#5

You need a decoder ring.

◾MPEG_PS_NTSC
◾MPEG_PS_PAL

mpeg/mpeg2video/ac3

◾MPEG_TS_SD_NA
◾MPEG_TS_SD_NA_ISO
◾MPEG_TS_SD_NA_T
◾MPEG_TS_HD_NA_T
◾MPEG_TS_HD_NA_ISO
◾MPEG_TS_HD_NA
◾MPEG_TS_SD_KO
◾MPEG_TS_SD_KO_T
◾MPEG_TS_SD_KO_ISO
◾MPEG_TS_HD_KO
◾MPEG_TS_HD_KO_T
◾MPEG_TS_HD_KO_ISO
◾MPEG_TS_SD_EU
◾MPEG_TS_SD_EU_ISO
◾MPEG_TS_SD_EU_T

mpegts/mpeg2video/ac3

◾AVC_MP4_BL_CIF15_AAC_520

mp4/h264/aac

◾AVC/H.264

Something with h264 as a video codec.

◾MPEG-4 Part2

Something with mpeg4 as a video codec.

◾MPEG-1

Something with mpeg1video as a video codec.

◾XVID

Something with mpeg4 as a video codec.

HTH...

EDIT: I'm sure more stuff is supported for DirectPlay. I'm just translating what's in the list above.

I should also note that using mpegts/h264/ac3 as a transcode target is far more likely to end well than avi/whatever.


#6

Thanks mfeingol.

I've created this XML piece below:



    
        
 

This maps to Yelo:

DEBUG - Mapped client to profile Yelo using header User-Agent: L21XTLNDGRD/v4.11-rc-356-g90f6124 UPnP/1.0 BH-upnpcp/2.0 DLNADOC/1.50

You'll see I've been experimenting with several TranscodeTargets. At first glance all seem to work. However, I don't think any transcoding is actually happening:

  • Same videos as when using the generic profile still don't have audio 

  • My subtitles are not shown 

  • I can remove all VideoProfile lines under TranscodeTargets and still get a video...

So I actually get the same result as the generic profile...

What am I doing wrong here?


#7

Hey Tonysteiner,

Did you get the profile working?


#8

No success. Still hoping someone with more skills than me wants to achieve this...


#9

Hey Tonysteiner,

I got audio / subtitle transcoding working.

You can find my profile here : https://github.com/neher/yelotv-plex-profile/blob/master/yelotv.xml

If you find something that does not work, please let me know.

I did not test all combinations :)

Just very excited i got it working!


#10

Hi there,

Just tried your profile. I have audio as now, but I don't get any subtitle transcoding. The files I tried are .mp4 and .srt.

Let me know if you need more information.

Many thanks!


#11

Could it be this file is using a direct play profile?

I haven't figured out yet how to get the subtitles working with direct play profiles.

If you use a transcoding profile, the subtitles are embedded in the stream.

You can adjust the size of the subtitles with :   

        

100 being the default, 500 being 5 times bigger.

You can force transcoding by removing all the videoprofiles in the direct play profiles :

        
            
            
            
        

Don't remove the DirectPlayProfiles xml-tag.

It is mandatory.


#12

Yep, that's it! Thanks!


#13

There's one more thing... I can't fast forward. Any ideas? 


#14

There's one more thing... I can't fast forward. Any ideas? 

Works great, i've been waiting for this profile.

Tanx


#15

Same problem here.. Is there a possibility to fix this with a new profile?


#16

There's one more thing... I can't fast forward. Any ideas? 

I have the same problem too.

Only x2 is working partially.

I thought it was because my server couldn't transcode faster :)


#17

It's definitely not a limitation of my server.

My mac mini 2011 is only using 2% cpu while transcoding a 720p tv show.

I tried a lot of x264 encoding options (https://forum.handbrake.fr/viewtopic.php?f=6&t=19426) to fix the fast forwarding problem.

But no luck so far.


#18

Pause doesn't work either :( any ideas?


#19

Pause, fast forward and rewind don't seem to work with transcoding.

It does work however with DirectPlay Profiles (so without transcoding).

But Direct play only support native formats of the digibox.


#20

Did anyone make any progress?