New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSD (.dsf) Support #2491

Closed
mayanez opened this Issue Jul 22, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@mayanez

mayanez commented Jul 22, 2017

I am quite enjoying this player. However, I have a large collection of DSD files and realized it doesn't seem to support playback for this. Is this something that is planned? How much effort would be involved in adding support in case I decide to do a PR?

Thanks!

@lazka

This comment has been minimized.

Member

lazka commented Jul 22, 2017

It wouldn't be to hard tagging wise as mutagen already supports it. But, last time I checked there was no decoder for this.

Which operating system?

@mayanez

This comment has been minimized.

mayanez commented Jul 22, 2017

Yes I saw mutagen has support. So from my understanding ffmpeg can decode dsf. I'm on Arch Linux.
https://www.ffmpeg.org/doxygen/2.6/dsfdec_8c_source.html

@lazka

This comment has been minimized.

@lazka

This comment has been minimized.

Member

lazka commented Jul 22, 2017

For future reference, mpv can play those files here.

@mayanez

This comment has been minimized.

mayanez commented Jul 22, 2017

I'm not entirely sure how those bugs fit into the grander scheme of things yet as I'm not that familiar with the architecture of linux audio. However, looking into the mainline kernel, there is native support for DSD via ALSA (See https://github.com/torvalds/linux/blob/master/sound/usb/quirks.c#L1326). Also, this might be useful https://github.com/lintweaker/python-dsd-tools

@lazka

This comment has been minimized.

Member

lazka commented Jul 22, 2017

The default pipeline would be something like QL -> (GStreamer <-> ffmpeg) -> pulseaudio -> kernel and the interface between GStreamer and ffmpeg is currently missing some things.

We don't do any playback ourself here, so for DSD to work the following has to work first gst-play-1.0 somefile.dsf

lazka added a commit that referenced this issue Jul 23, 2017

Add DSF (tagging) support. See #2491
None of our backends supports playback atm, so this only allows
browsing/tagging.

For a GStreamer upstream bug see.
   https://bugzilla.gnome.org/show_bug.cgi?id=721186
@lazka

This comment has been minimized.

Member

lazka commented Jul 23, 2017

I've added support in QL now. Once GStreamer adds support things should just work.

As there is nothing more we can do here, I'm closing this.

@lazka lazka closed this Jul 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment