Closed CliffS closed 5 years ago
My guess is that the first issue Error: unable to write VBR tag because we can't seek
is causing the second and third issue.
I think SoX can't seek the output stream, which is causing the error. If it was using a file, it would be able to seek that file. It looks like you need to use SoX with files if you use VBR. To test if this is the case, you could run this script
cat input.mp3 | sox - --type=mp3 --compression=-9.8 - > output.mp3
or something similar. I'm not sure which flag enables VBR output... Anyway, I would expect the same error even when running from the command line.
You could use sox.js
with an input file and an output file. That way SoX is able to do all of its fancy stuff with the file, and isn't limited to the streaming mode. I've had quite a few issues with the streaming mode, but for dead-simple transcodes it works alright.
I'm gonna close this since it has been inactive for over a year.
If I set the following parameters, SoX should use the best VBR and a low quality (I'm dealing with voice recordings).
However, I get the following errors:
So it looks like the temp file may be being unlinked at the wrong stage.
Is this a known issue? Is there any work-around?
Thanks.