I have to configure the conf file and I'm getting syntax error becous of input.
Code: Select all
pi@webcam:~/webcam $ webcam webcam.conf
reading config file: webcam.conf
webcam.conf:24: syntax error
invalid input: composite1
Code: Select all
Here is an sample config file (the given values are the defaults):
[grab]
device = /dev/video0
driver = libv4l
text = "webcam %Y-%m-%d %H:%M:%S"
infofile = filename
fg_red = 255
fg_green = 255
fg_blue = 255
width = 320
height = 240
delay = 3
wait = 0
input = composite1
norm = pal
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 75
trigger = 0
once = 0
Ps:
Before I start webcam program, I run this command (fond this on net):
Code: Select all
sudo modprobe | bcm2835-v4l2I installed this program because I want to use rpi with Picam for webcam, transmitting a picture.jpg every minute on server of my webpage