Mercurial > code > home > repos > light9
view lightsim/caplight @ 942:dd896321faee
subserver can get a snapshot from vidref and display it on the sub
Ignore-this: 9ea0a172869922d22d8c5cf6ee4bf3da
author | drewp@bigasterisk.com |
---|---|
date | Thu, 13 Jun 2013 01:31:16 +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.*