Comments (2)
Hi,
you have to configure the format (-s option on the server) according to the input source (it has to match the format you're feeding into the /tmp/snapfifo pipe
). Default is 44100:16:2
.
Also there is no resampling in Snapcast. This must happen beforehand to have a fixed sample format.
You can configure the compression ratio of FLAC with -c flac:x
. This is only the compression ratio - FLAC will always be loss less.
But: currently in the Flac encoder/decoder the 16 bit and 2 channels are hard coded. So you can actually only change the sampling rate to e.g. 48000 using -s 48000:16:2
.
Support for different bit depths and channels is on the road map.
from snapcast.
Snapcast v0.7.0 now supports Hi-Res audio.
You can configure the sample format per stream or globally to e.g. 48 kHz, 24 bit, stereo:
Per stream:
-s "pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:24:2"
As default:
--sampleformat 48000:24:2
from snapcast.
Related Issues (20)
- feature request: hidden / meta-only sources HOT 2
- The compilation of Snapcast in OpenWrt 23.05.3 still encounters errors and remains unresolved for an extended period HOT 1
- Prefer dlopen() for dynamic library loading
- Move 'heavy lifting' to server (from client) HOT 1
- Cover Art URI schema HOT 2
- Snapserver service won't start HOT 3
- Snapserver protocol expansion to dynamically use source HOT 12
- music dropouts/block completely on snapserver HOT 1
- Chromecast support HOT 5
- Register snapcast service name
- No metadata and stream control
- WIP: snapclient 0.28.0 (armbian/armv7l) despite repeated attempts cannot connect to snapserver 0.28.0 (openwrt/arm64) after some time. HOT 4
- [Error] (main) Exception: Can't set channel count: Invalid argument
- Add ability to set different sample rate for different streams HOT 4
- Snapclient blocks soundcard/ALSA and stops playing after changing radio station HOT 10
- changing server via the API HOT 1
- Ownership for "/var/lib/snapclient" gets not changed by APT installer when updating from older Debian version which uses a different service user HOT 2
- Issue on rasberry pi 5 (and a workaround) HOT 2
- On Snapclient Version 0.27.0, --hostID arg doesn't work HOT 1
- SHA256 Mismatch on Homebrew Install HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapcast.