Gotcha.

The format isn't going to matter much, so just convert the FLAC to some lossy codec and you're done. None of the lossy codecs are close to an order of magnitude better than any of the others, especially if you are space-limited.

On Sat, Apr 15, 2023 at 19:50, D.T. <danter@posteo.de> wrote:
I really don't think you're getting the problem:
I want to stream from a remote server that has limited storage.
Whether the software can do transcoding on the fly is beside the point because as it currently is 
there isn't enough space on the server, therefore I must do something before I upload.

The ability to then listen to the stream is not under debate. That part is covered.

To simplify, I'd really like an answer to the question how I can best reduce my music collection to a unified, much reduced format.

On Sat, 2023-04-15 at 13:40 -0600, Paul Davis wrote:
both LMS and airsonic can do that

On Sat, Apr 15, 2023 at 19:32, D.T. <danter@posteo.de> wrote:
It's a virtual server.
I want to stream while mobile also, not only at home.


On Sat, 2023-04-15 at 13:18 -0600, Paul Davis wrote:
Don't bother with transcoding. 

Just use the Logitech Media Server (open source, perl!) and it can handle all of the above. 

Players for just about any device you can name, and control apps for any browser as well as most devices.

There's also Airsonic, which is web-based and quite nice, and also offers no rationale for transcoding to disk.

On Sat, Apr 15, 2023 at 19:07, D.T. <ohnonot-github@posteo.de> wrote:
Hello,
I have a server with limited storage that I want to run a private radio station from, a randomized mix of my complete music collection.
Locally I have about 80G of music in all sorts of formats, codecs and bitrates.
This is way too large for the server's storage, I can use half of that at best.

Additionally I don't want the stream to have too much bandwidth so it will work even over flaky (mobile) network connections.

My thought is to transcode all of it to the same reduced format, then upload. 
That way the music server could just push it out without transcoding again (and I could still listen to separate tracks remotely).

The Big Question:
Which format should I choose?

I found these 2 articles that seem to have an answer:
Combined, it sounds to me like I really should use either FDK AAC or Opus* at less than 100kbps (I listen to 64k AAC music streams that are OK imo).

What do you think?
Is this even the right approach to solve the problem?

TIA!

FWIW, here's a breakdown of my music's codecs/bitrates:

vorbis:	97 files (974M), 	average bitrate 332kbps (from 67 to 452)
wmav2:	10 files (31M), 	average bitrate 131kbps (from 129 to 133)
flac:	1216 files (45505M), 	average bitrate 1191kbps (from 330 to 5170)
opus:	173 files (1024M), 	average bitrate 129kbps (from 76 to 177)
mp3:	1975 files (32823M), 	average bitrate 197kbps (from 96 to 420)
aac:	308 files (1592M), 	average bitrate 152kbps (from 64 to 334)
alac:	1 files (621M), 	average bitrate 768kbps (from 768 to 768)


* personally, I always had the feeling that opus (used a lot by youtube) isn't so good with noisy, grungy, fuzzy, guitarry music
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-user-leave@lists.linuxaudio.org

_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-user-leave@lists.linuxaudio.org