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

Hdmi grabber?

Discussion in 'Hyperion General' started by pigbait, 30 December 2018.

  1. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
    How did you install the official branch of hyperion.ng?
    Which device and which os do you use?
     
  2. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
    Short instructions:
    sudo apt-get update
    sudo apt-get install git cmake build-essential qtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python3-dev libxrender-dev libavahi-core-dev libavahi-compat-libdnssd-dev libjpeg-dev
    git clone --recursive https://github.com/Paulchen-Panther/hyperion.ng.git hyperion
    cd hyperion
    git checkout MJPEG
    mkdir build
    cd build
    git submodule update --init
    cmake -DCMAKE_BUILD_TYPE=Debug ..
    make -j $(nproc)
    cd bin
    ./hyperiond -d

    WebUI is located on http://localhost:8090
     
    Last edited: 3 March 2019
    • Thank you Thank you x 1
  3. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    I used hypercon to install hyperion, I will do this command when I get home.. i will keep you posted and thanks allot for helping me out.
     
    • Thank you Thank you x 1
  4. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    I have hyperion installed on my pi this is the OS i'm running....

    [email protected]:~ $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Raspbian
    Description: Raspbian GNU/Linux 8.0 (jessie)
    Release: 8.0
    Codename: jessie

    When I try to run the command "cd hyperion" I get this

    [email protected]:~ $ cd hyperion
    -bash: cd: hyperion: No such file or directory


    sorry not sure what to do.
     
  5. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
  6. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    Your right i missed that line.... i now get this error..

    [email protected]:~/hyperion/build $ cmake -DCMAKE_BUILD_TYPE=Debug ..
    -- PLATFORM is not defined, evaluated platform: rpi
    -- PLATFORM: rpi
    -- ENABLE_AMLOGIC = OFF
    -- ENABLE_DISPMANX = ON
    -- ENABLE_FB = ON
    -- ENABLE_OSX = OFF
    -- ENABLE_SPIDEV = ON
    -- ENABLE_TINKERFORGE = ON
    -- ENABLE_V4L2 = ON
    -- ENABLE_WS281XPWM = ON
    -- ENABLE_USB_HID = ON
    -- ENABLE_X11 = OFF
    -- ENABLE_QT = ON
    -- ENABLE_TESTS = OFF
    -- ENABLE_PROFILER = OFF
    -- validate json files
    checked files: 76 success: 76 errors: 0
    -- validate json effect files
    checked effect files: 36 success: 36 errors: 0
    -- validate json file
    -- Current Version: MJPEG (GitHub-d3a0fd0/b1b5bc4-1551636880) Git Remote: https://github.com/Paulchen-Panther/hyperion.ng.git
    -- Found Qt Version: 5.3.2
    CMake Error at CMakeLists.txt:262 (message):
    Your Qt version is to old! Minimum required 5.5.0


    -- Configuring incomplete, errors occurred!
    See also "/home/pi/hyperion/build/CMakeFiles/CMakeOutput.log".


    then i get this when i try the next command

    [email protected]:~/hyperion/build $ make -j $(nproc)
    make: *** No targets specified and no makefile found. Stop.


    sorry if im not that crazy advanced at linux stuff


    *** I figured it out.. I updated my distro to the newest one now just waiting for building to complete***
     
    Last edited: 5 March 2019
    • Like Like x 1
  7. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    ok so the build is complete, what a run the last command ./hyperiond -d i get this and i dont think i can use hypercon anymore?

    [hyperiond V4L2:auto] <ERROR> Frame too small: 42236 != 4147200
    [hyperiond V4L2:auto] <ERROR> Frame too small: 42236 != 4147200
    [hyperiond V4L2:auto] <ERROR> Frame too small: 42236 != 4147200
    [hyperiond V4L2:auto] <ERROR> Frame too small: 42236 != 4147200

    I see i need to use the webGUI now ..but how do i setup hyperion to auto start
     
    Last edited: 5 March 2019
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,103
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    yes, try it with the webgui, there you can also see "live" the input
     
  9. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
    OK. I think I have the frame size calculated incorrectly. I will fix it as soon as possible.

    autostart scripts can be found in the directory /bin/service
     
    Last edited: 5 March 2019
  10. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    do I need to move autostart script or run it?
     
  11. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    doing a fresh install of raspbian stretch will see if that fixes things
     
  12. pigbait

    pigbait New Member

    Messages:
    27
    Hardware:
    RPi1/Zero, RPi2
    So last night i did a fresh install, Hyperion will work when I run the command ./hyperiond -d in my Putty terminal... but the minute i close the terminal it kills hyperion? anyone have an idea what i did wrong?
     
  13. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    70
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
    You did nothing wrong. When you start hyperion with ./hyperion -d it will start in your shell. If you close the shell, you close the program which is running in it.

    So you'll have to run it at a service. You can take the service which @Paulchen-Panther mentioned in his post und install it to the system. You have to copy the build files which were created by compiling in your build/bin directory to the directory which is used in the service. (/usr/bin)
    You can either use the normal initd script or the systemd script. Please check google how to handle with services and init.d scripts and how to install.
    If you have specific questions to that I am willing to help.
     
  14. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
    @pigbait
    I made a few changes in the MJPEG branch. Can you please post the complete console output this time? Thank you
     
    • Like Like x 2