From 137ba78c7c0ea7dedf4ec79b7f38bf2f622635f0 Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Tue, 27 Oct 2020 16:45:20 +0000 Subject: [PATCH] chore(TODO):Note need to create script to handle file encryption --- TODO.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/TODO.org b/TODO.org index 3cf21cb..78b7fcf 100644 --- a/TODO.org +++ b/TODO.org @@ -15,6 +15,26 @@ are: : ffmpeg -r 60 -f image2 -s 3280x2464 -pattern_type glob -i '*.jpg' -vcodec libx264 -crf 18 "$(date +%Y%m%dT%H%M%S%z)..time_lapse".mp4 : cat *.jpg | ffmpeg -f image2pipe -i - output.mp4 # see https://trac.ffmpeg.org/wiki/Slideshow#Pipe +*** TODO Augment ~bklog~ +Also, either the ~bklog~ script needs to be augmented or a new script +written in order to handle the case of handling an image file coming +in via stdin. Currently, ~bklog~ can't properly handle the stdout +produced by a command such as: + +: raspistill -o - + +Even if a helper script is written that outputs jpg images via stdout, +~bklog~ currently has no way of knowing how to partition the stream of +stdout into separate files. + +Since ~raspistill~ produces a single image and then should be +terminated, it is appropriate to use ~cron~ to call a simple script to +run regularly (ex: every 5 minutes) and to pipe the output to a script +that uses ~age~ to encrypt against a recipient. Code from ~bklog~ can +be reused to do this. It is probably not appropriate to try and +augment ~bklog~ to handle this method of being called since it was +written with the intention of handling continuous streams of stdout. + * Finished Tasks ** DONE ~/doc/time~: Migrate from ~ntpsec~ to ~chrony~ CLOSED: [2020-10-19 Mon 03:48] -- 2.30.2