Using an x86 and ver 2.1.0. One instance of VLC records the full hour. If I add a second instance to the batch script the last instance works fine, the first instance stops typically after 3 minutes but occasionally varies something short of the full record. Seems the "--run-time=x" may be getting fouled. Tried running two separate scripts in the windows scheduler offset by 1 minute and the results were worse and more random. In all cases the scripts are killed by the scheduler 1 minute after calling the script shown below.
Is there a minor script change that will resolve this or is another non-relative method having a absolute time "end" command needed? Don't find an attachment option so I included the script in this message.
Thanx...
---------------------------------
@echo off
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
set year=%date:~12,2%
set month=%date:~4,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
set day=%date:~7,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
set datetimef=%month%.%day%.%year%_%hour%.%min%
start vlc -vvv rtsp://user:pw@x.x.x.x:554/mpeg4cif --sout=file/mp4:"H:\Surveillance\VideoCam1\%datetimef%.mp4" --run-time=3600 --play-and-exit --qt-start-
REM Delay for 5 seconds
ping x.x.x.x -n 1 -w 5000 >nul
start vlc -vvv rtsp://user:pw@x.x.x.x:554/mpeg4 --sout=file/mp4:"H:\Surveillance\VideoCam2\%datetimef%.mp4" --run-time=3600 --play-and-exit --qt-start-