Trying to record an audio stream to multiple files, I'm using the following command line
vlc --qt-start-minimized http://0.0.0.0/xstream :sout=#duplicate{dst=file{dst="c:\test_%time:~0,2%%time:~3,2%%time:~6,2%_%date:~-10,2%%date:~-7,2%%date:~-4,4%.mp3"},dst=display} --run-time=20 -loop
However it just overwrites the existing file rather than creating a new one. Is there a way to split the stream until multiple files?
Thanks