FAQ  •  Register  •  Login

DLNA response values

<<

Zek

User avatar

Serviio lover

Posts: 72

Joined: Wed Nov 24, 2010 11:03 am

Location: Boulder, Colorado, USA

Post Wed Jan 19, 2011 4:29 pm

DLNA response values

Zip,

I was examining the responses of Serviio using Intel's tools. Could you please tell me what the following fields are in this response string?
video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000

DLNA.ORG_PN = pretty obvious, the type of container?
DLNA.ORG_OP = ? What does 1 mean in this case? What are other values or enums?
DLNA.ORG_CI = ? same as above
DLNA.ORG_FLAGS = ? What are the various flags?

Cheers!
Zek
Sony Bravia KDL-55NX810 | Serviio 0.5 (rev. 975aa458693c) | Synology DS-1010+
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17014

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 19, 2011 4:34 pm

Re: DLNA response values

I was examining the responses of Serviio using Intel's tools. Could you please tell me what the following fields are in this response string?
video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000


DLNA.ORG_PN = pretty obvious, the type of container?

Media file format profile, usually combination of container/video codec/audio codec/sometimes region

DLNA.ORG_OP = ? What does 1 mean in this case? What are other values or enums?

first bit means Time based seek supported, second byte range seek supported (not sure about the order now), so 01 = only byte seek, 10 = time based, 11 = both, 00 = none

DLNA.ORG_CI = ? same as above

0 = native, 1 = transcoded
DLNA.ORG_FLAGS = ? What are the various flags?

There are additional flags (bits) that describe functionality and supported operations of the file/server. More in the DLNA spec (which I don't think I can copy here ;-) )
<<

Zek

User avatar

Serviio lover

Posts: 72

Joined: Wed Nov 24, 2010 11:03 am

Location: Boulder, Colorado, USA

Post Wed Jan 19, 2011 8:23 pm

Re: DLNA response values

Thanks Zip! I dug a little deeper and found some source code that explained the flags:
http://libdlna.sourcearchive.com/docume ... ource.html
http://folks.o-hand.com/ross/gupnp-docs ... lInfo.html
Sony Bravia KDL-55NX810 | Serviio 0.5 (rev. 975aa458693c) | Synology DS-1010+

Return to General discussion

Who is online

Users browsing this forum: No registered users and 4 guests

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