Oh, I made a batch file that can Buzzr with a timestamp added so I don't worry about overwriting. While my file uses Streamlink, ffmpeg is incredibly versatile.
Timestamp for Windows batch. Add %dtStamp% to the filename somewhere to get the timestamp.
SET HOUR=%time:~0,2%
SET dtStamp9=%date:~-4%%date:~4,2%%date:~7,2%_0%time:~1,1%%time:~3,2%%time:~6,2%
SET dtStamp24=%date:~-4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
if "%HOUR:~0,1%" == " " (SET dtStamp=%dtStamp9%) else (SET dtStamp=%dtStamp24%)
Awesome -- this was also super helpful. I stuck this ahead of the ffmpeg line in the batch file, and then changed the file name to Buzzr_%dtStamp%.mp4, works like a charm.
I am having a weird issue with the batch file and Task Scheduler. No issues setting up the task, no issues when I manually kick off the task in Scheduler. When Scheduler kicks it off , I see the window open and start but within 3-5 seconds it shuts down, no file generated.
My first instinct was that it's a write permission issue, but I've given full access to all users to the folder at every level up to root, and the batch file. I also tried toggling between 'Run When User is Logged in' and 'Run when User is or is not Logged in', selected 'Run with highest priviledges', tried different configuration profiles.
Same result - when kicked off manually, or immediately in Task Scheduler, it works perfectly, when scheduled it kicks off but stops after 2 seconds.