Bug 502139 - Playback of DSF/DSD files
Summary: Playback of DSF/DSD files
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Playback (show other bugs)
Version: 3.1.1
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 19:02 UTC by Mark Fraser
Modified: 2025-03-31 21:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Kid3 reading DSF (168.25 KB, image/png)
2025-03-31 18:09 UTC, Mark Fraser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Fraser 2025-03-28 19:02:46 UTC
SUMMARY
I found out recently that SMPlayer can playback DSF/DSD files using the ffdsdlsbfp codec. Is it possible for Amarok to play these files using the same codec?

STEPS TO REPRODUCE
1. Play dsf file in SMPlayer
2. Audio is heard
3. Try to load dsf file into Amarok.
4. Amarok doesn't recognise the file type.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.115.0
Comment 1 Tuomas Nurmi 2025-03-31 16:09:22 UTC
Thank you for the request!
Just some background comments: Support can be seen to consist of playback support, and tag support.
Playback support for DSF/DSD is something that might come as a sideproduct of playback system rework that'll take place at some point (should the chosen new backend support the format).
Tag support depends on TagLib, no idea what DSF/DSD tags are like, but I didn't see any indication that they would be supported by TagLib when I had a quick look.
Comment 2 Mark Fraser 2025-03-31 18:09:14 UTC
Created attachment 179890 [details]
Kid3 reading DSF
Comment 3 Mark Fraser 2025-03-31 18:14:21 UTC
Comment on attachment 179890 [details]
Kid3 reading DSF

This is Kid3 version 3.9.6 reading the ID3 headers in a DSF audio file. According to Kid3's CMakeList file it uses TagLib which does support DSF.

From https://taglib.org/
TagLib is a library for reading and editing the meta-data of several popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack, TrueAudio, WAV, AIFF, MP4, APE, ASF, DSF, DFF and AAC files.
Comment 4 Tuomas Nurmi 2025-03-31 21:03:35 UTC
Okay, good to know, thank you very much! So the tag side should be ok, just support in audio backend would be needed.