2 camera picture mixed up

Forum for questions and support relating to the 1.24.x releases only.
Locked
gchris
Posts: 3
Joined: Mon May 04, 2009 6:42 am

2 camera picture mixed up

Post by gchris »

Hi!

I install the last weekend ZoneMinder 1.24.1 powerful manual the wiki page , Ubuntu 8.10.Work fine with one camera, monitoring, modetect, recording.
And connect the new camera & setting up correctly, & viewing the camera1 and camera2, the pictures is wrong. Like that as if the two pictures would get mixed up, and vibrate. Camera1 & camera2 max. 5fps.What may be his trouble.
Seems me so if linking camera2 pictures & camera1 pictures. I checked the camera2 settings, and the linked monitor box is not empty "camera1" but not delete this. Check the msql database, and the linked monitor filed is empty.Delete the camera2, and check the pictures, the picture is correct. Added the new camera the problem same thing. The system works with only 1 camera.What is wrong??


I tried the ZoneMinder LiveCD v1.22.2 I do not have a problem like this there.Testing one,two,three and four camera.The linked camera box is empty all two, three, four camera.

My setup :
Ubuntu 8.10 desktop
Pico2000 - 4 port card, one chip bt878

Sorry my english!
Some idea?
User avatar
henriquejf
Posts: 77
Joined: Tue Feb 10, 2009 12:01 pm
Location: Brazil

Post by henriquejf »

your card shares the same chip for all inputs, so :

"...If you have a bttv card (eg. bt878) with 4 inputs sharing a single chip, you may wish to adjust CAPTURES_PER_FRAME under options>config tab to a value like 2 ou 4 instead of the default 1 value, accordingly; That may solve problems related to ** repeated or blank images ** across different monitors; ....",

This is the contribution I have posted on the wiki under

http://www.zoneminder.com/wiki/index.php/Pico2000

and i think is what you need to adjust;

bye
-----------------------
Henrique Barbosa
Consultant
Juiz de Fora, MG - Brazil
gchris
Posts: 3
Joined: Mon May 04, 2009 6:42 am

Post by gchris »

henriquejf wrote:your card shares the same chip for all inputs, so :

"...If you have a bttv card (eg. bt878) with 4 inputs sharing a single chip, you may wish to adjust CAPTURES_PER_FRAME under options>config tab to a value like 2 ou 4 instead of the default 1 value, accordingly; That may solve problems related to ** repeated or blank images ** across different monitors; ....",

This is the contribution I have posted on the wiki under

http://www.zoneminder.com/wiki/index.php/Pico2000

and i think is what you need to adjust;

bye
THX!
Work fine perfect :lol: and generate video not work :cry:
zmvideo.log:

Code: Select all

05/04/09 20:34:39.672409 zmvideo[6679].INF [Creating video file Event-1-r1-s1.mpg for event 1]
05/04/09 20:34:39.693418 zmvideo[6679].ERR [Unable to generate video, check /var/www/events/1/1/ffmpeg.log for details]
events/1/ffmpeg.log

Code: Select all

/usr/local/bin/ffmpeg: symbol lookup error: /usr/local/bin/ffmpeg: undefined symbol: avformat_alloc_context
I don't know we trouble, this worked once already though, I prepared a video in the evening yesterday.
:shock:
User avatar
henriquejf
Posts: 77
Joined: Tue Feb 10, 2009 12:01 pm
Location: Brazil

Post by henriquejf »

good that you have fixed the camera problems;

about the generate video, i have the same problem myself on zm 1.24.1, and it worked before this version; I think this one will be easy to fix, maybe a permission issue, but i have not succeeded until this moment;

i suggest you close this topic to SOLVED and than search the forums , wiki and web for this new problem, so that we keep things organized okay ?

keep going !!!

TIP: try to export the video on other format if available (zip, gzip, etc...); and see what happens; I have noticed that exporting with zip solved the problem for me before;
-----------------------
Henrique Barbosa
Consultant
Juiz de Fora, MG - Brazil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Actually try it with v4l version 1 and v4l_multi_buffer disabled. Not really sure the above method is really a viable fix.
User avatar
henriquejf
Posts: 77
Joined: Tue Feb 10, 2009 12:01 pm
Location: Brazil

Post by henriquejf »

Actually try it with v4l version 1 and v4l_multi_buffer disabled.

I have tested my bt878 card (that shares 4 inputs on one chip) with configurations quoted, and it also worked for me; as I didnt know about this possibility before, ill be changing the references i have done in the wiki to reflect this new suggestion, wich comes from a safer source !!!

TIP: change not just one but all your cameras to v4l v1 at once, or you may experience weird things..huuhuhuhuhuuuhuhuu


Tks cordel;
-----------------------
Henrique Barbosa
Consultant
Juiz de Fora, MG - Brazil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Just hate to see the performance impact that will make by discarding frames if you don't need to. :)
gchris
Posts: 3
Joined: Mon May 04, 2009 6:42 am

Post by gchris »

henriquejf wrote:good that you have fixed the camera problems;

about the generate video, i have the same problem myself on zm 1.24.1, and it worked before this version; I think this one will be easy to fix, maybe a permission issue, but i have not succeeded until this moment;

i suggest you close this topic to SOLVED and than search the forums , wiki and web for this new problem, so that we keep things organized okay ?

keep going !!!

TIP: try to export the video on other format if available (zip, gzip, etc...); and see what happens; I have noticed that exporting with zip solved the problem for me before;
Reinstalling all, and try converting video.
Converting work fine.
:P
After the converting, view/download/delete click the view,
The Totem player starts but not play, down wants to pour a gstreamer plugin.After downloading play the video.
I'm happy how everything functions properly.
Restarting the system and check again.
The video prepared before playing, but cannot prepare new one already.
The gstermer plugin ruins it.
How to uninstall this, and a what kind of player I shall put up?
VLC?
:oops:
User avatar
henriquejf
Posts: 77
Joined: Tue Feb 10, 2009 12:01 pm
Location: Brazil

Post by henriquejf »

Just hate to see the performance impact that will make by discarding frames if you don't need to.
Wiki updated to reflect mr. cordel´s suggestion

http://www.zoneminder.com/wiki/index.php/Pico2000
-----------------------
Henrique Barbosa
Consultant
Juiz de Fora, MG - Brazil
Locked