view lightsim/caplight @ 1479:b2921b59d60c

a compileGraph optimization and some failed ones Ignore-this: 1530f37762ef36c9c54366ce9b5da7d4
author drewp@bigasterisk.com
date Mon, 13 Jun 2016 00:04:59 +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.*