Can the piped audio out for audiobookshelf be linked to snapclient? #1835

Closed
opened 2026-04-24 23:59:27 +02:00 by adam · 2 comments
Owner

Originally created by @letshin on GitHub (Mar 21, 2024).

Describe the feature/enhancement

Is it possible to add an option so that the audio output can be redirected to snapserver so it can be consumed by snapclients?

https://github.com/badaix/snapcast

Originally created by @letshin on GitHub (Mar 21, 2024). ### Describe the feature/enhancement Is it possible to add an option so that the audio output can be redirected to snapserver so it can be consumed by snapclients? https://github.com/badaix/snapcast
adam added the enhancement label 2026-04-24 23:59:27 +02:00
adam closed this issue 2026-04-24 23:59:27 +02:00
Author
Owner

@letshin commented on GitHub (Mar 21, 2024):

I saw that ffmpeg is used and it is possible to pipe the ffmpeg output (https://github.com/badaix/snapcast/blob/develop/doc/player_setup.md:

ffmpeg -y -i http://wms-15.streamsrus.com:11630 -f u16le -acodec pcm_s16le -ac 2 -ar 48000 /tmp/snapfifo

and with docker it is possible to link the volumes together /tmp/snapfifo:/tmp/snapfifo so this should be possible to enable streaming and/or multi-room playback?

@letshin commented on GitHub (Mar 21, 2024): I saw that ffmpeg is used and it is possible to pipe the ffmpeg output **(https://github.com/badaix/snapcast/blob/develop/doc/player_setup.md**: ffmpeg -y -i http://wms-15.streamsrus.com:11630 -f u16le -acodec pcm_s16le -ac 2 -ar 48000 /tmp/snapfifo and with docker it is possible to link the volumes together /tmp/snapfifo:/tmp/snapfifo so this should be possible to enable streaming and/or multi-room playback?
Author
Owner

@advplyr commented on GitHub (Mar 25, 2024):

I'm sure it is possible but most of the audio files don't go through ffmpeg. Ffmpeg is only used in playing the audio when it has to be transcoded to an HLS stream because it can't be direct played.
This is outside the scope of the project for sure but there is an API you can use to build something out https://api.audiobookshelf.org

@advplyr commented on GitHub (Mar 25, 2024): I'm sure it is possible but most of the audio files don't go through ffmpeg. Ffmpeg is only used in playing the audio when it has to be transcoded to an HLS stream because it can't be direct played. This is outside the scope of the project for sure but there is an API you can use to build something out https://api.audiobookshelf.org
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1835