Set Preset DOM telecamera
Set Preset DOM telecamera
Hi Phil.
Preset for DOM telecamera working only for 1 position.
Can you control this?
Reguards
Anatoliy.
Preset for DOM telecamera working only for 1 position.
Can you control this?
Reguards
Anatoliy.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Set the given preset to the current location
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".
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".
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
Phil
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.
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.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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"
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"
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
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
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.
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.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
[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
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