Announcement

Collapse
No announcement yet.

Camera on RR

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Camera on RR

    hello , i have a dvr with 4 camera in my home and i want see the 4 camera on screen of RR , anyone can help me ...

    i only need see the 4 camera , dont want any funtion of play , record , or dvr funtion , only want see the 4 camera ..

    the camera i see via web with ip adress internal and ip external .....

    thanks mikee

  • #2
    Can't you just use the dvr's web interface on a web page in RR SNO

    Comment


    • #3
      i think so , but i want something more directly , maybe with any scritp with autoit , when i click the button on camera , open directly without i go to web page

      Comment


      • #4
        I think that the best way is to use 4 minicam.exe and embbed them into this autoit script !
        Code:
        #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
        #AutoIt3Wrapper_outfile=4cam.exe
        #AutoIt3Wrapper_Compression=4
        #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
        #include <GUIconstantsEx.au3>
        #include <WindowsConstants.au3>
        #include <WinAPI.au3>
        
        $hGui = GUICreate('cams', 800, 508, 100, 100, BitOR($WS_POPUP, $WS_SIZEBOX, $GUI_SS_DEFAULT_GUI, $WS_CLIPCHILDREN))
        GUISetState()
        
        ; Open minicam
        Run("minicam.exe")
        WinWaitActive("CuriousTech - MiniCam 1")
        
        ; Resize MINICAM to fit
        $hminicam = WinGetHandle("CuriousTech - MiniCam 1")
        WinMove($hminicam, "", 0, 0, 400, 254)
        Sleep(0)
        
        ; Open minicam
        Run("minicam.exe")
        WinWaitActive("CuriousTech - MiniCam 2")
        
        ; Resize MINICAM to fit
        $hminicam1 = WinGetHandle("CuriousTech - MiniCam 2")
        WinMove($hminicam1, "", 0, 255, 400, 254)
        Sleep(0)
        
        ; Open minicam
        Run("minicam.exe")
        WinWaitActive("CuriousTech - MiniCam 3")
        
        ; Resize MINICAM to fit
        $hminicam2 = WinGetHandle("CuriousTech - MiniCam 3")
        WinMove($hminicam2, "", 400, 0, 400, 254)
        Sleep(0)
        
        ; Open minicam
        Run("minicam.exe")
        WinWaitActive("CuriousTech - MiniCam 4")
        
        ; Resize MINICAM to fit
        $hminicam3 = WinGetHandle("CuriousTech - MiniCam 4")
        WinMove($hminicam3, "", 400, 255, 400, 254)
        Sleep(0)
        
        ; Set minicam as child of our GUI
        $hOriginalParent = _WinAPI_SetParent($hminicam, $hGUI)
        $hOriginalParent1 = _WinAPI_SetParent($hminicam1, $hGUI)
        $hOriginalParent3 = _WinAPI_SetParent($hminicam2, $hGUI)
        $hOriginalParent4 = _WinAPI_SetParent($hminicam3, $hGUI)
        
        
        While 1
            Switch GUIGetMsg()
                Case $GUI_EVENT_CLOSE
                    ;Reset minicam to original parent
                    _WinAPI_SetParent($hminicam, $hOriginalParent)
                    Sleep(500)
                    WinClose($hminicam)
                    Exit
            EndSwitch
        WEnd

        Comment


        • #5
          pierro my friend , that software for camera is for webcam , for usb , my cameras are camera connect to dvr alone , dont connect to pc , only for html i see ....
          Last edited by mikeeps2; 05-03-2013, 08:03 AM.

          Comment


          • #6
            hi , i find the way for open the camera ip web in RR , i search a video for make a autoit autologin script , and i make my first auto script .. is little but i am happy for this , but when i open the script enter automatic with login and password to camera ip web but when i try to use with RR the screen of internet explorer no put inside RR , how i can fix that , other think i have firefox in this pc with RR but the script i make with IE , i dont know if that is a problem ..

            this is the script


            #include <IE.au3>


            Call ("signIn")

            Func signIn ()
            Global $oIE = _IECreate ("http://xx.xx.xx.xx:1201")

            Local $username = _IEGetObjbyName ($oIE, "usr")
            Local $password = _IEGetObjbyName ($oIE, "pwd")
            Local $button = _IEGetObjbyName ($oIE, "loginmobile")

            _IEFormElementSetValue ($username,"admin")
            _IEFormElementSetValue ($password,"123456")

            _IEAction ($button, "click")


            EndFunc
            Attached Files

            Comment


            • #7
              Why not to use RRWebBrowser ?
              Into your skin , you need to add a fence:
              AX,0,76,800,466,"OPT_NOFOCUS"

              And you need to load your Autoit script like that:
              Load;yourscreen.skin||RUN;$SKINPATH$Scripts\yoursc ript.exe;scriptguiname

              Comment


              • #8
                hi my friend pierro , i make that same , but dont open inside of RR screen , but i am search the way of add to my script that have your own webbrowser

                Comment


                • #9
                  Try this plugin made by mitchjs http://www.mp3car.com/rr-released-pl...r-plug-in.html

                  Comment


                  • #10
                    pierro my friend , i find the way for add the webbrowser ,look better , now i search how getout the border .... now when i open the camera , open fast
                    Attached Files

                    Comment


                    • #11
                      I think that will be impossible to getout the border because the web page is defined like that !

                      Comment


                      • #12
                        my friend yes the border white i think is impossible that is part of the web page ,for getout the border of menu of web page the command is $WS_POPUP

                        Comment

                        Working...
                        X