Age | Commit message (Collapse) | Author |
|
|
|
The default streaming guide is now far away from the original taken from
the FFmpeg streaming guide.
Since the command can handle a lot of inputs its also not useful to send
sine waves to soundbox devices.
|
|
|
|
This makes sure the audio-receiving software `ffplay` runs all the time.
|
|
|
|
This makes a soundbox device discoverable via the Link Layer Discovery
Protocol (LLDP). That way a client application can lookup the available
soundbox devices inside the network to display playback options.
|
|
While transcoding to a lossy formate like MP3 is not recommended [1]
forquality reasons it has the advantage that alway UPD / Matroska / MP3
is used for soundbox. That way the stream can be stopped and started at
any time without re-launching ffplay on the soundbox device. This could
make the SSH connection to the soundbox not longer needed.
[1]: https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio#WhenshouldItranscodeaudio
|
|
|
|
The Matroska format has to advantage that a stream can be stopped and
the restarted at any time without executing new commands on the soundbox
device.
Since Matroska and RTP have similar / redundant features [1] the
transport protocol is switched to plain UDP.
[1]: https://en.wikipedia.org/wiki/Comparison_of_video_container_formats#cite_note-22
|
|
|
|
This allows to stream to multiple devices at the same time. Nevertheless
it still works for a point to point stream.
|
|
The soundbox software should be portable to other Raspberry Pis without
the HiFiBerry DAC too.
|
|
|
|
The music streaming documentation used to enforce re-encoding via ffmpeg
to save bandwidth. This led to pretty poor audio quality. This is not
the purpose of soundbox. It is assumed that the user wants the highest
possible audio quality as default.
|
|
Configuring the Alpine Linux operating system correctly for soundbox is
not trivial. Since it is very important it has to be documented in
detail.
|
|
The tar-based installation is more difficult to explain but has the
advantage that the partition size is maximized from the beginning. This
is way easier than resizing the partition after the installation.
|
|
This is currently the recommended OS installation for soundbox.
|
|
There used to be no extra space between paragraphs which in combination
with no indentation was not useful.
|
|
This flag makes sure the file is streamed in native frame rate and not
e.g. way faster. This is the expected behaviour.
|
|
This port should be used in the future as soundbox standard port.
|
|
This allows more testing than only streaming sine waves.
|
|
This documents a basic FFmpeg streaming example so that soundbox devices
can be tested.
|
|
This section is important to communicate how to interpret version
numbers in the context of this device repository.
|
|
Inside the artifacts folder aswell as inside the source folder adding a
'soundbox-' prefix to files is uncommon. In both cases only the root level
folder should contain the name 'soundbox' to remove redundancies.
|