Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: which codec should i use? (Read 4800 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

which codec should i use?

hi
i want to store my music in a lossless format than i have to choose.

1)best compression rate
2)no problem of speed or cpu usage during decompression (i will convert to a lossy format very rarely). i will not play the lossless files but mpc ones.
3)good tag support
4)error recovery: i store my music on a usb driver (even if i will store it in a rar archive with recovery information)
5)cuesheet (embedded or not)

wich should i use? optimfrog?flac?

another question:
it is possible to convert a lossless format to another lossless one without problems?


thank you in advance i know my english isn't very well 

which codec should i use?

Reply #1
I would use FLAC, and yeah, you can convert lossless files to other lossless formats with no drawbacks.

which codec should i use?

Reply #2
Try Monkeys audio extra high and optimfrog --highnew or higher depending on speed of you pc.

which codec should i use?

Reply #3
I think FLAC is the right choice

1) maybe don´t have the best copression ratio but...
2) is really fast during decompression.
3) uses Vorbis comments, that is powerful
4) it has good error recovery
5) support both.

edit: See the Lossless comparison and see the right format for you... but I think that FLAC is a good choice.
JorSol
aoTuVb5 -q4

which codec should i use?

Reply #4
If you care a little more about compression ratio and think FLAC doesn't offer enough you could try WavPack -h.  It is what I personally use, but won't compress like OptimFrog, LA, or Monkey's Audio however.  If your sole purpose is compression ratio lean more towards picking one of those
Nero AAC 1.5.1.0: -q0.45


which codec should i use?

Reply #6
I'd recommend WavPack 4.22 -hm, just like DT291.

which codec should i use?

Reply #7
I'm not going to tell you what codec you should use - please see the wiki quoted above.

However, I would just like to say that I only recently realised that compression ratio is really not so important compared to things like error tolerance.  I switched from Monkey's Audio at the expense of around 5GB of space.  However, I have a 300GB drive that cost me around £85, so I believe this space is negligible compared to the ability to not totally lose a file due to one small error.
I'm on a horse.

which codec should i use?

Reply #8
Quote
I'm not going to tell you what codec you should use - please see the wiki quoted above.

However, I would just like to say that I only recently realised that compression ratio is really not so important compared to things like error tolerance.  I switched from Monkey's Audio at the expense of around 5GB of space.  However, I have a 300GB drive that cost me around £85, so I believe this space is negligible compared to the ability to not totally lose a file due to one small error.
[a href="index.php?act=findpost&pid=335051"][{POST_SNAPBACK}][/a]

I can confirm this having tried FLAC and wavPack. Compression ratio doesn't differ very much. I would rather consider things like: will hardware player support for that format will become an issue one day? Than I would prefer FLAC, as this is going to be the best supported format there (apart from ALAC in the apple world).
If for your MPC use there might be an alternative with the hybrid codecs like wavPack. You can get high quality lossy wavPack together with a correction. Using them together with foobar for instance yields a lossless result. File size of lossy + correction file is pretty much in the lossless only range. Hardware player support for wavPack is with  Rockbox firmware anf iRiver H1x0 players.
lame3995o -Q1.7 --lowpass 17

which codec should i use?

Reply #9
WavPack would be basically perfect if only for more hardware support and probably software too (although if using foobar2000 means stopping using WMP I'm all for it! ).

Monkey's Audio didn't seem that fantastic when I tried it. On any of the higher modes - and especially the new Insane mode - seeking was painfully slow for me on foobar2000 (Athlon XP 2500+@3200+, 256 MB).

which codec should i use?

Reply #10
After looking at your spec, I would say WavPack!

which codec should i use?

Reply #11
It's not that fantastic, is it? But do you really think Monkey's needs a lot of power? I like WavPack too much to switch but I wondered before. My PC's okay for me anyway - all it's ever doing is playing music!

which codec should i use?

Reply #12
Quote
4)error recovery: i store my music on a usb driver (even if i will store it in a rar archive with recovery information)
[a href="index.php?act=findpost&pid=334965"][{POST_SNAPBACK}][/a]

If you will be storing it in a rar archive with recovery information, why not just compress the wav files directly with rar?

which codec should i use?

Reply #13
Quote
I think FLAC is the right choice
4) it has good error recovery[a href="index.php?act=findpost&pid=334981"][{POST_SNAPBACK}][/a]


No. It is error robust in the aspect that it won't choke ugly if it finds a stream error. But it can't recover the erroneous part using Reed-Solomon code or some similar error resiliency algorithm.

Quote
If you will be storing it in a rar archive with recovery information, why not just compress the wav files directly with rar?[a href="index.php?act=findpost&pid=335480"][{POST_SNAPBACK}][/a]


RAR is a quite lousy WAV compressor, being much worse than even Shorten in compression ratio.

which codec should i use?

Reply #14
Quote
Quote
I think FLAC is the right choice
4) it has good error recovery[a href="index.php?act=findpost&pid=334981"][{POST_SNAPBACK}][/a]


No. It is error robust in the aspect that it won't choke ugly if it finds a stream error. But it can't recover the erroneous part using Reed-Solomon code or some similar error resiliency algorithm.

this is correct though usually in this context 'error recovery' means the decoder can recover from errors and pick up decoding again at some place after the error (which FLAC and others do), and the term 'error correction' is used for reed-solomon and other error correcting codes that can get data back even in the presence of errors.

I don't know of any lossless codec that offers integrated error correction; usually this is handled as an external layer as part of a transmission protocol.

Josh

which codec should i use?

Reply #15
Quote
this is correct though usually in this context 'error recovery' means the decoder can recover from errors and pick up decoding again at some place after the error


So be it, in this thread the context is of parity data for error recovery because people threw RAR and its "recovery information" into the mix.