Skip to content

Instantly share code, notes, and snippets.

@BETLOG
BETLOG / 1 - piinfo via systemctl service
Last active January 10, 2021 00:39
systemctl service - RPiCamWebInterface Annotation %a
[Unit]
Description=RPiWebCamInterface user annotation service
[Service]
Type=oneshot
ExecStart=/bin/bash /home/pi/piCamWebInterface-annotateService.sh
# scp /home/user/documents/scripts/raspberry/etc/systemd/system/piinfo.* pizerocam1:/tmp
# scp /home/user/documents/scripts/raspberry/home/pi/piinfo.sh pizerocam1:/home/pi
@BETLOG
BETLOG / 1-video-zoompanOnImage.sh
Last active December 21, 2020 02:30
ffmpeg zoom directly at target (more useful/visually expected than the typical examples)
#!/bin/bash
# betlog - 2020-12-20--23-01-02
# https://superuser.com/questions/1087685/ffmpeg-zoompan-image-to-center-position
# http://dragonquest64.blogspot.com/2019/02/ffmpeg-zoom.html <<<<------ THIS
#
# syntax:
# video-zoompanOnImage.sh [geometry(${sizeX}x${sizeY}+${posX}+${posY}] [zoom|zoompan] imageFilename
# omitting geometry or mode will query with kdialog
# eg:
# video-zoompanOnImage.sh image.png
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
CPU Family: 0x6