Files @ c1c0f5854f8f
Branch filter:

Location: light9/lightsim/caplight

drewp
uses real light names (for our current patch, anyway) so the dmx send will work
#!/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.*