1)I’ve had the need to create a daily video file from the mSD card which records video non stop.
2)I also just need record half a day (9pm-9am).
My tips and tricks below - this is on Windows, but it will work on Mac I think too if ffmpeg is available.
I’ll start with #2 - Right now there is no IFTTT feature to turn on and off local recording; but you can turn off/on the camera; when it’s off it’s in a standby state and won’t record (but you also can’t view/use it)
#1. This has a been a google search, article reading solution. Basically I want all the 1 minute pieces appended to an hour video, then all the 1 hour video into a day video. I use 2 sets of commands here, because to append all the mp4s I need to have a mkv output. Then I need to append all mkv files to another mkv, I used Notepad, with hard returns after each line, so I can copy paste each “command” and it will run itself. There is still manual work but much less than before.
For the MP4s
(for %i in (*.mp4) do @echo file ‘%i’) > mylist.txt
C:\Winapps\ffmpeg\bin\ffmpeg.exe -safe 0 -f concat -i mylist.txt -c copy all.mkv -nostdin
for %I in (.) do set CurrDirName=%~nxI
rename all.mkv %CurrDirName%.mkv
move %CurrDirName%.mkv …
cd…
For the MKVs
(for %i in (*.mkv) do @echo file ‘%i’) > mylist.txt
C:\Winapps\ffmpeg\bin\ffmpeg.exe -safe 0 -f concat -i mylist.txt -c copy all.mkv -nostdin
for %I in (.) do set CurrDirName=%~nxI
rename all.mkv %CurrDirName%.mkv
move %CurrDirName%.mkv …
Hope this helps someone