view lightsim/caplight @ 1936:aeb1e5a3079c

add hunter pkg for tracing code Ignore-this: 9c55901d61d26a93512f2b7873ceb7a7
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 02 Jun 2019 11:39:20 +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.*