Usb camera and ip camera help

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Usb camera and ip camera help

Post by flat4 »

I have search and looked thru a few posts trying to get a fix but have not found one.

I have a good working install of ZM on Ubuntu Lamp server

I have a Logitech usb camera ( model v-UD4, was free) and a Axis 2100.

I can connect and view video on the usb camera but I get a good pictures and then a black screen with some static at the top of the screen and then a clear picture. It does this continually and when it recording it saves just like that a clear picture and then a black one and so on and so forth. I have tried different screen sizes, different FPS (from 1 to 8 ) still does this,

As for the ip camera, i can go to the camera and view it on a browser but when I set it up on ZM the source link stays red and no picture.

Last when I tried to export a video it told me that ffmpg or whatever is called could be executed, do I need to download and install that module?

Thanks for your help.
Ubuntu Lamp Server 7.04
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you need to setup your monitors so it can view your cameras, forget the usb for now as they are always problematic, lets concentrate on the ip cam
What is it and how is your monitor currently configured
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Post by flat4 »

its configured as follows

Set to monitor
the source path is http://172.16.4.188
Image size is 600x520

I have also tried .188:80 at the end.


I have not configure anything else. I have modify the permissions so all devices have access.
Ubuntu Lamp Server 7.04
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Source path should be just the IP of the Cam, so drop the http://
User avatar
AmmarossDanan
Posts: 19
Joined: Tue Jul 03, 2007 10:05 pm
Location: Salt Lake, UT, US

Post by AmmarossDanan »

I have an Axis 2100 on my camera network. It was a bit rough setting it up, but here's what I use:

Code: Select all

Remote Host Name: <user>:<pass>@<ipaddress>
Remote Host Port: 80
Remote Host Path: /axis-cgi/jpg/image.cgi?resolution=320x240
Remote Image Colors: 24 bit color
Capture Width: 320
Capture Height: 240
These settings will actually work for Axis 210 and Axis 211 cameras as well, and probably most other ones for that matter...

Be sure to update the firmware for the 2100. They're at 3.40 right now, I believe.
Ammaross Danan
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Post by flat4 »

will try that
Ubuntu Lamp Server 7.04
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Post by flat4 »

AmmarossDanan wrote:I have an Axis 2100 on my camera network. It was a bit rough setting it up, but here's what I use:

Code: Select all

Remote Host Name: <user>:<pass>@<ipaddress>
Remote Host Port: 80
Remote Host Path: /axis-cgi/jpg/image.cgi?resolution=320x240
Remote Image Colors: 24 bit color
Capture Width: 320
Capture Height: 240
These settings will actually work for Axis 210 and Axis 211 cameras as well, and probably most other ones for that matter...

Be sure to update the firmware for the 2100. They're at 3.40 right now, I believe.
That worked!!
Ubuntu Lamp Server 7.04
User avatar
flat4
Posts: 7
Joined: Tue Jul 10, 2007 2:33 pm

Post by flat4 »

At the end of the day of recording, I want to export the video to be able to burn on a cd or store on a networl drive for later review.

I like the mpeg format, when I try to export I get the following error

Warning: fopen(temp/zmFileList.txt) [function.fopen]: failed to open stream: Permission denied in

What so I have to fix.
Ubuntu Lamp Server 7.04
greko
Posts: 3
Joined: Mon Jul 16, 2007 11:56 am

Post by greko »

Hello,
flat4 wrote:(...)

Warning: fopen(temp/zmFileList.txt) [function.fopen]: failed to open stream: Permission denied in

What so I have to fix.

Go to ZoneMinder directory with PHP files.

Right there you should find "temp" directory.

Then just run this command as root:

Code: Select all

chmod -R 777 temp
In this way you will set proper privileges to the temp dir.

This should help you.

BTW You may be interested in this small contribution that I just did:

http://www.zoneminder.com/forums/viewtopic.php?t=9795

Greetings,
Greko
Locked