jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.18k stars 316 forks source link

Cannot play DSD audio #581

Open felix920506 opened 7 months ago

felix920506 commented 7 months ago

Describe the bug When trying to play DSD audio, JMP errors with "The server isn't sending a compatible format"

To Reproduce Steps to reproduce the behavior:

  1. Add DSD audio to Server
  2. Play DSD audio
  3. See Error

Expected behavior Expected audio to play

Desktop (please complete the following information):

Additional context It shows that it is direct playing but the server is trying to transcode for whatever reason, then fails ffmpeg logs: Log.log

JMP logs: Jellyfin Media Player拷貝.log

sevenrats commented 7 months ago

can anything in jellyland play DSD audio?

felix920506 commented 7 months ago

Web transcode plays it just fine

sevenrats commented 7 months ago

it may be a symptom of jmp's always-directplay-then-failover method

retrography commented 4 days ago

Bump. I am using Finamp as client. I don't get any error. The song just won't advance.

I think there must be an exception option for DSD just like for THD and TrueHD, as most renderers are not DSD-compatible.

felix920506 commented 4 days ago

@retrography If you are having problems with finamp you should report it in their repo

felix920506 commented 4 days ago

it may be a symptom of jmp's always-directplay-then-failover method

@sevenrats I don't think it's this. It does request a transcode, but because of how DSD works (not PCM), JMP grabs the "sample rate" of the source and requests a transcode to flac with sample rate of like 2.8Mhz (same as source) which won't work

retrography commented 1 day ago

@felix920506 You are right. The problem is Finamp. DSD playback works correctly on the web interface.