Skip to content
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

[Bug]: Can't read 12 channels wavepack files #2884

Open
3 tasks done
Jerroder opened this issue Feb 25, 2024 · 3 comments
Open
3 tasks done

[Bug]: Can't read 12 channels wavepack files #2884

Jerroder opened this issue Feb 25, 2024 · 3 comments
Labels
bug triage New bug reports that need to be evaluated

Comments

@Jerroder
Copy link

I confirm that:

  • I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • I'm using the latest version (your issue may have been fixed already)

Version

0.51.1 (6d25322)

Current Behavior

Wavepack files which contain 12 channels aren't played, nothing happens when clicking on a track. They are not being transcoded because they technically are compatible format, but downmixing to stereo would work (it work locally with ffmpeg).

Expected Behavior

The file should be played or transcoded.

Steps To Reproduce

  1. Get a 12 channels wavepack file
  2. Try to play it

Environment

- OS: Windows 10 21H2
- Browser: Firefox 123.0

- OS: iOS 17.3.1
- Client: Amperfy

How Navidrome is installed?

Binary (from downloads page)

Configuration

MusicFolder = "/mnt/Music"
Address = "xxx.xxx.xxx.xxx"
EnableExternalServices = "false"
DataFolder = "/mnt/Music/.navidrome_cache"
CoverArtPriority = "Cover.*, embedded"
EnableTranscodingConfig = "false"
DefaultDownsamplingFormat = "mp3"

Relevant log output

Feb 25 21:48:21 navidrome navidrome[3684]: time="2024-02-25T21:48:21+01:00" level=info msg="Streaming file" artist="The Cinematic Orchestra" bitRate=0 cached=false format=raw originalBitRate=5398 originalFormat=wv requestId=navidrome/qouLSWkTRy-000455 title="To Build a Home (feat. Patrick Watson)" transcoding=false user=Mike username=Mike

Anything else?

Format                                   : WavPack
Format profile                           : 4.16
Format settings                          : Lossless
Duration                                 : 6 min 9 s
Bit rate mode                            : Variable
Bit rate                                 : 5 399 kb/s
Channel(s)                               : 12 channels
Channel layout                           : L R C LFE Lb Rb Lc Rc Cb Ls Rs Tc
Sampling rate                            : 48.0 kHz
Bit depth                                : 24 bits
Compression ratio                        : 0.213
Stream size                              : 238 MiB (100%)
Encoding settings                        : -h -hh -x6 -m

Code of Conduct

  • I agree to follow Navidrome's Code of Conduct
@Jerroder Jerroder added bug triage New bug reports that need to be evaluated labels Feb 25, 2024
@metalheim
Copy link
Contributor

metalheim commented Feb 27, 2024

Browsers don't widely support Wavepack in general i think. And probably even less if it's an exotic file with 12 channels.

So this falls in the same category as #1592 really:
Navidrome server understands the file, but the WebUI doesn't
So the only option is server-side transcoding of the file to a supported format (FLAC f.e.). Currently, you can only enable transcoding for all files or none.

There are plans to improve that with #351 and #2051 but it's not implemented as of now

@dweymouth
Copy link
Contributor

Another "solution" or workaround is to use client apps that can play Wavpack. Supersonic on desktop can. It's possible Symfonium on Android might be able to as well but not sure. In any case, Symfonium is probably more advanced about its transcoding requests than the Navidrome WebUI - asking the server to transcode only if it can't natively play a format. (Note, I don't use Symfonium, I'm guessing a bit at its functionality, knowing it's a pretty advanced app)

@Jerroder
Copy link
Author

Jerroder commented Mar 2, 2024

So the only option is server-side transcoding of the file to a supported format (FLAC f.e.). Currently, you can only enable transcoding for all files or none.

That fixed it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage New bug reports that need to be evaluated
Projects
None yet
Development

No branches or pull requests

3 participants