Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to produce (nearly) perfect FLAC files by verifying/checking all conversion steps. I'm hoping to do this in a single command, although a short bash script would be acceptable as a second choice.

I am on Kubuntu 12.04 and I installed flac 1.2.1.

Here is my starting point:

find ~/Music -type f -iname "*.wav" | while read fn; do flac --keep-foreign-metadata --ogg --verify "$fn"; done

How can I improve this?

If shntool is recommended, how would I include it?

How would I include checksum comparisons?

How can I make FLAC test the integrity of each file?

A working example is appreciated.

BTW, I took a look at perfect-flac-encode, but it is too complicated for me. I don't even fully understand the first sentence of the project's description! The installation steps also look too complex. If there is a similar project that might fit my needs, please let me know.

share|improve this question
    
I think that you don't need FLAC, since the source is already lousy and using FLAC will just bloat the files. Try using the raw sources, instead wav files, to get the best quality. –  Braiam Aug 4 '13 at 5:54
1  
@Braiam: WAV is just a container which could carry both lossy or lossless audio data. In fact very often it is used for storing lossless PCM audio. –  pabouk Aug 4 '13 at 10:59
    
I have the original music CD's as well. My goal is to rip lossless FLAC music from these CD's. It is as simple as that. Thanks. –  MountainX Aug 4 '13 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.