Re: Transcoding from lossy to lossy with minimal loss...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot to mention, it's a virtual server.
I want to be able to stream on the move, also, not only in my local network.
Server storage is not so cheap (per month).

On Sat, 2023-04-15 at 09:27 -1000, David W. Jones wrote:


On April 15, 2023 9:07:41 AM HST, "D.T." <ohnonot-github@xxxxxxxxx> 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.

Hmm, maybe increase the server's storage? Drives are pretty cheap. My server has 5 terabytes in it and another 7 TB attached via USB3.

For your collection, a 500GB SSD at $39 (Amazon) would be worth it to me.

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:
https://wiki.hydrogenaud.io/index.php?title=Transcoding#Lossy-to-lossy_transcoding
https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio
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

I use mostly Ogg at highest quality, with flac (lossless), mp3/mp4.


---
David W. Jones
gnome@xxxxxxxxxxxxx
exploring the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx

_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux