1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

REQUEST hyperion source from cam in front of tv - prepare input region

Discussion in 'Feature Requests' started by giovanne, 2 January 2018.

  1. giovanne

    giovanne Member

    Messages:
    59
    Hardware:
    RPi2, RPi3, +nodeMCU/ESP8266
    Update for now:
    I'm still using a CAM as input for hyperion NG (alpha) and it is working very well :)

    But for the moment I have switched to the USB PS3 Eye Cam because it is working better than the Logitech C250 before or the C270 I also tried to test.

    The Logitechs are working not so stable:
    - when trying to start with the Logitech they are often reported to be busy or in use; trying once again then they are sometimes working -> [hyperiond V4L2:/dev/video0] <ERROR> V4l2 init failed (Cannot open '/dev/video0' error code 16, Device or resource busy)
    - a stop/restart of the Logitech in NG (alpha) WebIF isn't working
    - the C250 is often losing connection in NG (debug reports 'set smoothing...' often) (for the working PS3 Eye only reported once when starting); restart of NG necessary
    - the C270 I can't get working in hyperion (alpha), Beta ok:
    if USB Recording is in state 'off' when starting hyperiond then always a 'Stopped' is triggered after starting USB Recording from WebIf -> hyperiond V4L2:/dev/video0] <INFO> Stopped
    or if USB Recording is in state 'on' when starting hyperiond then -> [hyperiond V4L2:/dev/video0] <ERROR> start failed (VIDIOC_STREAMON error code 5, Input/output error)
    - optional: test in hyperion.ngBeta, there is an additional 'Started' reported in debug, therefore the 'Stopped' bug #491 https://github.com/hyperion-project/hyperion.ng/issues/491 isn't existing there;
    - optional: test in hyperion.ngBeta/rework, the USB cams (grabbers?) aren't working; -> [hyperiond V4L2:auto] <ERROR> Throws error nr: VIDIOC_DQBUF error code 22, Invalid argument; also new setting/config mechanism

    So for now I will run my TV / LEDs with hyperion.ng (alpha) and the PS3 Eye cam.
    Because of the possibilities to configure the cam with v4l2-ctl parameters, it is possible to get a good result in case of no auto exposure, white balancing, brightness, ...
    The Eye cam is working without problems since 48h non stop, restart in WebIF is possible.
    After starting hyperiond the USB Recording has to be activated because of bug #491 https://github.com/hyperion-project/hyperion.ng/issues/491 once.

    With the tool from DerBen it is possible to generate and paste the LEDs trapezoid definition very simple to hyperion.config.json: https://hyperion-project.org/thread...v-prepare-input-region.2615/page-3#post-10522

    My personnel todo:
    - color adjustment and tuning in hyperion.ng and maybe also with v4l2-ctl, but therefore I have to understand the ng configs and v4l2 parameters more in detail.
    - hyperion/LEDs control depending of the status of the TV (instead of grabber input before): https://hyperion-project.org/threads/temporary-disable-usb-capture-grabber-on-rule.2730/
    - little TV picture to LED visu shift, maybe because of a problem in ng (alpha) LED config (gabs, positions, ...), not sure for now

    Future hyperion.ng enhancements:
    - trapezoid definition for the cams: https://github.com/hyperion-project/hyperion.ng/issues/504
    - v4l2-ctl controls for the cams: https://github.com/hyperion-project/hyperion.ng/issues/506

    I will follow the upcoming activities about cam usage and hope that hyperion.ng will support them because I think they are a good solution for current requirements (4k/UHD, Smart TV Apps, ...) :thumbsup:

    I also hope that there is something to test in the near future ;)
     
    • Like Like x 3
  2. Jose Ramon Espericueta

    Jose Ramon Espericueta Member

    Messages:
    66
    Hardware:
    RPi3, +Arduino
    For my webcam even restarting not work in ng :( Just stop
     
  3. Jose Ramon Espericueta

    Jose Ramon Espericueta Member

    Messages:
    66
    Hardware:
    RPi3, +Arduino
    i reinstall again and i get this message
    V4l2 init failed (Only pixel formats UYVY, YUYV, and RGB32 are supported)

    any ideas?
     
  4. Jose Ramon Espericueta

    Jose Ramon Espericueta Member

    Messages:
    66
    Hardware:
    RPi3, +Arduino
    After restart my error V4l2 init failed (Only pixel formats UYVY, YUYV, and RGB32 are supported) disappeared but i still unable to start my hp webcam with NG the cam works well in Hyperion Classic i thinking about buying ps3 cam to try NG
    giovanne so you prefer NG with ps3 cam or clasic with logitech ?
     
  5. giovanne

    giovanne Member

    Messages:
    59
    Hardware:
    RPi2, RPi3, +nodeMCU/ESP8266
    I can't prefer or recommend a cam. I'm currently also in 'testing mode' and only give the feedback from the tests ;)
    At the moment I'm running the PS3 Eye cam with ng, like stated in the last 'update': https://hyperion-project.org/thread...v-prepare-input-region.2615/page-4#post-10624
    The ps3 eye is running stable, maybe quality (color) is not as good as the Logitechs :confused: but Logitechs are currently not running stable in ng. Ps3eye is good configurable in using higher fps (up to [email protected] or [email protected]), don't know if pos. effects for hyperion...
    They are also using different drivers: uvcvideo (Logitech) vs ov534 (PS3), maybe effects on the results in stability...

    The best would be if the hyperion developers enhance the support for the cam in general, then I think every cam can work in ng :D
    First step would be: bug #491 https://github.com/hyperion-project/hyperion.ng/issues/491 (unfortunately no reaction from brindosch, I think he is busy in hyperionBeta/rework :()
    Maybe some issues are solved than, if we know the solution brindosch announced there...?
     
    • Like Like x 1
  6. Jose Ramon Espericueta

    Jose Ramon Espericueta Member

    Messages:
    66
    Hardware:
    RPi3, +Arduino
    thank you for your feedback giovanne :thumbsup:
     
    • Like Like x 1
  7. Jose Ramon Espericueta

    Jose Ramon Espericueta Member

    Messages:
    66
    Hardware:
    RPi3, +Arduino
    Hi all , i have a question maybe you can help me, for strong colors look fine but with light color look like White i check the led, and the color seem correct but at Wall look White, if i check the data pin voltage its 0.37v even if i conect direct from raspberry or arduino
     
    Last edited: 24 March 2018