I'm trying to transcode some audio from avi files into wav, and having trouble doing it. The transcode works fine and I get the wav file, which plays. But when I close VLC, it deletes the wav file (actually sets the size to 0 bytes) and it no longer plays. Can someone tell me what I'm doing wrong? Perhaps I have to close VLC and terminal etc. in a special order for this to work?
Here's my command line
/Applications/VLC.app/Contents/MacOS/VLC --no-sout-video --sout "#transcode{acodec=s16l,samplerate=44100}:std{mux=wav,access=file,dst=/Volumes/Storage/testfile.wav}" file_to_process.avi