Hello all,
I setup hyperion on a RPi 3B+ an 50% of the time it works.
But the other 50% USB capture seems to fail, and after couple of restarts gets back working.
The hardware:
- Raspbery Pi 3B+
- Hyperbian
- Rullz 4K 60Hz HDMI Video Capture Card TV Loop 1080P
- DC5V WS2812B Individually Addressable RGB Led Strip
- 5V 10A power supply
- RPi is powered from the PSU
- USB capture card tested with all power options - external usb power, PSU power or without any power - all options work
USB capture card details:
Code
pi@HyperBian:~ $ v4l2-ctl -D
Driver Info:
Driver name : uvcvideo
Card type : USB Video: USB Video
Bus info : usb-3f980000.usb-1.3
Driver version : 5.10.63
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : uvcvideo
Model : USB Video: USB Video
Serial :
Bus info : usb-3f980000.usb-1.3
Media version : 5.10.63
Hardware revision: 0x00002100 (8448)
Driver version : 5.10.63
Interface Info:
ID : 0x03000002
Type : V4L Video
Entity Info:
ID : 0x00000001 (1)
Name : USB Video: USB Video
Function : V4L2 I/O
Flags : default
Pad 0x01000007 : 0: Sink
Link 0x0200000d: from remote pad 0x100000a of entity 'Processing 2': Data, Enabled, Immutable
Display More
Log:
After running `apt upgrade` I dont get much details:
when working
Code
2022-03-26T08:41:56.318Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:72:handleCompStateChangeRequest()) Enable Hyperion, recover previous component states
2022-03-26T08:41:56.319Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Hyperion: enabled
2022-03-26T08:41:56.319Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Smoothing: enabled
2022-03-26T08:41:56.319Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Blackborder detector: enabled
2022-03-26T08:41:56.319Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
2022-03-26T08:41:56.320Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) V4L capture device: enabled
2022-03-26T08:41:56.410Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:151:init()) Set device (path) to: USB Video: USB Video (/dev/video0)
2022-03-26T08:41:56.410Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:488:init_device()) Set device input to: Camera 1
2022-03-26T08:41:56.411Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:614:init_device()) Set resolution to width=640 height=480
2022-03-26T08:41:56.413Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:631:init_device()) Set framerate to 30 fps
2022-03-26T08:41:56.413Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:707:init_device()) Pixel format=YUYV
2022-03-26T08:41:56.421Z [ V4L2] (INFO) Started
2022-03-26T08:41:56.421Z [ V4L2] (DEBUG) (GrabberWrapper.cpp:62:start()) Grabber start()
2022-03-26T08:41:56.322Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) LED device: enabled
2022-03-26T08:41:56.522Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active
2022-03-26T08:41:56.523Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240
2022-03-26T08:41:56.523Z [ HYPERION] (DEBUG) (Hyperion.cpp:571:handleSourceAvailability()) priority[240], previousPriority[255]
2022-03-26T08:41:56.524Z [ HYPERION] (DEBUG) (Hyperion.cpp:582:handleSourceAvailability()) new source available -> Resume output processing and switch LED-Device on
Display More
Code
When not working:
2022-03-26T08:43:21.070Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:72:handleCompStateChangeRequest()) Enable Hyperion, recover previous component states
2022-03-26T08:43:21.071Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Hyperion: enabled
2022-03-26T08:43:21.072Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Smoothing: enabled
2022-03-26T08:43:21.072Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Blackborder detector: enabled
2022-03-26T08:43:21.072Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
2022-03-26T08:43:21.072Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) V4L capture device: enabled
2022-03-26T08:43:21.179Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:151:init()) Set device (path) to: USB Video: USB Video (/dev/video0)
2022-03-26T08:43:21.180Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:488:init_device()) Set device input to: Camera 1
2022-03-26T08:43:21.181Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:614:init_device()) Set resolution to width=640 height=480
2022-03-26T08:43:21.183Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:631:init_device()) Set framerate to 30 fps
2022-03-26T08:43:21.183Z [ V4L2] (DEBUG) (V4L2Grabber.cpp:707:init_device()) Pixel format=YUYV
2022-03-26T08:43:21.191Z [ V4L2] (INFO) Started
2022-03-26T08:43:21.191Z [ V4L2] (DEBUG) (GrabberWrapper.cpp:62:start()) Grabber start()
2022-03-26T08:43:21.076Z [ COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) LED device: enabled
2022-03-26T08:43:21.293Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 240 is now active
2022-03-26T08:43:21.294Z [ HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 240
2022-03-26T08:43:21.294Z [ HYPERION] (DEBUG) (Hyperion.cpp:571:handleSourceAvailability()) priority[240], previousPriority[255]
2022-03-26T08:43:21.295Z [ HYPERION] (DEBUG) (Hyperion.cpp:582:handleSourceAvailability()) new source available -> Resume output processing and switch LED-Device on
Display More
Before running the update I was getting the error messages: