I had downloaded corrupt flac music 3 times. So I tried to make a shell/bat script to automatic check flac from download.
But I find some trouble:
flac -t mysong.flac > my.log
Cant see anything in my.log.
But
flac -v > my.log
works, which shows the flac.exe version in my.log.
Another question is:
any good ways adding md5 label for flac without re-encoded?
As I know, the md5 label is cacculate from origin PCM data, so It has to decode first. And the best way I know is use
flac -f
re-encode in place. Any better ways?
I had downloaded corrupt flac music 3 times. So I tried to make a shell/bat script to automatic check flac from download.
But I find some trouble:
flac -t mysong.flac > my.log
Cant see anything in my.log.
But
flac -v > my.log
works, which shows the flac.exe version in my.log.
"-t" outputs to stderr, so you need either "2>my.log" or ">my.log 2>&1" (at least on linux).
Thank You!