Linux: Remove, Rename and Watermark Snapshots

thobben

n3wb
Joined
Aug 5, 2017
Messages
6
Reaction score
0
Hi Togehter,

i newley own a IPC-HFW5231E-Z12 - its a great pice of hardware!

I upload a snapshot every 30 Seconds on my ftp in order to process them to a timelapsevideo with ffmpeg after 7 days.

The pictures a stored in a special directory-tree like this:

./cam/2017-09-17/001/jpg/12/50:
-rw-r--r-- 1 ftp ftp 288970 Sep 17 12:50 00[R][0@0][0].jpg
-rw-r--r-- 1 ftp ftp 290418 Sep 17 12:50 30[R][0@0][0].jpg

./cam/2017-09-17/001/jpg/12/51:
-rw-r--r-- 1 ftp ftp 289852 Sep 17 12:51 00[R][0@0][0].jpg
-rw-r--r-- 1 ftp ftp 293299 Sep 17 12:51 30[R][0@0][0].jpg

./cam/2017-09-17/001/jpg/12/52:
-rw-r--r-- 1 ftp ftp 286028 Sep 17 12:52 00[R][0@0][0].jpg
-rw-r--r-- 1 ftp ftp 284195 Sep 17 12:52 30[R][0@0][0].jpg

The structure and file-name convention cannot be modified in the webfrontend. Also there is no option to stamp/watermark the pictures with the time.

Did anyone alrady build a shell-script that moves the pictures in one directory and staps the file date/time on the pictures?

I would like to have filenames like this in one directory:

cam_20170917_125000.jpg
cam_20170917_125030.jpg
cam_20170917_125100.jpg
cam_20170917_125130.jpg
cam_20170917_125200.jpg
cam_20170917_125230.jpg

Thank you!
 

danbutter

Getting the hang of it
Joined
May 28, 2017
Messages
139
Reaction score
47
Would be nice to see an option to modify this.... it is quite annoying to have all those folders.
These little things are why it is hard to choose between dahua and hikvision as they don't do this. At least on the one I have.
 
Top