Announcement

Collapse
No announcement yet.

embed ip camera

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

    embed ip camera

    Hi,
    I am trying to embed an ipcamera in hstouch. I created an image, set the image url to : http://192.168.1.21/video.mjpg and set the isvideo - true.
    As you noticed, it is a internal ip address , but for the moment this is ok - I will use it only from my lan. The camera is streeming ok and I can always view its streem from an html page using the following line <iframe src ="http://192.168.1.21/video.mjpg" width="1280" height="720"> or I can access it directly typing in any browser address 192.168.1.21 ( and here I can see the camera and the control panel with all the settings).

    After I input the url in ImageURLNormal field in Hstouch Designer the computer freeze for 10 secs and then I get the following message in HS activity log: 11/3/2012 8:04:31 PM - HSTouch Server - Downloading image file http://192.168.1.27:80/video.mjpg aborted, taking too much time.

    The camera I use is an Vivotek IP8362 and supports simultaneous multiple streams like:
    H.264 streaming over UDP, TCP, HTTP or HTTPS
    H.264/MPEG-4 multicast streaming
    MPEG-4 multicast streaming
    MJPEG streaming over HTTP or HTTPS.

    What I am doing wrong ?
    Thanks,
    Andrei

    #2
    I don't believe you can stream moving jpegs, I think that it only supports conventional static image types. You do not get a streaming picture rather an automatically refreshed image.

    Try see if your camera supports image snapshots by calling a URL.

    Comment


      #3
      No, I am quite sure you can streem live images.

      Comment


        #4
        I've checked and apparently my cams do not have the snapshot broadcast option. Does the HStouch work with RTSP ?

        Comment


          #5
          What is RTSP?
          💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

          Comment


            #6
            Originally posted by Rupp View Post
            What is RTSP?
            Real Time Streaming Protocol
            ... and no, I don't think HStouch supports RTSP. Only "still images".
            HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
            Running on Windows 10 (64) virtualized
            on ESXi (Fujitsu Primergy TX150 S8).
            WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

            Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

            Comment


              #7
              rtsp:// is used to stream just about anything in VLC. I think you can also attach to multicasts for IPTV-like services.
              HS4Pro on a Raspberry Pi4
              54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
              Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

              HSTouch Clients: 1 Android

              Comment


                #8
                Yep, with rtsc you can stream to almost any videoplayer software. It works great especially on android mobile phones.
                Still my question remains: how can I embed my cameras to hs touch ?
                Thanks for help,
                andrei

                Comment


                  #9
                  I don't for the Wintel HSTouchscreens. You could probably do similiar for Android. I know I could do similiar running HSTouch for Linux.

                  Its a kind of "mickey mouse" solution that I use. I built an HSTouch screen which is really just VLC control buttons on the left in a column. To the right is a custom VLC screen positioned just right so it "appears" to be embedded in HSTouch where as its not. That said I can stream live TV this way too. (with MythTV)
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                  HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                  HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                  HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                  Comment


                    #10
                    Thanks Pete. Sorry to be a nuisance but I am not familiar with VLC. How do I create a custom VLC screen in HSTouch?

                    Comment


                      #11
                      Andrei,

                      You utilize the command line features.

                      You just configure a HSTouch button to run VLC in a custom sized and positioned window outside of HSTouch via command line.

                      I have installed VLC on the Android 2.2 OS. It works but not for HD.

                      That said 800Mhz won't cut it for HD video; but you can stream SD video just fine with it.

                      At 1.2Ghz I can stream HD but not broadcast HD so far.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                      Comment


                        #12
                        Originally posted by Pete View Post
                        Andrei,

                        You utilize the command line features.

                        You just configure a HSTouch button to run VLC in a custom sized and positioned window outside of HSTouch via command line.

                        I have installed VLC on the Android 2.2 OS. It works but not for HD.

                        That said 800Mhz won't cut it for HD video; but you can stream SD video just fine with it.

                        At 1.2Ghz I can stream HD but not broadcast HD so far.
                        Thank you Pete. Can you please copy/paste your command line? From what I've read it should be something like : "hsc2 [parameters] -h HOST".
                        And in order to run this line you created a button in HSTouch and on the "Action When Pressed" parameter you selected "Action type"=Misc. Lounch Application and "Application Path" = command line. Is that correct ?

                        Comment


                          #13
                          You should be able to stream straight to HSTouch, it streams video fine you just need to call a web page on your camera server that has your cam settings in the web page (.htm). If you can open it your device browser then it should show fine in HSTouch as a web page in a text box with IsHtml checked as true. When you stream single jpg's to a client they all go through your Homeseer server and it can really effect the machine, with a stream inside a web page it is called from and sent straight to the client bypassing your server and uses the device's web browser to process. I use BlueIris and have different web pages for each camera and others with multiple views, if you can access your system from the web then it should work.
                          John

                          Comment


                            #14
                            Personally, I've had no luck integrating video within an Android client. Not to metnion it cripples the HSTouch client Eventually, I stopped wasting my time and created a button within HS Touch to Launch an Application which in my case launches IP CAM VIEWER. Incidentally, by pressing the Android Back button while in IP cam viewer, you'll return to HS Touch.

                            Not a bad work around considering IP Cam Viewer is about the best video survellience app on the Android platform and I get to see all 7 of my cameras immedietetly something I could never get working in HS Touch. Yeah, I know, it woud be nice to have devices on the same screen as video without having to switch screens but this just works and works well.

                            Mark

                            Comment


                              #15
                              Mark,

                              So you are able to see straming video on your android with IP CAM Viewer?

                              What is the command line that you are using to launch IP camera viewer?
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                              Comment

                              Working...
                              X