I am trying to record some "dashcam style" webcam output with VLC - I want to record 150 seconds file, play it and in the same time record another so I can always see on screen 150 seconds delayed video
I created .cmd file and tested it on screen:// where timer starts from 00:00:00 and it records files in a loop like I want
Code: Select all
:rec
CALL "C:\Program Files\VideoLAN\VLC\vlc.exe" screen:// --screen-fps=10 --qt-start-minimized :sout=#transcode{vcodec=h264,vb=400,scale=1}:file{dst=C:\%date:~-10,4%%date:~-5,2%%date:~-2,2%_%time:~-11,2%%time:~-8,2%%time:~-5,2%.mp4} --run-time=10 vlc://quit
GOTO :rec
Code: Select all
CALL "C:\Program Files\VideoLAN\VLC\vlc.exe" http://85.89.183.83:8080/video#.WPYFjoTiAR8.link :sout=#transcode{vcodec=h264,vb=400,scale=1}:file{dst=C:\%date:~-10,4%%date:~-5,2%%date:~-2,2%_%time:~-11,2%%time:~-8,2%%time:~-5,2%.mp4} --run-time=5 vlc://quit
And maybe any sugestions how to play first file while second is recording? And then second, third etc...
Thank you in advance