view lightsim/caplight @ 2363:e38429c283bc

make service namaes more visible in terminal titles
author drewp@bigasterisk.com
date Sat, 03 Jun 2023 18:30:58 -0700
parents 45b12307c695
children
line wrap: on
line source

#!/bin/zsh

# grabs a DV frame and converts to ppm file named $1

dvgrab --format dv2 --frames 1 oneframe
dv2jpg oneframe001.avi oneframe.mjpeg
rm oneframe001.avi
lavtrans -f i -o oneframe.jpg oneframe.mjpeg
djpeg oneframe.jpg > $1
rm oneframe.*