05-08-2020, 04:05 PM
The issue with the dff file is that it is in big endian byte order and Raspberry Pi requires little endian thus MPD does not recognize the file.
Below is the analysis.
With MPD set to verbose logging the following entries appear in /var/log/mpd/log for the 1.dff file (renamed to dff_test.dff) that you provided.
Heres the media info analysis which shows Format settings = Big (endian).
Here's a mediainfo analysis for one of my test DSF files. Note it shows Format settings = Little (endian).
Here is the byte order requirement of the Raspberry Pi ARM core. Note it is Little endian.
Below is the analysis.
With MPD set to verbose logging the following entries appear in /var/log/mpd/log for the 1.dff file (renamed to dff_test.dff) that you provided.
Code:
May 08 11:47 : update: reading USB/VFAT128/Test_mixed/DFF/dff_test.dff
May 08 11:47 : update: ignoring unrecognized file USB/VFAT128/Test_mixed/DFF/dff_test.dff
May 08 11:47 : update: finished
Heres the media info analysis which shows Format settings = Big (endian).
Code:
pi@rp3:/media/VFAT128 $ mediainfo ./Test_mixed/DFF/dff_test.dff
General
Complete name : ./Test_mixed/DFF/dff_test.dff
Format : DSDIFF
Format/Info : Direct Stream Digital Interchange File Format
Format version : Version 1.4.0.0
File size : 404 MiB
Duration : 5 min 0 s
Overall bit rate : 11.3 Mb/s
Audio
Format : DSD
Format/Info : Direct Stream Digital
Commercial name : DSD128
Format settings : Big
Duration : 5 min 0 s
Bit rate : 11.3 Mb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 5 645 kHz
Compression mode : Lossless
Stream size : 404 MiB (100%)
Here's a mediainfo analysis for one of my test DSF files. Note it shows Format settings = Little (endian).
Code:
pi@rp3:~ $ mediainfo /media/VFAT128/Test_mixed/DSF/01\ -\ The\ Police\ -\ Roxanne.dsf
General
Complete name : /media/VFAT128/Test_mixed/DSF/01 - The Police - Roxanne.dsf
Format : DSF
Format/Info : Direct Stream Digital Stream File
Format version : Version 1
File size : 131 MiB
Duration : 3 min 13 s
Overall bit rate : 5 665 kb/s
Album : Every Breath You Take - The Classics
Track name : Roxanne
Track name/Position : 1
Performer : The Police
Genre : Rock
Recorded date : 2003
Cover : Yes
Cover type : Cover (front)
Cover MIME : image/jpeg
Audio
Format : DSD
Format/Info : Direct Stream Digital
Commercial name : DSD64
Format settings : Little
Duration : 3 min 13 s
Bit rate : 5 645 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 2 822 kHz
Compression mode : Lossless
Stream size : 130 MiB (100%)
Here is the byte order requirement of the Raspberry Pi ARM core. Note it is Little endian.
Code:
pi@rp3:~ $ lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 4
Model name: Cortex-A53
Stepping: r0p4
CPU max MHz: 1200.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32