Set Preset DOM telecamera

Support and queries relating to all previous versions of ZoneMinder
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Set Preset DOM telecamera

Post by virgin »

Hi Phil.
Preset for DOM telecamera working only for 1 position.
Can you control this?
Reguards
Anatoliy.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I don't exactly understand what you are asking. Can you explain in more detail?

Phil
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Set the given preset to the current location

Post 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".
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Ok, I see now. I'll check!

Phil
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post 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" :)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post by virgin »

Phil,
I have resolved this problem.
Thanks you for your attention.
Regards,
Anatoliy.
devel
Posts: 5
Joined: Tue May 24, 2005 2:10 pm

Post 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
virgin
Posts: 24
Joined: Sat Jul 12, 2003 9:21 am

Post 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.
Locked