this post was submitted on 23 Oct 2023
1813 points (97.5% liked)

memes

10450 readers
2373 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 1 year ago (2 children)

I collect flac wherever i can on my Computer and sync it to my phone with transcode to lossy. I agree tho, a good lossy encode cannot be distinguished from their lossless version. Even less when you dont have the immediate comparison.

Three reasons:

  • collectors appeal -> music on the internet comes and goes. Chances are that your file that you downloaded randomly becomes the only one available. having it in best available quality is the icing on the cake.
  • generational loss -> the ability to transfer your music to any future media you like without/with minimal loss. Also if you remix/cut/edit stuff it keeps quality high
  • killer samples -> given more agressive music, codecs might fail. There are some examples on hydrogenaudio.
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I do something very similar. I have all my music on a network share with a playlist folder inside. I run a script that copies all the lines from an .m3u playlist file and copies them to another music folder inside my user folder, converting any FLAC files along the way.

I then user SyncThing to synchronize that folder with my phone. Makes it super easy to get all my music and playlists when I upgrade to a new phone.

a = *lines from playlist file*
new = *destinationFolder*
# If the mp3 version of the flac is older than the flac or doesn't exist in the destination,
# convert it from Flac to variable bitrate mp3
  if [ "$a" -nt "${new[@]/%flac/mp3}" ]; then
    echo Converting $a
    ffmpeg -y -i "$a" -qscale:a 0 "${new[@]/%flac/mp3}"
  fi

There's some cleaning and other steps done but I'm willing to share or provide more details if anyone is interested.

[–] [email protected] 1 points 1 year ago (1 children)

Its a shame that you NEED a secondary lossy archive. You can only do true on-the-fly functionality when the syncing and music app are not seperate. Currently i use MusicBee for the transcoding and resilio for the syncing. I should propably switch over to syncthing too tho.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I have several terabytes of free space on my server so I have no issue sacrificing a few gigs to have the lossy archive be portable and independent of the music software.

It gives me the freedom to drop the lossy archive to whatever device I want (SyncThing to make it automatic and wireless) and use whatever music play I choose.

I could, and have thought about, switching the script to use hardlinks for the MP3s which means the only storage used is for the transcoded MP3s. Plus it would get rid of the requirement to sync any updated MP3s from the original archive to the lossy one, the hardlinks would just update with the original.

[–] [email protected] 1 points 1 year ago

I think musicbee had a plugin that could do that, havnt had any quick success with it.

[–] [email protected] 1 points 1 year ago (1 children)

killer samples -> given more agressive music, codecs might fail. There are some examples on hydrogenaudio.

Can you clarify what this is? Are there songs that cannot be stored in mp3 form? I tried searching it but I just got a bunch of results about murder instead.

[–] [email protected] 3 points 1 year ago (1 children)

Killer samples are lossy sounds that are distinguishable from lossless regardless of bitrate. They are usually handcrafted extremes that you wouldnt find in any real audio.

[–] [email protected] 1 points 1 year ago