Hello,
I was trying to create a batch command to easily convert popular lossless file formats (flac, tak, ape, ...) to lossyFLACs.
The plan was to use ffmpeg for the decoding stage - but I failed...
I started to create lossy WAVs first:
Can someone shed some light why this command doesn't work:ffmpeg -i test.flac -f wav - | lossywav -
Error:Could not write header for output file #0 (incorrect codec parameters ?): Error number -22 occurred
While this one works (and produces a "stdin.lossy.wav" output file as expected):flac -d test.flac -c | lossywav -
Maybe it's the way lossyWAV works, because this one is working (though it doesn't make much sense):ffmpeg -i test.flac -f wav - | qaac - -o test.m4a
.sundance.