Skripte mit der 6012er ?

Hi zusammen,

ich schaffe es nicht die 6012HD mit CGI-Befehle zu in VLC zu streamen bzw. im Browser anzusteuern. Ist das denn überhaupt möglich?
In der Anleitung zu den CGI-Befeheln steht ja auch:

The following Models are supported by the following commands below.
Model: IN-2905 (Videostream, Snapshot, Configuration)
Model: IN-2901 (Videostream, Snapshot, Configuration)
Model: IN-3010 (Videostream, Snapshot, Configuration, PAN/TILT, Automatic Patrol)
Model: IN-3001 (Videostream, Snapshot, Configuration)

Ich hatte gehofft, dass dies nur ein Altbestand im Einleitungstext ist…

Servus fufu,

Bei der neuen HD Serie ist ein neuer Chipsatz verbaut - entsprechend funktionieren die CGI Befehle auch nicht mehr mit IN-6012 HD / IN-5907 HD.

Um den RTSP Videostream der Kamera abzugreifen kann man z.B. folgenden Pfad im VLC Player eingeben:

rtsp://admin:instar@192.168.178.165/11 (IP Adresse der Kamera muß entsprechend ersetzt werden)

Weitere Infos findet man in der Schnellinstallationsanleitung im Kapitel „RTSP Streaming“.

INSTAR Support

Danke dir…

  • Funktioniert das auch über DNS?
  • Ist zukünftig eine Programmierebene für diese Geräte geplant?

Für den Zugriff über die DDNS Adresse kann man einfach die lokale IP austauschen und die CGI Befehle sind bereits verfügbar. Im folgenden hänge ich einmal die wichtigsten an:

VIDEO

rtsp://IP-Address:RTSP-Port/11 :: VLC Stream (geht nicht mit Benutzername / Passwort davor wie bei HTTP)
http://admin:instar@IP-Address:Port/iphone/11 :: Quicktime Stream
http://admin:instar@IP-Address:Port/tmpfs/snap.jpg :: Snapshot

PTZ

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=right :: Moves continuously right
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=left :: Moves continuously left
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=up :: Moves continuously up
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=down :: Moves continuously down
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=stop :: Stops moving camera-head

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=right :: Moves one step right
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=left :: Moves one step left
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=up :: Moves one step up
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=down :: Moves one step down

http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=home :: Go to Center Position
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=hscan :: Scan horizontal
http://IP-Address:Port/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=vscan :: Scan vertical

http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=1&-number=[0-7] :: set a position
http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=0&-number=[0-7] :: unset a position
http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=goto&-status=1&-number=[0-7] :: goto to a set position

IMAGE

http://IP-Address:Port/cgi-bin/hi3510/param.cgi?cmd=setimageattr :: Sets the Image Parameter

You can set the following parameters:

brightness :: [0 - 255] the bigger the value the brighter the image
saturation :: [0 - 255] the bigger the value the more saturation the image has
contrast :: [0 - 255] the bigger the value the more contrast the image has
hue :: [0 - 127] the bigger the value the more hue the image has
flip :: (on , off) flips the image
mirror :: (on , off) flips the image
scene :: (auto , indoor , outdoor) sets the white balance mode

http://IP-Address:Port/cgi-bin/hi3510/param.cgi?cmd=setimageattr&-brightness=0&-saturation=0&-contrast=0&-hue=0&-flip=off&-mirror=off&-scene=auto

WLAN

reset the parameter values
http://192.168.xxx.xxx./cgi-bin/hi3510/param.cgi?cmd=setwirelessattr&-wf_ssid=SSID&-wf_enable=0&-wf_auth=2&-wf_key=1234&-wf_enc=1&-wf_mode=0

IR-LED

http://192.168.178.87/cgi-bin/hi3510/param.cgi?cmd=setinfrared&-infraredstat=auto :: Sets IR LED’s to auto mode
http://192.168.178.87/cgi-bin/hi3510/param.cgi?cmd=setinfrared&-infraredstat=close :: Sets IR LED’s always inactive

ALARM

http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=1&-name=1 :: enables the md area 1
http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=0&-name=1 :: disables the md area 1
http://192.168.x.x/cgi-bin/hi3510/param.cgi?cmd=setioattr&-io_enable=1&-io_flag=1 :: enable / disable external alarm in to trigger recording

http://admin:instar@192.168.xxx.xxx/cgi-bin/hi3510/param.cgi?cmd=setmdattr&-enable=0&-name=1&cmd=setmdattr&-enable=0&-name=2&cmd=setmdattr&-enable=0&-name=3&cmd=setmdattr&-enable=0&-name=4

Moin Moin,

hey Cool. Damit könnt man ja schon mal rumspielen. Da ich eh auf der suche 'nach einem Feierabend-Spielprojekt war, würde sich meine neue 6012HD
ja anbieten :wink:

Gibt es für die CGI-Schnittstelle auch eine ausführliche Doku bzw. besteht auch die Möglichkeit, Parameter abzufragen (z.B. Aktuelle Position)?

Grüße aus Flensburg
Mike

Servus,

… besteht auch die Möglichkeit, Parameter abzufragen (z.B. Aktuelle Position)?

die aktuelle Position abzufragen, wäre wohl in diesem Preissegmetn etwas zu viel verlangt,
aber ich könnte spontan noch folgendes anbieten:

Positiosspeicher:

http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=1&-number=[0-7]“ :: set a position
http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=set&-status=0&-number=[0-7]“ :: unset a position
http://IP-Address:Port/cgi-bin/hi3510/preset.cgi?-act=goto&-status=1&-number=[0-7]“ :: goto to a set position

mit kaltem Gruss
aus Oberbayern

Hallo,

eigentlich müsste doch auf der Webseite (http://lindner.ms ganz unten) der Stream laufen oder? Kann jemand den Fehler sehen?

<OBJECT CLASSID=‚clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B‘ WIDTH=‚240‘ HEIGHT=‚196‘ CODEBASE=‚http://www.apple.com/qtactivex/qtplugin.cab‘ >
<PARAM name=‚SRC‘ VALUE=‚http://gast:gast@oliver.dd-dns.de:80/iphone/11‘>
<PARAM name=‚AUTOPLAY‘ VALUE=‚false‘>
<PARAM name=‚CONTROLLER‘ VALUE=‚true‘>
<PARAM name=‚KIOSKMODE‘ VALUE=‚false‘>
<PARAM name=‚volume‘ VALUE=‚60‘>
<PARAM name=‚LOOP‘ VALUE=‚false‘>
<param name=‚scale‘ value=‚toFit‘>
<PARAM name=‚CACHE‘ VALUE=‚true‘>
<EMBED SRC=‚http://gast:gast@oliver.dd-dns.de:80/iphone/11‘ WIDTH=‚240‘ HEIGHT=‚196‘ scale=‚toFit‘ volume=‚60‘ kioskmode=‚false‘ CONTROLLER=‚true‘ cache=‚true‘ AUTOPLAY=‚false‘ loop=‚false‘ PLUGINSPAGE=‚http://www.apple.com/quicktime/download/‘>
</EMBED>
</OBJECT>

Hallo,
kennt jemand die cgi Befehle für die Einstellungen der Fotoserie ?
Ich würde gern tagsüber alle „x“ Minuten ein Bild speichern und ab z.B. Sonnenuntergang nur noch alle „y“ Minuten. (Änderung des Zeitintervalls)
Das wollte ich in ein Script packen und „endlos“ laufen lasen - da ergibt sich die nächste Frage.
Wie ist das, merkt sich die 6012 die gespeicherten Positionen besser als die anderen Kameras, oder muss ich die 6012 (nicht) alle 24 Stunden neustarten ? (…da wäre der cgi Befehl (reset) wieder interessant.)
Achja, es ist doch bestimmt möglich per cgi Befehl die SD Karte zu formatieren:wink:

Danke schon mal für die Antworten und schönes WE.

felixs

Einfach hier einmal am Ende der Seite schauen: https://instar.de/de/c/faqs_h264_hd_gm_733/

Da ist dann der Link zu den Befehlen: https://instar.de/de/c/faq_cgi_befehle_gm_hd_792/

Und dort sind alle Funktionen drinnen. SD Karte, Fotoserie etc… :wink:

Hallo felixs,

schau doch auch mal hier wegen dem Reset: http://forum.instar.de/showthread.php?1718-Error-404-beim-Versuch-einen-Script-zu-starten&p=10804&viewfull=1#post10804

Gruß

hdrouin

…das ging ja fix. Dankeschön.

Gruß felixs