Thread: BestAudioSource
View Single Post
Old 15th June 2020, 11:00   #22  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,547
Quote:
Originally Posted by ChaosKing View Post
Can I save the output as a wav file with vspipe?

I tried
Code:
c = core.core.bas.Source(r"d:\test.mp3")
c.set_output(0)
Code:
.\VSPipe.exe  --wav .\bla.vpy -  > asd.wav
But the output is not readable.

EDIT ok the problem was powershell, it works in CMD

And it works with mkv (video) files too!
Protip: don't use pipe output (-) and specify a filename directly instead for faster operation
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote