kagemomiji / airsonic-advanced

airsonic-advanced
GNU General Public License v3.0
174 stars 15 forks source link

[Feature Request]: Add Additional Transcoders to Default Docker Install #239

Open jeffgt14 opened 1 year ago

jeffgt14 commented 1 year ago

Scope

Other

What problem

I think it would be useful and provide greater flexibility to add additional Transcoders to the default install. SoX, FLAC, and Wavpack could be quite useful and add very little bloat. FFMPEG is good at a lot of things but it is absolutely incapable of correctly writing headers of lossless files while piping to a stream. SoX in particular excels here allowing you to stream audio and still maintain the ability to seek the cached file.

Wavpack is more a personal preference due to me having several DSD encoded wavpack files that I like to covert to PCM on the fly for streaming which WVUNPACK does great with.

Feature

Add additional Transcoders (minimum of SoX) to Docker container.

DutchComputerKid commented 1 year ago

+1 in a way, I also have a DSD library here and since Airsonic's native DSD streaming is broken, (and likely unfixable since its so niche) I have tried to add dhalsimax/dsf2flac with a whole script for transcoding but it has its own problems. See #221 for more.

In any case, yes I would like to see more ways to accomplish these things as well :P