Beiträge von giovanne

    HyperCon nutze ich eigentlich bisher nicht, deshalb kann ich dir dazu nicht sicher etwas sagen. Steht aber auch noch auf meiner Todo Liste ;)


    Aber in HyperCon oder auch im hyperion.json sollte die ' --video-standard' eingestellt werden, wie zuvor geschrieben auf "no-change"!!! Bei Dir im Log noch "--video-standard PAL"


    Auszug meiner hyperion.config.json zum Grabber (sorry für die Formatierung)
    "grabber-v4l2" : { "device" : "/dev/video0", "input" : 0, "standard" : "no-change", "width" : -1, "height" : -1, "frameDecimation" : 1, "sizeDecimation" : 4, "priority" : 900, "mode" : "2D", "cropLeft" : 0, "cropRight" : 0, "cropTop" : 0, "cropBottom" : 0, "redSignalThreshold" : 0.0, "greenSignalThreshold" : 0.0, "blueSignalThreshold" : 0.0 },



    Vielleicht hilft es ja...

    Ich kann zu der PiCam derzeit noch eine genauen Angaben machen, da ich wohl die USB Lösung per C250 weiter verfolgen werde ;)


    Vorab,
    - ich besitze keinen Pi Zero und kann zu ggf. Unterschieden nichts sagen
    - zu hyperion Aufbau (HW/SW) selbst gibt es genügend Anleitungen, deshalb dazu hier nichts
    => Ziel ist es (für mich) ja lediglich aus der bestehenden lauffähigen Installation den USB-Grabber abzuklemmen und stattdessen eine USB Cam anzuklemmen (oder PiCam) und von diesen dann das Videosignal/Bild (/dev/video0) zu erhalten.
    Für USB Cam C250 musste ich wie berichtet, ja lediglich in 'hyperion.config.json' in der Sequenz 'grabber-v4l2' -> "standard" auf "no-change" ändern (war vorher NTSC bzw. PAL) und die Koordinaten/Werte der LEDs in 'hyperion.config.json' ändern (z.B. Trapezform, dafür hab' ich mir zu einfacheren Berechnung der Werte ne Excel geschrieben)


    Nichtsdestotrotz habe ich gestern einen kurzen PiCam Test gemacht, der aber noch nicht abgeschlossen war bzw. derzeit nicht zu meiner Zufriedenheit ;)
    Einige Stichpunkte, stellt aber keine Anleitung/Vollständigkeit dar:
    - ich habe eine PiCam V1.3
    - PiCam aktivieren in raspi-config (war für mich erst nicht so einfach, da ich OSMC auf dem Pi laufen habe und dort raspi-config nicht supported wird, es stellte sich aber heraus, das OSMC die PiCam wohl direkt supported - also keine Änderung notwendig ;-))
    - Testbild mit 'raspistill -o image.jpg' funktioniert
    - Mangels Verländerungskabel ist ein realer Test noch nicht wirklich möglich
    - für die USB Cam hatte ich zuvor motion installiert, um die Ausrichtung vor TV durch Live stream zu vereinfachen, motion funktioniert aber mit der PiCam bisher nicht (kein unterstütztes pixel_format - obwohl in der config JPEG eingestellt !?)
    - dann mache ich immer erst einen Screenshot mit 'hyperion-v4l2' statt hyperion selbst zu starten, um zu sehen ob das grundsätzlich funktioniert (/opt/hyperion/bin/hyperion-v4l2 -d /dev/video0 --video-standard "no-change" --screenshot)
    -> da kam eine Fehlermeldung und es ging nicht, hab die Fehlermeldung aber aktuell nicht mehr vorliegen und die PiCam derzeit nicht angeklemmt.
    Derzeit keine Ahnung ob es ggf. an der PiCam Version 1.3 liegt?:confused:
    Vielleicht habe ich irgendeinen Parameter beim Aufruf von hyperion-v4l2 hinzuzufügen...!? Aber motion verhält sich ja auch merkwürdig ... mal sehen ob ich bei Gelegenheit weiter teste...
    Für die PiCam wird ausgespuckt:


    Vielleicht habe ich eine 'schlechte' (China) PiCam erwischt :D


    Das hat mich zumindest erstmal in meiner USB C250 Lösung bekräftigt, da ich für die USB Cam nur die zuvor bereits laufende hyperion Installation minimal ändern musste :):thumbup: und das Kabelverlegen mit einem USB Verlängerungskabel sich als sehr einfach herausstellte (wäre mit dem Flachbandkabel für die PiCam auch noch einer Herausforderung bei mir) :D

    Hi,
    Ne die PiCam ist noch nicht getestet. Wollte sparen und kommt aus China, deshalb dauert es...;)
    Wobei es auch mit der C250 über USB keinen Unterschied in der 'Flüssigkeit' gegenüber dam USB Grabber vorher gibt.
    Ich werde zwar den Test mit PiCam noch machen, aber gehen würde es auch so...
    Muss noch meine LEDs hinter dem Fernseh Upgraden von vorher 46" auf nun 65" UHD und erst dann werde ich an die Feineinstellungen bzgl. trapez kommen. Die endgültige Cam muss dann auch noch den optimalen Platz bekommen und gegen Verstellen gesichert werden :D


    Mit der C250 habe ich weitere Tests gemacht und so wie es derzeit ausschaut, werde ich wohl bei dieser C250 bleiben (evtl. wird die PiCam irgendwann noch getestet - bin aber mit der C250 schon zufrieden): https://hyperion-project.org/t…t-region.2615/#post-10196

    As descripted in #13 I started testing with Logitech C250 Cam.
    Here are some updated informations.
    Also tested a Playstation 3 Eye Cam -> it is also running and has a higher horizontal field of view (degree) from 56 or (wide) 75
    So both cams are working, but I will stay with the C250 ;)
    Today also the PiCam arrived, but I haven't tested it (esp. because with usb extension cable the C250 is simplier to position, waiting for a PiCam extension cable)


    Because I will stay with the C250, I have started first positioning of the cam and trapezoid test until my new LED strip arrives:
    To not edit each LEDs data in the hyperion.config.json I used an excel sheet, to define the Picture, Corners, LEDs - Visualize this and generate the LEDs hyperion-json part.
    Maybe it helps other with similiar Cam setups ;) Feel free to use it.
    ! Maybe there are bugs in it, optimization possible and espacilly for other LED setup modifications are necessary !
    I attached a file from my old 32/16/32/16 LED setup and one from my new planned 45/26/45/26 LED setup
    Sheet 1 'Calculation': Insert Picture Size, 4 Corner Points and LEDs on each side
    Sheet 2 'Visualization': only for visualization of the inputs
    Sheet 3 'LED minmax + ToJSON': data copied from Sheet 1 and manually define the max areas; button to generate json 'json-LEDS-Hyperion.json' (LEDs part)


    For me it is working well with the cam (c250) in testing mode, now I have to wait for my new LED strip to prepare the new hardware setup ;)


    Next steps/todos:
    [- optional: Test PiCam when the extension cable arrives]
    - optimize infrastructure and setup of colors/hyperion...
    - waiting for new LED strip and update my Led Setup behind the TV because the UHD TV now is 65" instead of 46" before

    Hi,
    Ne die PiCam ist noch nicht getestet. Wollte sparen und kommt aus China, deshalb dauert es...;)
    Wobei es auch mit der C250 über USB keinen Unterschied in der 'Flüssigkeit' gegenüber dam USB Grabber vorher gibt.
    Ich werde zwar den Test mit PiCam noch machen, aber gehen würde es auch so...
    Muss noch meine LEDs hinter dem Fernseh Upgraden von vorher 46" auf nun 65" UHD und erst dann werde ich an die Feineinstellungen bzgl. trapez kommen. Die endgültige Cam muss dann auch noch den optimalen Platz bekommen und gegen Verstellen gesichert werden :D

    Hi TB,


    also ich würde sagen, das die Weiterleitung die Du vorhast sollte bereits per hyperion funktionieren.
    Dafür bieten hyperion 'forwarder' an die du in der hyperion.config.json definierst (hab gerade keinen Zugriff auf meine Installation, deshalb leider jetzt noch nicht genauer beschrieben).
    Da gibst Du Ziel IP/Port vom weiteren Pi an und der kann dann die LEDs leuchten lassen ;)


    Ich mache das bei mir leicht abgewandelt bereits heute, ich forwarde mein Hauptraspi/hyperion zu einem weiteren Raspi, der gibt dann aber das Signal nicht an die LEDs direkt an zweiten Pi aus, sondern sendet das Signal/Daten weiter an ola (open lighning architecture) auf dem selben pi. Und ola kann z.b. per artnet funksignal zu meine LEDRegalleisten (ESP8266-01 mit ESPLightNode Firmware) senden. So leuchten meine Regale auch zum TV Bild - und selbst dies ist ohne zeitlichen Versatz :)


    Also Fazit, Dein vorhaben sollte gehen ;)

    Update for my tests after I have received the Logitech C250 USB WebCam (got it for only 5€):
    - hyperion classic is working with the C250 USBCam :)
    - only change I have done in my existing hyperion working with the usbgrabber before: in 'hyperion.config.json' changed in the sequence 'grabber-v4l2' to 'no-change' => "standard" : "no-change",
    - it is very smooth, same like before with the grabber
    Next Steps with C250:
    - manually define the input region / 'trapezoid' -> started an Excel Sheet to calculate the values for the hyperion.config.json
    Current Disadvantage:
    - black TV Screen is not resulting in LEDs off, because the Cam gets some 'rest' lightning -> try to optimize, maybe better after 'trapezoid'
    Edit: Update, LEDs are off if the TV is black and the room is without daylight coming from windows etc. Also good for me, because normally no need for ambilight in bright conditions


    Todo:
    - Also waiting for the PiCam to test and compare
    - Update my Led Setup behind the TV because the UHD TV now is 65" instead of 46" before


    At the moment I think a solution with a cam will be the next setup for me to be able to support 4k/UHD, Smart Apps on TV, ... :thumbup:
    I don't need the currently very expensive solutions which support 4k like Ambivision Pro, HDfury/HDLinker, etc.

    If I / we need the nochange for webcam support, than it would be nice to have it also in the classic hyperion.
    Do you mean I have to ask you nicely to add it to hyperion classic or do I have to ask Brindosch?
    If you, please add it or let Brindosch add it :D. Sorry, but I don't know how to address this correctly to the hyperion classic (git, issue, pull-request,...)
    Thanks

    @penfold42,


    Thank you for your testing :)


    pixel format for my Hama SnakeCam:
    root@Pi:/opt/hyperion/bin# v4l2-ctl -d /dev/video0 --list-formats-ext
    ioctl: VIDIOC_ENUM_FMT
    Index : 0
    Type : Video Capture
    Pixel Format: 'PJPG' (compressed)
    Name : PJPG
    Size: Discrete 640x480


    I think not good :( and not supported, but it was only for testing for me, because I haven't a different one currently.


    I'm waiting for PiCam/Logitech C250 for further tests...


    Do you think it should also work with Hyperion instead of Hyperion.ng or do I have to Upgrade?


    What does your pull-request about 'no-change' mean?


    And what do you think, will there be a chance that hyperion will support 'trapezoid' analysis or definition in the future? :bigsmile:
    In the meantime I will manually edit the hyperion.config.json file with the LEDs values to grab in trapezoid area like the hint in the german thread (https://hyperion-project.org/threads/videokamera-also-quelle-über-grabber.837/#post-10030). Maybe with a little Excel-sheet to calculate the needed values...

    with hyperion-v4l2:

    Code
    root@PI:/home/pi/screenshots# /opt/hyperion/bin/hyperion-v4l2 -d /dev/video0 --video-standard "PAL" --screenshot
    VIDIOC_S_STD error 25, Inappropriate ioctl for device
    root@Pi:/home/pi/screenshots# /opt/hyperion/bin/hyperion-v4l2 -d /dev/video0 --video-standard "PAL"
    VIDIOC_S_STD error 25, Inappropriate ioctl for device
    root@Pi:/home/pi/screenshots# /opt/hyperion/bin/hyperion-v4l2 -d /dev/video0
    V4L2 width=640 height=480
    Only pixel formats UYVY, YUYV, and RGB32 are supported error
    root@Pi:/home/pi/screenshots# /opt/hyperion/bin/hyperion-v4l2 -d /dev/video0 --screenshot
    V4L2 width=640 height=480
    Only pixel formats UYVY, YUYV, and RGB32 are supported error


    But maybe the usbcam (hama snakecam) is not that good.
    I will get an other the next days and will see if this changes something...


    In the end I will have a picam working with hyperion (in case of performace compared to the usbcam). But I have to wait for the picam before I can test this.


    I'm very interested if there is already someone using (testing) a picam in combination with hyperion and how to do this :cool:

    There was a hint in the german thread, to manually edit the LEDs values in the hyperion-config file to get the trapez-area of the captured picture of the usbcam/picam.
    I think that is a good idea until hyperion does support such analytics :)


    But for the first step, to get hyperion working with a cam (usb or picam), I have the question,
    should hyperion already be able to get the source video from a usbcam and picam.
    Are there special requirements for the cams? E.g. support using v4l driver?


    So I tried to test a usbcam which is laying around here (hama snakecam usb, is not that good - only for testing), it is recognized as /dev/video0 (haven't a picam yet - will be the next step)
    but if I try to start hyperion, than it throws:
    terminate called after throwing an instance of 'std::runtime_error'
    what(): VIDIOC_S_STD error 25, Inappropriate ioctl for device
    Aborted


    Maybe it doesn't support v4l ?


    how do I tell/configure hyperion to work with the usbcam and later on with the picam?
    (hyperiond -version: -> Application build time: Feb 27 2016 12:33:50, no hyperion.ng)
    => I think it is configured also like the usb-grabber in the hyperionconfig in the grabber-v4l2 section, am I am right?


    Is there someone using/testing a usbcam and picam already with hyperion and how?


    Thanks for hints...

    Stimmt, daran habe ich noch garnicht gedacht - Danke :)


    sollte das existierende hyperion schon mit einer webcam oder picam zurecht kommen? Wenn ja wie muss hyperion bzw. Cam eingebunden/konfiguriert werden?


    Wenn ich eine usbcam (hab noch keine picam, ist auf dem Weg) am pi anschließe, wird als /dev/video0 eingebunden und hyperion starte, dann beendet sich hyperion direkt wieder mit:
    terminate called after throwing an instance of 'std::runtime_error'
    what(): VIDIOC_S_STD error 25, Inappropriate ioctl for device
    Aborted


    Edit: vermutlich muss die usbcam (wie auch picam) v4l2 unterstützen, sodass dies wie beim usbgrabber/fushicai über den v4l2-grabber in der hyperion.config funktioniert, oder?


    Vielen Dank für Hinweise ;)

    @schnuller, bist du schon weiter gekommen?
    Welche Cam für Raspberry würdest du empfehlen, da es dort ja auch unterschiedliche gibt.
    Ich will kir jetzt mal eine bestellen...


    Ich will das auf jeden Fall auch mal versuchen, bin (noch) nicht bereits so viel Geld für die 4k Lösungen auszugeben, wo meine Apps auf dem SmartTV auch nicht unterstützt werden.


    Hab' noch eine Beitrag gefunden, wo auch einer diese Lösung bereits vor 5 Jahren angegangen war.
    Es hat aber nicht auf hyperion gesetzt und etwas selbst geschrieben.
    Aber er hat die Trapezanalyse in seinem Code bereits genutzt.
    https://waldobronchart.com/not…berry-pi-and-camera-part2


    Ich hätte es generell lieber im hyperion, wegen forwarder etc....
    Aber leider noch keine Reaktion auf meine Feature-Anfrage :(


    Vieleicht versuche ich die Lösung oben angesprochene Lösung als temporäre erst mal aus, immerhin bessere als bisher dunkle LEDs ;)

    Hallo zusammen,
    ich finde die Idee super und bin aktuell auch auf der Suche.
    Ich habe mal im "FeatureRequest" Bereich einen Eintrag erstellt und hoffe das Ideen diesbzgl. zusammen kommen:
    https://hyperion-project.org/t…repare-input-region.2615/


    Die die hier bereits gestartet sind, habt Ihr bereits Erfolge?


    Und (insb. @Feiglingsvernichter) welche Cam habt Ihr schon mal versucht? Denn der TV schwarz zeigt, zeigt die Cam dann auch schwarz bzw. sind die LEDs aus?


    Viele Grüße und hoffentlich gute Ideen die zu einer relative günstigen Lösung führen und alle TV Inhalte unterstützen :)

    Hello,


    is it possible to implement some functionality in the grabber to use(analyse) a perspective part of the source picture?


    See the attached picture to see some details about the idea.

    Why do I want to have such feature?
    -> Because there are more and more 4k/UHD sources and currently only very expensive solutions (HDfury or maybe Ambivision 4k) to capture/get the source picture into the pi.
    Therefore I want to use a mini cam in front of the TV (e.g. )
    The cam has cinch video to go into the already existing usb grabber (instead of the video out from my sat receiver before).


    For first tests I received the cam, but maybe it is not ideal because if there is black picture the cam doesn't show black - maybe because of night-sight support of the cam.
    -> have to look for a better one...??


    But first the requirements in software/hyperion:
    If I place the cam in front of the tv the picture will be somehow like in the attached picture (trapez).

    I want to crop the necessary part of the picture and expand the smallest size to the longest size (see attached picture).


    Therefore I need the functionality in hyperion/grabber :)


    The advantage would be, that I can visualize all content on the TV (Apps on the SmartTV like Netflix, Prime, Youtube; Sky+ Pro Rec., PS3/4, ...) ;)


    Should this be possible or are there better ideas?


    (for info: german disussion was also started before: https://hyperion-project.org/t…le-%C3%BCber-grabber.837/)


    Thanks