view lightsim/caplight @ 563:1e24716ea16f

vidref: random fix which might make it more robust Ignore-this: 39f1ebe884a2f8cca8313d39ee5d5f31
author David McClosky <dmcc@bigasterisk.com>
date Sat, 19 Jun 2010 19:03:27 +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.*