Skip to content

Commit

Permalink
Readme typos and style
Browse files Browse the repository at this point in the history
  • Loading branch information
isaric authored Jun 16, 2022
1 parent 7e6b4ef commit 7c9e28d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ The scripts are written in bash.

I will outline their purpose here in short.

1. cleanup.sh - This will take remove any video files in X path after the given X days that are specified as a command line argument
1. cleanup.sh - This will remove any video files in X path after the given X days that are specified as a command line argument
2. location-room.servie - this system service will execute the recording script and make sure it restarts in case of system reboot
3. record-location-room.sh - this is the main recording script. it calls ffmpeg and creates an apendable video file for the whole day
4. remux.sh - this script will convert the previous days recording into an mp4 file extension
5. watchdog.sh - this script serves a watchdog function that will check if the ffmpeg recording has stalled and restart it

Another possible approach when recording is to use the build in segmentation feature of ffmpeg and have it record in smaller chunks with
Another possible approach when recording is to use the built-in segmentation feature of ffmpeg and have it record in smaller chunks with
a non-appendable format. That way you can still recover from errors and use less space. The drawback is that you will have to concatenate
these small chunks at one point. The operation itself is not resource intensive but it means you need to have additional space available
for that short amount of time, write a script for it and schedule it with crontab.
these small chunks at one point. The operation is not resource intensive but you need to have additional space available during that time,
write a script for it and schedule it with crontab.

0 comments on commit 7c9e28d

Please sign in to comment.