sgltv: Simple openGL TV viewer

sgltv is a very simple black and white TV viewer which should work under any linux box. It uses V4L, OSS sound driver, and opengl (with glut). Sources: to compile and execute do the following commands
gunzip sgltv-0.04.c.gz
gcc -o sgltv -s -O3 -Wall sgltv-0.04.c -L/usr/X11R6/lib -lglut -lGLU -lGL -lpthread 
./sgltv
You need the Opengl and GLUT libraries. (you must have the libMesaglut-devel package).
The syntax of the program is:
sgltv [ glut_options ] [ -decfull 0|1|2 ] [ -freq frequency ] [ -norm norm_number ]
      [ -input input_number ] [ key file ]
glut_options:
      [ -display DISPLAY ] [ -geometry WxH+X+Y ] [ -iconic ]
      [ -indirect ] [ -direct ] [ -gldebug ] [ -sync ]
Hosted by www.Geocities.ws

1