Page 1 of 2

Set Preset DOM telecamera

Posted: Tue Apr 12, 2005 1:55 pm
by virgin
Hi Phil.
Preset for DOM telecamera working only for 1 position.
Can you control this?
Reguards
Anatoliy.

Posted: Thu Apr 14, 2005 11:00 am
by zoneminder
I don't exactly understand what you are asking. Can you explain in more detail?

Phil

Set the given preset to the current location

Posted: Fri Apr 15, 2005 9:51 am
by virgin
Hi Phil.
In camera control the preset of DOM telecamera working only for 1 location. If you select "telecamera->control->presets->set" end select "Preset 2", "Preset 3"... zmcontrol.pl send the command for "Preset 1".

Posted: Mon Apr 18, 2005 4:08 pm
by zoneminder
The sort of detail I need is what protocol you are using for your camera, what the message sent is, what it is supposed to be for your protocol and how you have defined the capabilities. The PTZ support is really to provide a generic web interface whilst allowing people to add camera support themselves.

Phil

Posted: Tue Apr 19, 2005 10:57 am
by virgin
Phil.
I'm using the samsung protocol with zmcontrol.pl file wrote by my self.The telecamera is samsung SCC-643(P). But non important. I think the error is in the file .php.When you have tride to set the "preset" location the variable "$preset" in function presetSet() is not changing.
regards,
Anatoliy.

Posted: Thu Apr 21, 2005 9:17 pm
by zoneminder
Ok, I see now. I'll check!

Phil

Posted: Fri Apr 22, 2005 9:13 am
by virgin
Well Phil.
I have the little problem with asf streaming too.
I have installed zm-1.21.0 (with option for ffmpeg "-strict -1"), ffmpeg (version 0.4.9-pre1, build 4748, compilled with --enable-shared) but can see only 2 telec. with client windows XP SP2. Can you halp me, please?
Regards,
Anatoliy.

P.S.: i'm wating the pacth for "set preset" :)

Posted: Mon Apr 25, 2005 12:52 pm
by zoneminder
Can you post the debug you are getting your zmcontrol-<your protocol>.log file? Also you mention you are running a modified script file, I'd be interested to see that as well.

I don't quite understand your other problem, you mention you are seeing only two cameras. Which view/screen are you referring to and how many cameras should there be etc. Any error messages or screenshots you have will help.

Phil

Posted: Mon Apr 25, 2005 7:01 pm
by virgin
Phil.
I have modified the "zmcontrol-pelco-d.pl" file with out cahnge anithing. I have changed only @msg string.
The Log file:

--device=/dev/ttyS1 --address=1 --preset 1 --command=preset_goto
Goto Preset 1
Tx: a0 00 01 03 19 01 ff ff e3 ff [10]
--device=/dev/ttyS1 --address=1 --command=tele
Zoom Tele
Tx: a0 00 01 01 20 00 00 00 dd ff [10]
--device=/dev/ttyS1 --address=1 --command=tele
Zoom Tele
Tx: a0 00 01 01 20 00 00 00 dd ff [10]
--device=/dev/ttyS1 --address=1 --command=wide
Zoom Wide
Tx: a0 00 01 01 40 00 00 00 bd ff [10]
--device=/dev/ttyS1 --address=1 --command=wide
Zoom Wide
Tx: a0 00 01 01 40 00 00 00 bd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --panspeed=14 --tiltspeed=7 --command=move_con_upleft
Move Up/Left
Tx: a0 00 01 01 00 05 0e 07 e3 ff [10]
--device=/dev/ttyS1 --address=1 --command=move_stop
Stop
Tx: a0 00 01 01 00 00 00 00 fd ff [10]
--device=/dev/ttyS1 --address=1 --panspeed=6 --command=move_con_right
Move Right
Tx: a0 00 01 01 00 02 06 00 f5 ff [10]


The second problem:
I have the system with 4 telecam.
gcc 3.4.1
ffmpeg CVS version 0.4.9-pre1, build 4752 compilled with "--enable-shared" option
libavcodec 4752
libavformat 4623
zm 1.21.0 recompilled with new ffmeg with option "-strict -1" for ffmpeg
All works fine with all type of client (windows XP,2000,98,ME). But with winXP SP2 I can see only 2 telecam. in asf-streaming mode(montage). I can not understand is it the bug of zm or ffmpeg and can not find the way for resolve this problem.
The log file of zm are ok. Windows media player after 2-3 min. for non working telecam. says: cannot find URL of server...
With mplayer2 I can see all 4 telec. perfectly.
Can you check this, please.
Regards,
Anatoliy.

Posted: Wed Apr 27, 2005 10:47 pm
by zoneminder
Thanks. I will have another look. What browser are you using to view the streams? I know FireFox works much better when you configure it to allow more connection streams at one time. IE may have the same limitation, though with IE I don't know how to change it.

Phil

Posted: Thu Apr 28, 2005 8:33 am
by virgin
Phil.
I'm using IE 6.0 SP2. What kind of change I must to do in FireFox for more connection streams?
Regards,
Anatoliy.

Posted: Tue May 03, 2005 11:51 am
by zoneminder
I can't remember the details off hand. I think if you search the forums for FireFox and/or 'pipeline' or 'pipelining' you should get some useful matches.

Phil

Posted: Thu May 05, 2005 12:50 pm
by virgin
Phil,
I have resolved this problem.
Thanks you for your attention.
Regards,
Anatoliy.

Posted: Tue May 24, 2005 2:25 pm
by devel
[quote="virgin"]Phil.
I have modified the "zmcontrol-pelco-d.pl" file with out cahnge anithing. I have changed only @msg string.
The Log file:

--device=/dev/ttyS1 --address=1 --preset 1 --command=preset_goto
Goto Preset 1
Tx: a0 00 01 03 19 01 ff ff e3 ff [10]


Hi i have samsung protocol but is9 byte not 10. Ca you confirm?
Thanks

Posted: Thu May 26, 2005 10:28 am
by virgin
Hi.
Yes is 9 byte but working perfectly.
Do you know how can I change the zoom speed? I cannot find nothing for this.
Regards.
Anatoliy.