Commit c87d527c authored by null pointer's avatar null pointer
Browse files

improve readability of frame captions

parent de2fd804
No related merge requests found
Showing with 13 additions and 2 deletions
+13 -2
......@@ -43,8 +43,15 @@ do
else
downtime=0
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
TICKER_HAZE=`cat /ram/ticker-haze.sabah.io.txt`
convert "$TARGET" -gravity SouthWest -fill white -stroke black -font "FreeSans-Regular" -pointsize 16 -annotate +10+10 "$(date +"%Y-%m-%d %H:%M:%S")" -gravity SouthEast -annotate +10+10 "$TICKER_HAZE" -strip "$TARGET"
convert "$TARGET" -gravity SouthWest -fill white -font "FreeSans-Regular" -pointsize 16 \
-stroke black -annotate +10+10 "$TIMESTAMP" \
-stroke none -annotate +10+10 "$TIMESTAMP" \
-gravity SouthEast \
-stroke black -annotate +10+10 "$TICKER_HAZE" \
-stroke none -annotate +10+10 "$TICKER_HAZE" \
-strip "$TARGET"
if [[ ! -z "$SNAPSHOT" ]]; then
/usr/bin/php -f "$DIR/videos/store-snapshot.php" -- -f "$TARGET" -n "snapshots.$SNAPSHOT.{date:Ymd}" -b "$SNAPSHOT" -r "$FRAMERATE"
......
......@@ -43,7 +43,11 @@ do
else
downtime=0
convert "$TARGET" -gravity SouthWest -fill white -stroke black -font "FreeSans-Regular" -pointsize 16 -annotate +10+10 "$(date +"%Y-%m-%d %H:%M:%S")" -strip "$TARGET"
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
convert "$TARGET" -gravity SouthWest -fill white -font "FreeSans-Regular" -pointsize 16 \
-stroke black -annotate +10+10 "$TIMESTAMP" \
-stroke none -annotate +10+10 "$TIMESTAMP" \
-strip "$TARGET"
if [[ ! -z "$SNAPSHOT" ]]; then
/usr/bin/php -f "$DIR/videos/store-snapshot.php" -- -f "$TARGET" -n "snapshots.$SNAPSHOT.{date:Ymd}" -b "$SNAPSHOT" -r "$FRAMERATE"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment