view lightsim/caplight @ 778:a2c1dc358bb1

support dragging in a url to make curves and subterms Ignore-this: 8cb0583c1350d8d414d8ef2995524c68
author drewp@bigasterisk.com
date Sat, 16 Jun 2012 23:46:03 +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.*