IPCamViewer for Enigma2

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...


-> Aktuell bereiten wir das Upgrade auf die aktuelle Version 6 von Woltlab vor.
  • All credit for this plugin goes to shumifan50


    A plugin for Enigma2 that allows viewing and control of IP based security cameras. It allows viewing and pan/tilt/zoom of connected cameras. Viewing supports Picture-in-Picture while watching TV, even if the STB does not have more than one decoder (e.g. DM800, DM500HD and VU+DUO). It also allows viewing multiple cameras fullscreen (4 cams at a time). PIP position and size controlled from remote.


    The camera has to be IP based, use the HTTP protocol and must support a snapshot interface rendering a JPEG image. Security supported is the HTTP basic security.


    Tested with Foscam security cameras and Marmitek robocam IP21


    For further information see documentation inside zip!

  • Does anyone know if that is the right snapshot command for an Axis cam?
    {command}{axis.snapshot}{/view/snapshot.shtml?picturepath=/jpg/1/image.jpg}
    As an Enigma2 restart is required after every (unsuccessful) test, debugging is a bit time consuming.


    Does anyone know if https is supported yet?


    Thx

  • try this




    Code
    http://IP-Of-Cam:port/axis-cgi/jpg/image.cgi?resolution=640x480&camera=1&compression=50


    nierotter


    tell us the result

  • So I should enter this command line right?


    {command}{axis.snapshot}{/axis-cgi/jpg/image.cgi?resolution=640x480&camera=1&compression=50}

  • klingt ja interessant..
    wüsste gern ob das auch mit einer viviotek pz7152 funktioniert..
    als protokoll hätte ich rtsp (als format endung *.sdp)
    und als jpeg die format endung *.mjpg


    vielleicht kann mir ja mal jemand helfen und paar infos geben

    2x Dm 8000, Ds409, Qnap TS-459 Pro II, SPF-107H,Onkyo TX NR-509,Teufel Consono 35,PS3,Fritzbox 7270,7390,Wii,XboX1,Down 50 Mbits, Up 10 Mbits

  • Zitat

    Original von moofy
    So I should enter this command line right?


    {command}{axis.snapshot}{/axis-cgi/jpg/image.cgi?resolution=640x480&camera=1&compression=50}


    try it :) I dont have this plugin installt....


    Vivotek kenne ich nur die alten... und bei denen ist es


    Code
    http://ip-de-cam:port/cgi-bin/video.jpg
  • hallo..
    bei mir würden die pfade so aussehen..


    If the stream1 is using MPEG-4, the default path for MPEG-4 is rtsp://<IP>:<rtsp port>/live.sdp
    If the stream1 is using Motion-JPEG, the default path for MJPG is http://<IP>:<http port>/video.mjpg
    If the stream2 is using MPEG-4, the default path for MPEG-4 is rtsp://<IP>:<rtsp port>/live2.sdp
    If the stream2 is using Motion-JPEG, the default path for MJPG is http://<IP>:<http port>/video2.mjpg



    gibts da ne möglichkeit dafür oder eher nicht.. wäre prima wenn das gänge

    2x Dm 8000, Ds409, Qnap TS-459 Pro II, SPF-107H,Onkyo TX NR-509,Teufel Consono 35,PS3,Fritzbox 7270,7390,Wii,XboX1,Down 50 Mbits, Up 10 Mbits

  • Wie obn schon gesagt wurde, das wird so nicht gehen. Du brauchst den Pfad zu einem "snapshot" also die Adresse für ein einzelnes jpg


    Nierotter

  • Servus!
    Waiting for a long time for such plugin! :hurra:


    Unfortunatelly for me, with my dm800 and GP3 is not working yet :loudly_crying_face:
    Is listed in plugin list, but when selected, I have only gears running...
    I tried to modify IPCamViewer.conf through DCC for my Axis cam but no success.


    Any help would be very much appreciated!

  • Hi moofy,


    the following lines I found on vivotec dot com support/faq.php?faqcon=160&catagory=url recently:
    it's not testet by myselves.
    You can type URL command http://<IP of your camera>/cgi-bin/video.jpg to get the snapshot.


    If you are using our new 7000 series and 8000 series cameras or video server, you can type another URL command http://<IP address of your device>/cgi-bin/viewer/video.jpg to get the snapshot.


    franky


  • Hi franky,


    that is what I tested:


    IPCamViewer.conf

    Code
    {command}{cam.snapshot}{/jpg/image.jpg} 
    {command}{cam.protocol}{http://} 
    {camera}{IP Address:Port}{cam}{name}{user}{pass}


    Without success until now. The string works fine in a web browser.
    The IPCamViewer documentation says that theese three lines are required.


    Cheers

  • also gehts hier um snapshots?
    das müsste die pz7152 von viviotek ja auch machen...
    in welchen intervall werden die aktualisiert?

    2x Dm 8000, Ds409, Qnap TS-459 Pro II, SPF-107H,Onkyo TX NR-509,Teufel Consono 35,PS3,Fritzbox 7270,7390,Wii,XboX1,Down 50 Mbits, Up 10 Mbits

  • FINALLY!!! Oh, this is great.

    checking for long long... yes
    checking for long double... yes
    +++ Divide By Cucumber Error. Stopping. +++

  • Zitat

    Original von mamba0815
    FINALLY!!! Oh, this is great.


    Can you post vour *.conf for all users please ?
    So we can save any conf for different ipcams.
    You can xxx the ip :)



    Nierotter

  • I try it with my AXIS Cam, and i got a green screen.. :frowning_face:
    Can you help ?


    My conf only has 3 lines...



    {command}{foscam.snapshot}{/axis-cgi/jpg/image.cgi}
    {command}{foscam.protocol}{http://}
    {camera}{192.168.1.91:9010}{foscam}{Cam1}



    And here is the LOG



    action -> WizardActions ok
    entering __int__()
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, size_w=1280; size_h=720; space=0, fourByThree_w=960, invisible_h=-240
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, size_w=1280; size_h=720; space=0, fourByThree_w=960, invisible_w =320
    +++++++++++++++++++++++++++++++++++ startWithPIP=True
    Setting PIP mode================
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, size_w=640; size_h=480; space=0
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ recording Directory=/media/hdd/IPCamViewer
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ s={command}{foscam.snapshot}{/axis-cgi/jpg/image.cgi}
    {command}{foscam.protocol}{http://}
    {camera}{192.168.1.91:9010}{foscam}{Cam1}




    ============================================================== i=1,li=commandfoscam.snapshot/axis-cgi/jpg/image.cgicommand
    ============================================================== i=4,li=commandfoscam.protocolhttp://camera
    ============================================================== i=7,li=camera192.168.1.91:9010foscamCam1
    Screen <class 'Plugins.Extensions.IPCamViewer.plugin.ViewCamImage'>((), {}): <type 'exceptions.IndexError'>
    Traceback (most recent call last):
    File "/usr/lib/enigma2/python/mytest.py", line 231, in create
    return screen(self, *arguments, **kwargs)
    File "/usr/lib/enigma2/python/Plugins/Extensions/IPCamViewer/plugin.py", line 398, in __init__
    IndexError: list index out of range
    Traceback (most recent call last):
    File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
    res = self.actions[action]()
    File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 59, in save
    self.run()
    File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 63, in run
    plugin(session=self.session)
    File "/usr/lib/enigma2/python/Plugins/Extensions/IPCamViewer/plugin.py", line 1222, in main
    File "/usr/lib/enigma2/python/mytest.py", line 305, in open
    dlg.isTmp = True
    AttributeError: 'NoneType' object has no attribute 'isTmp'
    (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x2e5b9350>>,('WizardActions', 'ok')) failed)
    getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
    getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
    getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)






    Nierotter


  • Ich hab hier die selben Probleme mit meiner Cam die in der Firma ist.
    Die adresse /jpg/image.jpg ist korrekt da diese im Browser angezeigt wird.


    Der IpCamViewer wird aber nicht gestartet und nur die zwei Zahnräder drehen sich und die Box hängt sich aber auf :frowning_face:



    Die Kam ist eine ABUS TVIP20550

  • Could s.o. please ask the developer shumifan50 to change the behaviour
    so that an error in the config file does not always require a Enigma restart.
    Please implement a timeout e.g. after 15 sec which kills the process. Thx