X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxscreensaver-getimage-video;h=03375bab96a9eb1bd9178acad03f46030f0c2b38;hb=4cecfc89e5e889c7232693897c06168fb378bd5c;hp=7bcd9ff2c90b4aa5933fb494204269d8a6d65812;hpb=a1d41b2aa6e18bf9a49b914a99dda8232c5d7762;p=xscreensaver diff --git a/driver/xscreensaver-getimage-video b/driver/xscreensaver-getimage-video index 7bcd9ff2..03375bab 100755 --- a/driver/xscreensaver-getimage-video +++ b/driver/xscreensaver-getimage-video @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright © 2001 Jamie Zawinski , all rights reserved. +# Copyright © 2001, 2002, 2003 Jamie Zawinski . # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -29,7 +29,7 @@ use diagnostics; use strict; my $progname = $0; $progname =~ s@.*/@@g; -my $version = q{ $Revision: 1.5 $ }; $version =~ s/^[^0-9]+([0-9.]+).*$/$1/; +my $version = q{ $Revision: 1.10 $ }; $version =~ s/^[^0-9]+([0-9.]+).*$/$1/; my $verbose = 0; @@ -52,12 +52,19 @@ my $sgi_bogosity = "$tmpfile-00000.rgb"; my @programs = ( - "bttvgrab -d q -Q -l 1 -o jpg -f $tmpfile", # BTTV + "bttvgrab -d q -Q -l 1 -o ppm -f $tmpfile", # BTTV "qcam > $tmpfile", # Connectix Qcam - "streamer -s 768x576 -o $tmpfile", # XawTV + "gqcam -t PPM -d $tmpfile", # GTK+ Qcam clone + "streamer -a -s 768x576 -o $tmpfile", # XawTV "atitv snap $tmpfile", # ATI video capture card - "vidtomem -f $tmpfile 2>- && mv $sgi_bogosity $tmpfile", # Silicon Graphics + "grab -type ppm -format ntsc -source 1 " . + "-settle 0.75 -output $tmpfile", # *BSD BT848 module + + "motioneye -j $tmpfile", # Sony Vaio MotionEye + # (hardware jpeg encoder) + + "vidtomem -f $tmpfile 2>&- && mv $sgi_bogosity $tmpfile", # Silicon Graphics );