I have a problem with convert from "wav" to "flac".
arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac
Always get the error message:
ERROR: raw format options (--endian, --sign, --channels, --bps, and --sample-rate) are not allowed for non-raw input
But with the following command I can record it, but playback is extremely noisy.:
arecord -t raw -f S16_LE -r 8000 | flac - -f --endian little --sign unsigned --channels 1 --bps 16 --sample-rate 8000 -s -c -o test.flac
I have searched with my colleague for hours, unfortunately unsuccessful, also already tried with sox.
Maybe there is a Linux professional among you who can help me.