Format: .flac w/ FLAC audio (or .mka w/ Opus audio if you really need a lossy codec)
Also, the amount of storage you’re going to save (or lose) by converting from one codec to another (ex. MP3 to Opus, like in the post) depends on the input and output files’ bitrates. But, the quality of the output file will always be worse than the input file if the output file uses a lossy codec.
Program: FFMPEG
Format: .flac w/ FLAC audio (or .mka w/ Opus audio if you really need a lossy codec)
Also, the amount of storage you’re going to save (or lose) by converting from one codec to another (ex. MP3 to Opus, like in the post) depends on the input and output files’ bitrates. But, the quality of the output file will always be worse than the input file if the output file uses a lossy codec.
You took the words right out of my mouth.