Creating a single large file for day of local recording

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

1 Like

Do you manually take the card out and run the cmd each time?

I am curious if you can edit the command to point to the directory of the card on the camera via WiFi and have it run without taking the card out?

It almost want me to try and see if thats possible. If that is possible, then you could also run task scheduler to automatically download those files over the internet without taking the card out.

I take the mSD card out and dump everything on my laptop drive, which is an SSD - makes it very very fast.

I’ve tried it on my tower, on which I have 2 x 3TB SATA drives in R1, and running these commands takes considerably longer (like 3-4 times longer).

Would be great to have SMB access to the camera mSD drive but I doubt that will ever be a feature.

I would also assume that running that on the card itself while in the camera would be very poor performance.

1 Like

While I agree that it would be a neat feature to have, I think it would be a pretty big security issue.

It would be encrypted and most likely use your Wyze password. It would be safer then.