MinimServer Forum
DFF file return bitsPerSample=1 in resource - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: DFF file return bitsPerSample=1 in resource (/showthread.php?tid=2889)



DFF file return bitsPerSample=1 in resource - bubbleguuum - 22-01-2016 14:24

As I'm adding and testing support for DFF/DSF mime-types in BubbleUPnP, I noticed that MinimServer returns a resource with bitsPersample="1". Is is intended ?

Code:
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="0$folder$f1423$*i44" parentID="0$folder$f1423" restricted="1"><dc:title>2L-038_stereo_01_01.dff</dc:title><res duration="0:09:14.893" size="391533026" bitsPerSample="1" bitrate="705600" sampleFrequency="2822400" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-dff:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.0.33:9790/minimserver/*/Music/audio*20formats/2L-038_stereo_01_01.dff</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>



RE: DFF file return bitsPerSample=1 in resource - simoncn - 22-01-2016 14:36

(22-01-2016 14:24)bubbleguuum Wrote:  As I'm adding and testing support for DFF/DSF mime-types in BubbleUPnP, I noticed that MinimServer returns a resource with bitsPersample="1". Is is intended ?

Code:
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="0$folder$f1423$*i44" parentID="0$folder$f1423" restricted="1"><dc:title>2L-038_stereo_01_01.dff</dc:title><res duration="0:09:14.893" size="391533026" bitsPerSample="1" bitrate="705600" sampleFrequency="2822400" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-dff:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://192.168.0.33:9790/minimserver/*/Music/audio*20formats/2L-038_stereo_01_01.dff</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>

This is intended. Unlike PCM audio, DSD audio is a sequence of 1-bit samples.


RE: DFF file return bitsPerSample=1 in resource - bubbleguuum - 22-01-2016 15:06

(22-01-2016 14:36)simoncn Wrote:  This is intended. Unlike PCM audio, DSD audio is a sequence of 1-bit samples.

Ok, thanks for the info Smile.


RE: DFF file return bitsPerSample=1 in resource - n3mmr - 23-01-2016 12:55

(22-01-2016 15:06)bubbleguuum Wrote:  
(22-01-2016 14:36)simoncn Wrote:  This is intended. Unlike PCM audio, DSD audio is a sequence of 1-bit samples.

Ok, thanks for the info Smile.

That is correct, DSD is 1bit at a very high sample rate, which is then filtered in various ways to fit into the data storage size of the medium.

I MIGHT be interesting to send an equivalent samplerate/bitdepth for some standard recoding to PCM.


RE: DFF file return bitsPerSample=1 in resource - simoncn - 23-01-2016 16:24

(23-01-2016 12:55)n3mmr Wrote:  That is correct, DSD is 1bit at a very high sample rate, which is then filtered in various ways to fit into the data storage size of the medium.

I MIGHT be interesting to send an equivalent samplerate/bitdepth for some standard recoding to PCM.

I don't believe there is any equivalence between these. In any case, MinimServer is reporting exactly what is in the file for both PCM and DSD.