Cannot create new output file
It looks like VhsDecodeAutoAudioAlign.exe doesn't work if the output file doesn't yet exist.
VhsDecodeAutoAudioAlign.exe stream-align --sample-size-bytes 2 --stream-sample-rate-hz 48000 --input-file notaligned.flac --output-file aligned.flac --json decode.tbc.json
Outputs an error:
[10:40:40.919] System.IO.FileNotFoundException - c:\temp\aligned.flac
[10:40:40.919] at VhsDecodeAutoAudioAlign.Actions.StreamAlign.GetInputStream(StreamAlignArgs args) in /builds/wolfre/vhs-decode-auto-audio-align/VhsDecodeAutoAudioAlign/Actions/StreamAlign.cs:line 56
[10:40:40.919]
[10:40:40.919] at VhsDecodeAutoAudioAlign.Actions.StreamAlign.Run(StreamAlignArgs args, String[] unconsumend) in /builds/wolfre/vhs-decode-auto-audio-align/VhsDecodeAutoAudioAlign/Actions/StreamAlign.cs:line 122
I can only make it work by creating a 0-byte output file aligned.flac in conjunction with --overwrite:
VhsDecodeAutoAudioAlign.exe stream-align --sample-size-bytes 2 --stream-sample-rate-hz 48000 --input-file notaligned.flac --output-file aligned.flac --json decode.tbc.json --overwrite