Hi everyone,
I have Hyperion.ng working on a Raspberry PI 3B+. The set up works just fine when I use a cheap HDMI splitter and a cheap USB capture card.
I just got a Mirabox 4K 60Hz since it seems like an upgrade from my current setup (it has a 4K 60Hz passthrough HDMI port, and automatically downscales to 1080p and outputs as usb plug and play for capture). However, I'm on starting the USB capture, it works anywhere from a fraction of a second to a few seconds, (maybe 5-10 max) and then it turns off. I can get it to restart by turning the "USB Capture" from the "Remote Control" page off and back on, but it never stays on for longer than a few seconds.
When connected to my laptop the card seems to work just fine.
Is there a way to get this capture device working? Should I need something like a RPi 4, Arduino or some other device to be able to handle it? I am connecting the RPi 3B+ to an ALITOVE WS2812B LED Strip through breadboard and adding its own 5V supply. The Mirabox card gets its own power from the USB connection to the RPi.
Maybe ignoring some error or forcing reconnect somewhere on the code would help. I'm willing to check and fiddle but not familiar with this project enough, any pointers are welcome.
Below is the log from the Web UI after turning USB Capture off then back on:
2021-12-02T23:17:32.294Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:270:clearInput()) Removed source priority 200
2021-12-02T23:17:32.294Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
2021-12-02T23:17:32.295Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:58:stop()) Grabber stop()
2021-12-02T23:17:33.259Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 200 as inactive
2021-12-02T23:17:33.260Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
2021-12-02T23:17:33.264Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0
2021-12-02T23:17:33.264Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1
2021-12-02T23:17:33.276Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=1920 height=1080
2021-12-02T23:17:33.287Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 60 fps
2021-12-02T23:17:33.287Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:751:init_device()) Pixel format=MJPEG
2021-12-02T23:17:33.325Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started
2021-12-02T23:17:33.325Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
2021-12-02T23:17:33.901Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 200 is now active
2021-12-02T23:17:33.901Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 200
2021-12-02T23:17:33.917Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[200], previousPriority[255]
2021-12-02T23:17:33.918Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
2021-12-02T23:17:37.559Z [hyperiond V4L2:/DEV/VIDEO0] (ERROR) Throws error nr: VIDIOC_QBUF error code 19, No such device
2021-12-02T23:17:37.560Z [hyperiond V4L2:/DEV/VIDEO0] (ERROR) Throws error nr: VIDIOC_DQBUF error code 19, No such device
2021-12-02T23:17:37.560Z [hyperiond V4L2:/DEV/VIDEO0] (ERROR) VIDIOC_STREAMOFF error code 19, No such device
2021-12-02T23:17:37.598Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Stopped
2021-12-02T23:17:38.636Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 200 is now inactive
2021-12-02T23:17:38.637Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 255
2021-12-02T23:17:38.642Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[200]
2021-12-02T23:17:38.643Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
2021-12-02T23:17:40.677Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.145
Alles anzeigen
V4L info (/dev/video0):