FAQ  •  Register  •  Login

audio format information

<<

sf666

Serviio newbie

Posts: 9

Joined: Tue Sep 24, 2019 2:39 pm

Post Wed Nov 13, 2019 12:40 pm

audio format information

Hi there,

it would be nice, if serviio would provide audio format information while browsing the library by a control point. The didl-item property value "pv:format" is missing right now ...

Cheers

SF
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17095

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 13, 2019 8:21 pm

Re: audio format information

the pv: namespace is not a part of DLNA spec. Do you have an example of what values it should include?
<<

sf666

Serviio newbie

Posts: 9

Joined: Tue Sep 24, 2019 2:39 pm

Post Thu Nov 14, 2019 4:38 pm

Re: audio format information

Sorry, I somehow got messed up with the tags. I cannot remember which media server (or player) was providing audio information within the pv:format tag, but this seems anyhow not tot be the standard.

BUT :) Most player provide audio information within the resources "res" tag by adding the attributes "sampleFrequency", "bitsPerSample" and "nrAudioChannels".

Example:
  Code:
<res duration="0:03:02.000" size="48234494" protocolInfo="http-get:*:audio/mp4:*" sampleFrequency="44100" bitsPerSample="24" nrAudioChannels="2">http://192.168.1.129:10243/WMPNSSv4/470597434/0_ezA4HGDRbvxcTfdgZZs98TDcyN0E0NH0uMC40.m4a</res>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17095

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 20, 2019 8:26 pm

Re: audio format information

Serviio does that to... it's up to the player to show this information.
<<

sf666

Serviio newbie

Posts: 9

Joined: Tue Sep 24, 2019 2:39 pm

Post Mon Nov 25, 2019 3:58 pm

Re: audio format information

Hi,

got it ... thx. But I'm missing the "bitsPerSample" information. Does Serviio also deliver this?

Cheery

SF
<<

sf666

Serviio newbie

Posts: 9

Joined: Tue Sep 24, 2019 2:39 pm

Post Fri Nov 29, 2019 9:15 am

Re: audio format information

Hi,

I have tested one example. Audio Tags are set within the flac file :

  Code:
# metaflac --show-bps 01\ -\ Waste.flac
16


16 bitsPerSample are set.

I've checked the metadata which is delivered by serviio while setting the
  Code:
setAVTransportURI([...])


  Code:
<item id="A_F^FOL*R1$F391$F392$F568$MI917" parentID="A_F^FOL*R1$F391$F392$F568" restricted="1" ><dc:title>01 - Waste.flac</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Rhye</dc:creator><res protocolInfo="http-get:*:audio/flac:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000" size="20933524" duration="0:03:32.000" >http://192.168.171.1:8895/resource/917/MEDIA_ITEM/FLAC-0/ORIGINAL</res><res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000" >http://192.168.171.1:8895/resource/914/COVER_IMAGE</res></item>


"bitsPerSample" is obviously missing, so I would kindly propose to add this "feature".

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 9 guests

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