view lightsim/caplight @ 160:c1c0f5854f8f

uses real light names (for our current patch, anyway) so the dmx send will work
author drewp
date Mon, 07 Jul 2003 08:45:39 +0000
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.*