vfl2, mjpg_streamer, shared memory probs
Posted: Tue Mar 09, 2010 12:55 am
I know there are loads of threads like this, but thing is, I think I read them all and it didnt help.
I'm usig ArchLinux, and my zoneminder version is 1.24.2(i guess its the last one).
I have a Microsoft Lifecam vx-1000 and I cant get it to work(it has been something like 7 hours trying and reading all over the web).
I tryed using videoforlinux v2 and v1 and loads of combinations and it didnt worked.. but with cheese it does!
So I read about mjpg_streamer, and I gave it a try. in the http://localhost:8080/?action=stream it works great, but when I configure it in zoneminder it doesnt:S
Source: remote
Function: Monitor
enabled: checked
protocol: http
method: simple
hostname: localhost
remove host port: 8080
remote host path: /?action=stream
image colours: 24bits colour
capture width 320
height: 240
orintation:normal
mjpg_streamer:
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 5
i: Format............: MJPEG
o: www-folder-path...: disabled
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
other problem that I'm facing is that I get shared memory errors (at first I didnt but now I do). and I tryed everything and it didnt solved the problem.
I changed /etc/sysctl.conf by setting kernel.shmall and shmmax to 1024000 (since I have 4GB) and it didnt worked (I rebooted yes). I also tryed bigger numbers and it didnt work too..
can anybody give me some help? if there is any info missing just tell me
I'm usig ArchLinux, and my zoneminder version is 1.24.2(i guess its the last one).
I have a Microsoft Lifecam vx-1000 and I cant get it to work(it has been something like 7 hours trying and reading all over the web).
I tryed using videoforlinux v2 and v1 and loads of combinations and it didnt worked.. but with cheese it does!
So I read about mjpg_streamer, and I gave it a try. in the http://localhost:8080/?action=stream it works great, but when I configure it in zoneminder it doesnt:S
Source: remote
Function: Monitor
enabled: checked
protocol: http
method: simple
hostname: localhost
remove host port: 8080
remote host path: /?action=stream
image colours: 24bits colour
capture width 320
height: 240
orintation:normal
mjpg_streamer:
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 5
i: Format............: MJPEG
o: www-folder-path...: disabled
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
other problem that I'm facing is that I get shared memory errors (at first I didnt but now I do). and I tryed everything and it didnt solved the problem.
I changed /etc/sysctl.conf by setting kernel.shmall and shmmax to 1024000 (since I have 4GB) and it didnt worked (I rebooted yes). I also tryed bigger numbers and it didnt work too..
Code: Select all
....
03/09/2010 00:52:50.860418 zmwatch[10665].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
03/09/2010 00:53:00.860943 zmwatch[10665].ERR [Can't get shared memory id '7a6d0004', 4: No such file or directory]