The Game Show Forum > Game Show Channels & Networks
Buzzr Streaming Question
snowpeck:
--- Quote from: chrisholland03 on April 12, 2019, 09:54:01 AM ---
--- Quote from: jalman on April 11, 2019, 07:17:45 PM ---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.
--- Quote ---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%)
--- End quote ---
--- End quote ---
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.
--- End quote ---
Yeah, I've had weird issues with Windows's built in task scheduler. I ended up using a third-party program: https://www.splinterware.com/products/scheduler.html
It may need to be configured to run the .bat file as an administrator too (or set the .bat file itself to always run as administrator).
tvmitch:
Thanks everyone. The Windows solutions look great and ingenious. Unfortunately, the main computer in my home is my iMac. I do think I have an old Windows box laying around somewhere, this will give me reason to fire that up...
clemon79:
--- Quote from: tvmitch on April 12, 2019, 04:51:51 PM ---Thanks everyone. The Windows solutions look great and ingenious. Unfortunately, the main computer in my home is my iMac. I do think I have an old Windows box laying around somewhere, this will give me reason to fire that up...
--- End quote ---
All of this should work on a Mac as well, in roughly the same way: install FFMpeg (it exists for the Mac), set up the script / batch file, schedule tasks. The devil will just be in the details of how those things are done on a Mac as opposed to Windows.
tvmitch:
--- Quote from: clemon79 on April 12, 2019, 05:14:51 PM ---All of this should work on a Mac as well, in roughly the same way: install FFMpeg (it exists for the Mac), set up the script / batch file, schedule tasks. The devil will just be in the details of how those things are done on a Mac as opposed to Windows.
--- End quote ---
Nice, thanks. I will check it out. Assumed it was Windows-only.
chrisholland03:
--- Quote from: clemon79 on April 12, 2019, 05:14:51 PM ---All of this should work on a Mac as well, in roughly the same way: install FFMpeg (it exists for the Mac), set up the script / batch file, schedule tasks. The devil will just be in the details of how those things are done on a Mac as opposed to Windows.
--- End quote ---
Yeah, the details were a pain with Win10. It's pretty slick when it's up and running.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version