view lightsim/caplight @ 1822:0da5fcfe4ea5

collector debug logging Ignore-this: d1357a970ac339186c7e91cd311c6288
author drewp@bigasterisk.com
date Sat, 09 Jun 2018 01:19:23 +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.*