Jump to content

DLNA profile documentation


Go to solution Solved by Happy2Play,

Recommended Posts

shadowtheimpure
Posted

Searching the knowledgebase, I was unable to locate documentation for configuring custom DLNA profiles. The interface is somewhat enigmantic. Does this documentation exist or is it still in the works? 

Posted

Hello shadowtheimpure,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

Hi, this is on our to do list to improve.

Question. what would you like to create a profile for?

shadowtheimpure
Posted

A Philips 'smart TV' from a number of years ago (Model 55PFL5402/F7). It struggles with playback via DLNA in the default configuration. I've attached the Video section from the manual. What I really want to accomplish with a custom profile is to engage a transcode to a compatible format rather than failing to start playback. 

2024-06-04 16_36_27-af3f214d7f1a4c6db753b068007ae680.pdf.png

shadowtheimpure
Posted (edited)

Here is some information I harvested from a log file with the server running in debug mode if that will help:

2024-06-04 16:51:29.813 Info Server: http/1.1 HEAD http://10.0.0.2/videos/7561888/original.mkv?DeviceProfileId=73a79816aaf147f8aa792a5cb3ffd40a&DeviceId=20e0a275a67ba7791f32f287f4c014fa&MediaSourceId=78161a2dd0b16c966c97b05a033d5408&PlaySessionId=e93c33c2f8174b3bbd6a8ce4eb6182cf&api_key=x_secret9_x. Connection=close, Host=10.0.0.2, User-Agent=AwoX, Date=Tue, 04 Jun 2024 20:51:30 GMT, Content-Length=0, getcontentFeatures.dlna.org=1
2024-06-04 16:51:29.814 Debug SqliteItemRepository: GetitemById Episode 7561888 D:\Dual Audio Anime\hack (2002)\Season 01\hack - S01E01 - Role Play SDTV.mkv
2024-06-04 16:51:29.816 Debug DLNA: DeviceProfileResolver resolved profile 73a79816aaf147f8aa792a5cb3ffd40a
2024-06-04 16:51:29.829 Info Server: http/1.1 Response 200 to host6. Time: 16ms. HEAD http://10.0.0.2/videos/7561888/original.mkv?DeviceProfileId=73a79816aaf147f8aa792a5cb3ffd40a&DeviceId=20e0a275a67ba7791f32f287f4c014fa&MediaSourceId=78161a2dd0b16c966c97b05a033d5408&PlaySessionId=e93c33c2f8174b3bbd6a8ce4eb6182cf&api_key=x_secret9_x

 

Edited by shadowtheimpure
Code box for log entries
Posted

OK so your first step is to create a profile and then update the Identification sections so that your new profile is used. Have you gotten that far?

shadowtheimpure
Posted

I have, and I know it has latched onto the profile properly because it stopped showing the generic 'DLNA' account library that I have set up. I did that as a validation step so I could tell at a glance. It's still not playing back with any reliability, but at least I've gotten that far. 

Posted

OK so what you need to do is remove formats from the direct play section and that will cause it to transcode. And let’s hope  that it likes the transcoding format.

shadowtheimpure
Posted

So, have no formats in direct play and define a transcoding format that complies with the chart from the manual?

shadowtheimpure
Posted

Alright, I'll give it a go when I get home. Might have to play around with it a bit because I don't know exactly what syntax the interface wants exactly to define containers and codecs. 

  • Thanks 1
Posted

Let us know how you get on. Thanks.

shadowtheimpure
Posted

Some files are playing, others are showing up with a playtime of 00:00:00 and throw an error when playback is attempted. I'm attaching a truncated version of my log file starting when I began testing and the output profile that I configured. 

2024-06-10 16_33_33-DLNA.png

embyserver-log.txt

shadowtheimpure
Posted

The file on the left does not play, the file on the right does.

File Properties.png

Posted

Yea the nature of this is that it’s all trial and error to find options that the TV will be hair I’m happy with.

shadowtheimpure
Posted

It just seems odd that some files play without a problem while others throw an error when all of them should be transcoding with the same settings since there are no direct play profiles set up.

Do you have any recommendations of things I should try? The files that do play, do so reliably. The ones that don't, also do so reliably. All of the files on my server are HEVC MKV files, so that is a constant. 

Happy2Play
Posted (edited)

Only thing I am really seeing in the log above it looks like sub-title extraction failed on an episode on a item trying to be played.

But server and ffmpeg log for a specific example may provide more info.

A guess is this is all subtitle related correct?

Edited by Happy2Play
shadowtheimpure
Posted

Looking over the 'success' and 'fail' files, the common factor appears to be .srt formatted subtitles. Is there a way to force them to be ignored in the DLNA profile? I'd rather it play and not display subtitles than to fail entirely. 

  • Solution
Happy2Play
Posted
9 hours ago, shadowtheimpure said:

Looking over the 'success' and 'fail' files, the common factor appears to be .srt formatted subtitles. Is there a way to force them to be ignored in the DLNA profile? I'd rather it play and not display subtitles than to fail entirely. 

Have you tried adding them to your profile?  Or removing them?

image.png.f28c79af06e4fc1d4fd2301c7ec1d988.png

shadowtheimpure
Posted

Y'all are both gentlemen and scholars. That did the trick.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...