Quote:
Originally Posted by justafapper1
this would seem to be the case but it appears to be a glitch that just shows the start recording flashing but no recording actually happens
|
hmm i've had that happen in rtmpdump and livestreamer/streamlink too when the output folder didn't already exist, I think it's due to windows usage / admin rights, the ouput window reports it writing the file but nothing actually gets written to the disk, it's why I add following to my scripts so creates the folder regardless and timestamps each recording so nothing can be overwritten too, also clears junk zero byte recordings so you don't end up with thousands of useless files.
setlocal enableDelayedExpansion
set OUT_DIR=path you wish to record to.
if not exist %OUT_DIR% (mkdir %OUT_DIR%)
for /r %%F in (*) do if %%~zF==0 @del "%%F"
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:~-4%
SET month=%date:~3,2%
IF "%month:~0,1%" == " " SET month=0%month:~1,1%
SET day=%date:~0,2%
IF "%day:~0,1%" == " " SET day=0%day:~1,1%
SET _my_datetime=%day%-%month%-%year%_%hour%-%min%-%secs%
SET Current_Time=%_my_datetime%
-o "%OUT_DIR%/%Current_Time%/name of file plus file extension."