Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal marcello_dl's Journal: stv680 cam and mplayer

The cam (an old trust spycam 300) worked under ekiga or gqcam without problems, once the proper stv680 kernel module is installed.

for mplayer one must use the v4l driver specifying outfmt width and height, like this example

mplayer tv:// -tv driver=v4l:device=/dev/video1:outfmt=bgr24:width=320:height=240

Well the pic is upside down, can use -flip option or dunno turn the webcam upside down :)

"webcam" package is quite useful as a poor man cctv. here's a sample config

[ftp]
host = localhost
user = nobody
pass = xxxxxx
dir = /tmp
file = webcam.jpg
tmp = imageup.jpg
local = 1

[grab]
device = /dev/video1
width = 320
height = 240
delay = 1
wait= 1
norm = pal
quality = 75
trigger = 0

For complex stuff zoneminder.com ought to be the choice.

I have hardly ever known a mathematician who was capable of reasoning. -- Plato

Working...