annotate lightsim/caplight @ 779:d3f6830f55a2

stop output entry box bouncing around Ignore-this: 6ecd3e9ca8364290ea1649ea10a4c88e
author drewp@bigasterisk.com
date Sat, 16 Jun 2012 23:46:21 +0000
parents 45b12307c695
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
1 #!/bin/zsh
45b12307c695 Initial revision
drewp
parents:
diff changeset
2
45b12307c695 Initial revision
drewp
parents:
diff changeset
3 # grabs a DV frame and converts to ppm file named $1
45b12307c695 Initial revision
drewp
parents:
diff changeset
4
45b12307c695 Initial revision
drewp
parents:
diff changeset
5 dvgrab --format dv2 --frames 1 oneframe
45b12307c695 Initial revision
drewp
parents:
diff changeset
6 dv2jpg oneframe001.avi oneframe.mjpeg
45b12307c695 Initial revision
drewp
parents:
diff changeset
7 rm oneframe001.avi
45b12307c695 Initial revision
drewp
parents:
diff changeset
8 lavtrans -f i -o oneframe.jpg oneframe.mjpeg
45b12307c695 Initial revision
drewp
parents:
diff changeset
9 djpeg oneframe.jpg > $1
45b12307c695 Initial revision
drewp
parents:
diff changeset
10 rm oneframe.*