awawa-dev / HyperHDR

Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).
http://www.hyperhdr.eu/
MIT License
980 stars 106 forks source link

/dev/video0 doesn't work #888

Open jsammarco opened 2 weeks ago

jsammarco commented 2 weeks ago

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Steps to reproduce

Select /dev/video0 Using HDMI to CSI which works perfect on the OS.

What is expected?

preview of video0 which is connected, working and configured with edid for 1080@30fps

What is actually happening?

No video through HyperHDR

System

HyperHDR Server:

HyperHDR Server OS:

awawa-dev commented 2 weeks ago

Hi Have you analyzed the full HyperHDR LOGS? Because they are missing here and I don't have such a device to reproduce the problem anyway. So everything is in your hands.

jsammarco commented 2 weeks ago

Hi, Thanks for the reply, Here are the logs. I used ffplay to play video0 fullscreen on the pi. I would be happy to just use the software screen grab from the pi desktop.

2024-06-28T15:24:54.025Z [LEDDEVICE0_FILE] (LedDevice.cpp:423) Refresh rate = 25.00 Hz 2024-06-28T15:24:54.025Z [LEDDEVICE0_FILE] (LedDevice.cpp:367) Starting timer with interval = 40ms 2024-06-28T15:24:54.025Z [LEDDEVICE0_FILE] (LedDevice.cpp:433) Refresh interval updated to 40ms 2024-06-28T15:24:54.025Z [LEDDEVICE0_FILE] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms) 2024-06-28T15:24:54.025Z [SMOOTHING0] Clearing queued colors before: enabling 2024-06-28T15:24:54.025Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:24:54.025Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-06-28T15:24:54.025Z [IMAGETOLED_MNG0] Total index number is: 320 (memory: 320). User sparse processing is: disabled, image size: 80 x 45, area number: 1 2024-06-28T15:24:54.025Z [SMOOTHING0] Using linear smoothing input (2) 2024-06-28T15:24:54.025Z [LEDDEVICE0_FILE] (LedDevice.cpp:247) Enable the device 2024-06-28T15:24:54.025Z [NETFORWARDER] Forwarder has changed state to disabled 2024-06-28T15:24:54.025Z [V4L2:AUTO] (V4L2Grabber.cpp:193) Forcing auto discovery device 2024-06-28T15:24:54.026Z [V4L2:AUTO] Could not find any capture device 2024-06-28T15:24:54.037Z [WEBSERVER] Apply Webserver settings 2024-06-28T15:24:54.038Z [WEBSERVER] Set document root to: :/www 2024-06-28T15:24:54.038Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTP)' on port: 8090 2024-06-28T15:24:54.038Z [SSDP] (SSDPHandler.cpp:93) The local address is empty 2024-06-28T15:24:54.038Z [WEBSERVER] Initialize Webserver 2024-06-28T15:24:54.038Z [WEBSERVER] Apply Webserver settings 2024-06-28T15:24:54.038Z [WEBSERVER] Set document root to: :/www 2024-06-28T15:24:54.041Z [WEBSERVER] Setup SSL certificate 2024-06-28T15:24:54.042Z [WEBSERVER] Setup private SSL key 2024-06-28T15:24:54.042Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTPS)' on port: 8092 2024-06-28T15:24:54.042Z [SSDP] (SSDPHandler.cpp:42) SSDPHandler is initializing 2024-06-28T15:24:54.042Z [SSDP] (SSDPHandler.cpp:183) The local address is: 192.168.1.138 2024-06-28T15:24:54.042Z [SSDP] (SSDPServer.cpp:95) Initialize the SSDP server 2024-06-28T15:24:54.042Z [WEBSERVER] (StaticFileServing.cpp:68) SSDP description is set up 2024-06-28T15:24:54.042Z [SSDP] Starting the SSDP server 2024-06-28T15:24:54.105Z [SMOOTHING0] Using linear smoothing procedure (2) 2024-06-28T15:24:55.541Z [SERVICE_mDNS] Starting the network discovery thread 2024-06-28T15:24:57.027Z [EFFECT0(Rainbo...)] The effect quits with priority: 0 2024-06-28T15:24:57.027Z [MUXER0] Removed source priority 0 2024-06-28T15:24:57.027Z [MUXER0] Set visible priority to 255 2024-06-28T15:24:57.027Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-06-28T15:24:57.027Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:24:57.027Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-06-28T15:24:57.027Z [SMOOTHING0] Using alternative smoothing input (0) 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:24:57.027Z [HYPERHDR0] New priority[255], previous [0] 2024-06-28T15:24:57.027Z [HYPERHDR0] No source left -> switch LED-Device off 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:423) Refresh rate = 50.00 Hz 2024-06-28T15:24:57.027Z [SMOOTHING0] Clearing queued colors before: disabling 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-06-28T15:24:57.027Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:433) Refresh interval updated to 20ms 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms) 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:297) Disable the device 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:90) Switch off 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:126) Power Off 2024-06-28T15:24:57.027Z [LEDDEVICE0_FILE] (LedDevice.cpp:544) Set LED strip to black/power off 2024-06-28T15:24:57.027Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-06-28T15:24:57.027Z [EFFECTENGINE0] Effect 'Rainbow swirl fast' has finished. 2024-06-28T15:24:57.028Z [LEDDEVICE0_FILE] (LedDeviceFile.cpp:86) File: /dev/null 2024-06-28T15:24:57.028Z [EFFECT0(Rainbo...)] Effect named: 'Rainbow swirl fast' is deleted 2024-06-28T15:24:57.028Z [COMPONENTCTRL0] LED device: disabled 2024-06-28T15:25:16.527Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.1.129 2024-06-28T15:25:42.334Z [LEDDEVICE0_FILE] (LedDevice.cpp:286) Stop device 2024-06-28T15:25:42.334Z [LEDDEVICE0_FILE] (LedDevice.cpp:297) Disable the device 2024-06-28T15:25:42.334Z [LEDDEVICE0_FILE] Stopped LedDevice 'file' 2024-06-28T15:25:42.335Z [LEDDEVICE0_WS281X] Start LedDevice 'ws281x'. 2024-06-28T15:25:42.335Z [LEDDEVICE0_WS281X] (LedDevice.cpp:337) deviceConfig: [{"colorOrder":"rgb","currentLedCount":1,"dma":5,"gpio":18,"hardwareLedCount":null,"invert":false,"leds":256,"pwmchannel":0,"refreshTime":20,"rgbw":false,"smoothingRefreshTime":20,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}] 2024-06-28T15:25:42.335Z [LEDDEVICE0_WS281X] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz 2024-06-28T15:25:42.335Z [LEDDEVICE0_WS281X] (LedDevice.cpp:423) Refresh rate = 50.00 Hz 2024-06-28T15:25:42.335Z [LEDDEVICE0_WS281X] (LedDevice.cpp:373) Device is not ready to start a timer 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDevice.cpp:433) Refresh interval updated to 20ms 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDeviceWS281x.cpp:66) ws281x selected dma : 5 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDeviceWS281x.cpp:67) ws281x selected channel : 0 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDeviceWS281x.cpp:68) ws281x total channels : 2 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDeviceWS281x.cpp:69) ws281x strip type : 1050624 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] The refresh timer is enabled ('Refresh time' > 0) and may limit the performance of the LED driver. Ignore this error if you set it on purpose for some reason (but you almost never need it). 2024-06-28T15:25:42.336Z [LEDDEVICE0_WS281X] (LedDevice.cpp:247) Enable the device 2024-06-28T15:25:42.337Z [LEDDEVICE0_WS281X] (LedDevice.cpp:64) Switch on 2024-06-28T15:25:42.337Z [LEDDEVICE0_WS281X] (LedDevice.cpp:140) Power On 2024-06-28T15:25:42.337Z [LEDDEVICE0_WS281X] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-06-28T15:25:42.341Z [COMPONENTCTRL0] LED device: enabled 2024-06-28T15:25:42.342Z [SMOOTHING0] Using alternative smoothing input (0) 2024-06-28T15:25:56.965Z [IMAGETOLED_MNG0] Total index number is: 1000 (memory: 1000). User sparse processing is: disabled, image size: 80 x 45, area number: 40 2024-06-28T15:25:56.967Z [COLORSPACE_CALIBRATION0] classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes] 2024-06-28T15:25:56.967Z [LED_CALIBRATION0] (LedCalibration.cpp:101) Calibration config '0' for LED segment: [0, 39] 2024-06-28T15:25:56.967Z [LED_CALIBRATION0] (LedCalibration.cpp:96) LedCalibration is released 2024-06-28T15:26:09.757Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:26:09.757Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:26:09.757Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:26:09.757Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:26:09.757Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:26:09.757Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:26:09.757Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:26:09.758Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:26:09.758Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:26:09.758Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:26:09.758Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:26:09.758Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: 'auto' new: 'unicam-image (video0)' 2024-06-28T15:26:09.758Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device 2024-06-28T15:26:09.758Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:26:09.758Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:26:09.758Z [V4L2:AUTO] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration 2024-06-28T15:26:09.758Z [V4L2:AUTO] Multithreading for V4L2 is enabled. Available thread's count 3 2024-06-28T15:26:09.758Z [V4L2:AUTO] Found capture device: /dev/video15 2024-06-28T15:26:09.759Z [V4L2:AUTO] Found capture device: /dev/video21 2024-06-28T15:26:09.760Z [V4L2:AUTO] Found capture device: /dev/video14 2024-06-28T15:26:09.760Z [V4L2:AUTO] Found capture device: /dev/video22 2024-06-28T15:26:09.761Z [V4L2:AUTO] Found capture device: /dev/video0 2024-06-28T15:26:09.763Z [V4L2:AUTO] (V4L2Grabber.cpp:213) Searching for unicam-image (video0) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2024-06-28T15:26:09.763Z [V4L2:AUTO] Could not find any capture device settings 2024-06-28T15:27:42.497Z [WEBSOCKET] (WebSocketClient.cpp:188) send close: 1000 2024-06-28T15:27:42.723Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.1.129 2024-06-28T15:27:55.389Z [MUXER0] Removed source priority 240 2024-06-28T15:27:55.389Z [COMPONENTCTRL0] Video capture device: disabled 2024-06-28T15:28:13.914Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:28:13.914Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:28:13.914Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:28:13.914Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:28:13.914Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:28:13.914Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:28:13.915Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:28:13.915Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:28:13.915Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:28:13.915Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:28:13.915Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:28:13.915Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:28:13.915Z [V4L2:AUTO] setQFrameDecimation is now: enabled 2024-06-28T15:29:21.340Z [WEBSOCKET] (HyperAPI.cpp:1109) message: [{"command":"leddevice","ledDeviceType":"","params":{},"subcommand":"hasLedClock","tan":1}] 2024-06-28T15:29:25.487Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.1.129 2024-06-28T15:29:27.047Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::ffff:192.168.1.129 2024-06-28T15:29:32.489Z [EFFECTENGINE0] Run effect "Atomic swirl" on channel 1 2024-06-28T15:29:32.489Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Atomic swirl] 2024-06-28T15:29:32.489Z [MUXER0] Register new input 'Web Configuration@::ffff:192.168.1.129/EFFECT' with priority 1 as inactive 2024-06-28T15:29:32.490Z [EFFECT0(Atomic...)] Begin playing the effect with priority: 1 2024-06-28T15:29:32.491Z [MUXER0] Priority 1 is now active 2024-06-28T15:29:32.491Z [MUXER0] Set visible priority to 1 2024-06-28T15:29:32.491Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-06-28T15:29:32.491Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:29:32.491Z [SMOOTHING0] Selecting config (2) => type: Linear, directMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0 2024-06-28T15:29:32.491Z [SMOOTHING0] Using linear smoothing input (2) 2024-06-28T15:29:32.491Z [LEDDEVICE0_WS281X] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:29:32.491Z [HYPERHDR0] New priority[1], previous [255] 2024-06-28T15:29:32.491Z [HYPERHDR0] New source available -> switch LED-Device on 2024-06-28T15:29:32.491Z [LEDDEVICE0_WS281X] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 25.00 Hz 2024-06-28T15:29:32.492Z [SMOOTHING0] Clearing queued colors before: enabling 2024-06-28T15:29:32.492Z [LEDDEVICE0_WS281X] (LedDevice.cpp:423) Refresh rate = 25.00 Hz 2024-06-28T15:29:32.492Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:29:32.492Z [LEDDEVICE0_WS281X] (LedDevice.cpp:367) Starting timer with interval = 40ms 2024-06-28T15:29:32.492Z [LEDDEVICE0_WS281X] (LedDevice.cpp:433) Refresh interval updated to 40ms 2024-06-28T15:29:32.492Z [LEDDEVICE0_WS281X] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms) 2024-06-28T15:29:32.492Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-06-28T15:29:32.492Z [LEDDEVICE0_WS281X] (LedDevice.cpp:247) Enable the device 2024-06-28T15:29:32.492Z [SMOOTHING0] Using linear smoothing input (2) 2024-06-28T15:29:32.572Z [SMOOTHING0] Using linear smoothing procedure (2) 2024-06-28T15:30:44.947Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:30:44.948Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:30:44.948Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:30:44.948Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:30:44.948Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:30:44.948Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:30:44.948Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:30:44.948Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:30:44.948Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:30:44.948Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:30:44.948Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:30:44.948Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:30:44.948Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:30:53.085Z [PERFORMANCE] [INSTANCE0: FPS = 14.51, processed = 871] 2024-06-28T15:30:53.092Z [PERFORMANCE] [INSTANCE0: FPS = 14.51, processed = 871], [LED0: FPS = 25.00, send = 1500, processed = 1500, dropped = 0] 2024-06-28T15:30:56.930Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:30:56.930Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:30:56.930Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:30:56.930Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:30:56.930Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:30:56.930Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:30:56.930Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:30:56.930Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:30:56.930Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:30:56.930Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:30:56.930Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:30:56.930Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: 'unicam-image (video0)' new: 'bcm2835-isp-capture0 (video14)' 2024-06-28T15:30:56.930Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device 2024-06-28T15:30:56.930Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:30:56.930Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:30:56.930Z [V4L2:AUTO] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration 2024-06-28T15:30:56.930Z [V4L2:AUTO] Multithreading for V4L2 is enabled. Available thread's count 3 2024-06-28T15:30:56.931Z [V4L2:AUTO] Found capture device: /dev/video15 2024-06-28T15:30:56.931Z [V4L2:AUTO] Found capture device: /dev/video21 2024-06-28T15:30:56.932Z [V4L2:AUTO] Found capture device: /dev/video14 2024-06-28T15:30:56.932Z [V4L2:AUTO] Found capture device: /dev/video22 2024-06-28T15:30:56.933Z [V4L2:AUTO] Found capture device: /dev/video0 2024-06-28T15:30:56.935Z [V4L2:AUTO] (V4L2Grabber.cpp:213) Searching for bcm2835-isp-capture0 (video14) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2024-06-28T15:30:56.935Z [V4L2:AUTO] Could not find any capture device settings 2024-06-28T15:31:09.921Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:31:09.921Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:31:09.921Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:31:09.921Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:31:09.921Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:31:09.921Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:31:09.921Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:31:09.921Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:31:09.921Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:31:09.921Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:31:09.921Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:31:09.921Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: 'bcm2835-isp-capture0 (video14)' new: 'unicam-image (video0)' 2024-06-28T15:31:09.921Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device 2024-06-28T15:31:09.922Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:31:09.922Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:31:09.922Z [V4L2:AUTO] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration 2024-06-28T15:31:09.922Z [V4L2:AUTO] Multithreading for V4L2 is enabled. Available thread's count 3 2024-06-28T15:31:09.922Z [V4L2:AUTO] Found capture device: /dev/video15 2024-06-28T15:31:09.923Z [V4L2:AUTO] Found capture device: /dev/video21 2024-06-28T15:31:09.924Z [V4L2:AUTO] Found capture device: /dev/video14 2024-06-28T15:31:09.924Z [V4L2:AUTO] Found capture device: /dev/video22 2024-06-28T15:31:09.925Z [V4L2:AUTO] Found capture device: /dev/video0 2024-06-28T15:31:09.928Z [V4L2:AUTO] (V4L2Grabber.cpp:213) Searching for unicam-image (video0) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2024-06-28T15:31:09.928Z [V4L2:AUTO] Could not find any capture device settings 2024-06-28T15:31:13.011Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:31:13.011Z [V4L2:auto] (GrabberWrapper.cpp:488) Auto resume is: enabled 2024-06-28T15:31:13.011Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:31:13.011Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:31:13.011Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:31:13.011Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:31:13.011Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:31:13.012Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:31:13.012Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:31:13.012Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:31:13.012Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:31:13.012Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2024-06-28T15:31:13.012Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:31:13.012Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:31:25.579Z [MUXER0] Removed source priority 1 2024-06-28T15:31:25.579Z [MUXER0] Set visible priority to 255 2024-06-28T15:31:25.579Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer. 2024-06-28T15:31:25.579Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:31:25.579Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250 2024-06-28T15:31:25.579Z [SMOOTHING0] Using alternative smoothing input (0) 2024-06-28T15:31:25.579Z [HYPERHDR0] New priority[255], previous [1] 2024-06-28T15:31:25.579Z [HYPERHDR0] No source left -> switch LED-Device off 2024-06-28T15:31:25.579Z [SMOOTHING0] Clearing queued colors before: disabling 2024-06-28T15:31:25.579Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:31:25.579Z [LEDDEVICE0_WS281X] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:31:25.579Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:423) Refresh rate = 50.00 Hz 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:433) Refresh interval updated to 20ms 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms) 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:297) Disable the device 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:90) Switch off 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:126) Power Off 2024-06-28T15:31:25.580Z [LEDDEVICE0_WS281X] (LedDevice.cpp:544) Set LED strip to black/power off 2024-06-28T15:31:25.583Z [EFFECT0(Atomic...)] The effect quits with priority: 1 2024-06-28T15:31:25.583Z [EFFECTENGINE0] Effect 'Atomic swirl' has finished. 2024-06-28T15:31:25.583Z [EFFECT0(Atomic...)] Effect named: 'Atomic swirl' is deleted 2024-06-28T15:31:25.604Z [COMPONENTCTRL0] LED device: disabled 2024-06-28T15:37:08.222Z [WEBSOCKET] (WebSocketClient.cpp:188) send close: 1000 2024-06-28T15:37:08.434Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.1.129 2024-06-28T15:37:42.469Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:37:42.469Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:37:42.469Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:37:42.469Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:37:42.469Z [SIGNAL_AUTO] Waiting for the first SDR frame 2024-06-28T15:38:25.407Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:38:25.407Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:38:25.408Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:38:25.408Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:38:25.408Z [SIGNAL_AUTO] Calibration was interrupted 2024-06-28T15:38:27.065Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:38:27.113Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:38:27.135Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:38:27.135Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:38:27.135Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:38:27.135Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:38:27.135Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:38:27.135Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:38:27.135Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:38:27.135Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:38:27.135Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:38:27.135Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200 2024-06-28T15:38:27.135Z [V4L2:AUTO] Automatic signal detection is now enabled 2024-06-28T15:38:27.135Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000 2024-06-28T15:38:27.135Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:38:27.135Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:38:30.399Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:38:30.399Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:38:30.399Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:38:30.399Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:38:30.399Z [SIGNAL_AUTO] Waiting for the first SDR frame 2024-06-28T15:38:36.582Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:38:36.583Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:38:36.583Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:38:36.583Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:38:36.583Z [SIGNAL_AUTO] Calibration was interrupted 2024-06-28T15:44:44.733Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:44:44.759Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:44:44.777Z [FRAMEBUFFER_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:44:44.777Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:44:44.777Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:44:46.573Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:44:46.600Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:44:46.617Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:44:46.617Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2024-06-28T15:44:46.617Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0 2024-06-28T15:44:46.617Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed 2024-06-28T15:44:46.617Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled 2024-06-28T15:44:46.617Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:44:46.618Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:44:46.618Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1 2024-06-28T15:44:46.618Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:44:46.618Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200 2024-06-28T15:44:46.618Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000 2024-06-28T15:44:46.618Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: 'unicam-image (video0)' new: 'auto' 2024-06-28T15:44:46.618Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device 2024-06-28T15:44:46.618Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2024-06-28T15:44:46.618Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2024-06-28T15:44:46.618Z [V4L2:AUTO] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration 2024-06-28T15:44:46.618Z [V4L2:AUTO] Multithreading for V4L2 is enabled. Available thread's count 3 2024-06-28T15:44:46.618Z [V4L2:AUTO] Found capture device: /dev/video15 2024-06-28T15:44:46.618Z [V4L2:AUTO] Found capture device: /dev/video21 2024-06-28T15:44:46.622Z [V4L2:AUTO] Found capture device: /dev/video14 2024-06-28T15:44:46.623Z [V4L2:AUTO] Found capture device: /dev/video22 2024-06-28T15:44:46.623Z [V4L2:AUTO] Found capture device: /dev/video0 2024-06-28T15:44:46.624Z [V4L2:AUTO] (V4L2Grabber.cpp:193) Forcing auto discovery device 2024-06-28T15:44:46.624Z [V4L2:AUTO] Could not find any capture device 2024-06-28T15:44:59.748Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:44:59.778Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:44:59.798Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive 2024-06-28T15:44:59.798Z [COMPONENTCTRL0] System capture device: enabled 2024-06-28T15:44:59.798Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:98) init 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:117) Forcing auto discovery device 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:122) Auto discovery set to /dev/fb0 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] Starting FrameBuffer grabber. Selected: '/dev/fb0' (0) max width: 512 (512) @ 10 fps 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] Device '/dev/fb0' is using currently 1920x1080x16 resolution. 2024-06-28T15:44:59.799Z [FRAMEBUFFER_SYSTEM:AUTO] Started 2024-06-28T15:44:59.918Z [MUXER0] Priority 245 is now active 2024-06-28T15:44:59.918Z [MUXER0] Set visible priority to 245 2024-06-28T15:44:59.918Z [HYPERHDR0] New priority[245], previous [255] 2024-06-28T15:44:59.918Z [HYPERHDR0] New source available -> switch LED-Device on 2024-06-28T15:44:59.918Z [SMOOTHING0] Clearing queued colors before: enabling 2024-06-28T15:44:59.918Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:44:59.918Z [LEDDEVICE0_WS281X] (LedDevice.cpp:247) Enable the device 2024-06-28T15:44:59.918Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1 2024-06-28T15:44:59.919Z [IMAGETOLED_MNG0] Total index number is: 34080 (memory: 34080). User sparse processing is: disabled, image size: 480 x 270, area number: 40 2024-06-28T15:44:59.919Z [LEDDEVICE0_WS281X] (LedDevice.cpp:64) Switch on 2024-06-28T15:44:59.919Z [LEDDEVICE0_WS281X] (LedDevice.cpp:140) Power On 2024-06-28T15:44:59.919Z [LEDDEVICE0_WS281X] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-06-28T15:44:59.920Z [COMPONENTCTRL0] LED device: enabled 2024-06-28T15:44:59.920Z [SMOOTHING0] Using alternative smoothing input (0) 2024-06-28T15:44:59.960Z [SMOOTHING0] Using alternative smoothing procedure (0) 2024-06-28T15:45:45.305Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:45:45.325Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:45:45.345Z [FRAMEBUFFER_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:45:45.346Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:45:45.346Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:45:51.480Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:45:51.509Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:45:51.518Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:45:51.540Z [MUXER0] Removed source priority 245 2024-06-28T15:45:51.540Z [MUXER0] Set visible priority to 255 2024-06-28T15:45:51.540Z [HYPERHDR0] New priority[255], previous [245] 2024-06-28T15:45:51.540Z [HYPERHDR0] No source left -> switch LED-Device off 2024-06-28T15:45:51.541Z [SMOOTHING0] Clearing queued colors before: disabling 2024-06-28T15:45:51.541Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:45:51.541Z [LEDDEVICE0_WS281X] (LedDevice.cpp:297) Disable the device 2024-06-28T15:45:51.541Z [LEDDEVICE0_WS281X] (LedDevice.cpp:381) Stopping refresh timer 2024-06-28T15:45:51.541Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0 2024-06-28T15:45:51.541Z [LEDDEVICE0_WS281X] (LedDevice.cpp:90) Switch off 2024-06-28T15:45:51.541Z [LEDDEVICE0_WS281X] (LedDevice.cpp:126) Power Off 2024-06-28T15:45:51.541Z [COMPONENTCTRL0] System capture device: disabled 2024-06-28T15:45:51.541Z [LEDDEVICE0_WS281X] (LedDevice.cpp:544) Set LED strip to black/power off 2024-06-28T15:45:51.541Z [FRAMEBUFFER_SYSTEM:AUTO] Stopped 2024-06-28T15:45:51.572Z [COMPONENTCTRL0] LED device: disabled 2024-06-28T15:47:12.598Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive 2024-06-28T15:47:12.598Z [COMPONENTCTRL0] System capture device: enabled 2024-06-28T15:47:12.598Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:98) init 2024-06-28T15:47:12.598Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:47:12.598Z [FRAMEBUFFER_SYSTEM:AUTO] Starting FrameBuffer grabber. Selected: '/dev/fb0' (0) max width: 512 (512) @ 10 fps 2024-06-28T15:47:12.598Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:47:12.599Z [FRAMEBUFFER_SYSTEM:AUTO] Device '/dev/fb0' is using currently 1920x1080x16 resolution. 2024-06-28T15:47:12.599Z [FRAMEBUFFER_SYSTEM:AUTO] Started 2024-06-28T15:47:12.707Z [MUXER0] Priority 245 is now active 2024-06-28T15:47:12.707Z [MUXER0] Set visible priority to 245 2024-06-28T15:47:12.707Z [HYPERHDR0] New priority[245], previous [255] 2024-06-28T15:47:12.707Z [HYPERHDR0] New source available -> switch LED-Device on 2024-06-28T15:47:12.707Z [SMOOTHING0] Clearing queued colors before: enabling 2024-06-28T15:47:12.707Z [SMOOTHING0] Smoothing queue is cleared 2024-06-28T15:47:12.707Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1 2024-06-28T15:47:12.708Z [LEDDEVICE0_WS281X] (LedDevice.cpp:247) Enable the device 2024-06-28T15:47:12.709Z [LEDDEVICE0_WS281X] (LedDevice.cpp:64) Switch on 2024-06-28T15:47:12.709Z [LEDDEVICE0_WS281X] (LedDevice.cpp:140) Power On 2024-06-28T15:47:12.709Z [LEDDEVICE0_WS281X] (LedDevice.cpp:367) Starting timer with interval = 20ms 2024-06-28T15:47:12.709Z [COMPONENTCTRL0] LED device: enabled 2024-06-28T15:47:12.710Z [SMOOTHING0] Using alternative smoothing input (0) 2024-06-28T15:47:12.750Z [SMOOTHING0] Using alternative smoothing procedure (0) 2024-06-28T15:47:32.454Z [V4L2:AUTO] setHdrToneMappingMode to: enable, but the LUT file is currently unloaded 2024-06-28T15:47:32.454Z [V4L2:AUTO] (V4L2Grabber.cpp:131) setHdrToneMappingMode replacing LUT and restarting 2024-06-28T15:47:32.454Z [V4L2:AUTO] (V4L2Grabber.cpp:105) LUT folder location: '/usr/share/hyperhdr/lut' 2024-06-28T15:47:32.454Z [V4L2:AUTO] LUT file is not found here: /.hyperhdr/lut_lin_tables.3d 2024-06-28T15:47:32.455Z [V4L2:AUTO] (Grabber.cpp:458) LUT file found: /usr/share/hyperhdr/lut/lut_lin_tables.3d 2024-06-28T15:47:32.455Z [V4L2:AUTO] (Grabber.cpp:477) Index 0 for HDR RGB 2024-06-28T15:47:33.603Z [V4L2:AUTO] Found and loaded LUT: '/usr/share/hyperhdr/lut/lut_lin_tables.3d' 2024-06-28T15:47:33.603Z [COMPONENTCTRL0] HDR (global): enabled 2024-06-28T15:47:57.833Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:47:57.854Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2024-06-28T15:47:57.875Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2024-06-28T15:47:57.875Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '/dev/fb0' new: 'auto' 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Delayed restart of the grabber due to change of selected device 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Stopped 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:90) Uninit grabber: auto 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:98) init 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:117) Forcing auto discovery device 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:122) Auto discovery set to /dev/fb0 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Starting FrameBuffer grabber. Selected: '/dev/fb0' (0) max width: 512 (512) @ 10 fps 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Device '/dev/fb0' is using currently 1920x1080x16 resolution. 2024-06-28T15:47:57.875Z [FRAMEBUFFER_SYSTEM:AUTO] Started 2024-06-28T15:48:03.580Z [INSTANCE_CFG0] Fixing json data! 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.blueSignalThreshold: Create property: blueSignalThreshold with value: 5 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.greenSignalThreshold: Create property: greenSignalThreshold with value: 5 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.noSignalCounterThreshold: Create property: noSignalCounterThreshold with value: 200 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.redSignalThreshold: Create property: redSignalThreshold with value: 5 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMax: Create property: sDHOffsetMax with value: 0.75 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDHOffsetMin: Create property: sDHOffsetMin with value: 0.25 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMax: Create property: sDVOffsetMax with value: 0.75 2024-06-28T15:48:03.619Z [INSTANCE_CFG0] Config Fix: [root].videoGrabber.sDVOffsetMin: Create property: sDVOffsetMin with value: 0.25 2024-06-28T15:50:53.092Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:51:53.099Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:52:53.087Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:53:53.091Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:54:53.093Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:55:53.087Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:56:53.098Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:57:53.094Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:58:53.094Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T15:59:53.090Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:03:53.089Z [PERFORMANCE] Previous line repeats 2 times 2024-06-28T16:03:53.089Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 2999, processed = 2999, dropped = 0] 2024-06-28T16:04:53.086Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3001, processed = 3001, dropped = 0] 2024-06-28T16:05:53.084Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:06:53.084Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:07:53.093Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:08:53.090Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:09:53.084Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:10:53.087Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:11:53.085Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:12:53.093Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:13:53.085Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:14:53.087Z [PERFORMANCE] [INSTANCE0: FPS = 10.00, processed = 600], [LED0: FPS = 50.00, send = 3000, processed = 3000, dropped = 0] 2024-06-28T16:52:58.413Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.1.129

awawa-dev commented 2 weeks ago

2024-06-28T15:31:09.925Z [V4L2:AUTO] Found capture device: /dev/video0 2024-06-28T15:31:09.928Z [V4L2:AUTO] (V4L2Grabber.cpp:213) Searching for unicam-image (video0) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2024-06-28T15:31:09.928Z [V4L2:AUTO] Could not find any capture device settings

Your device simply does not comply with v4l2 rules or is missing drivers: it does not inform clients in which formats it offers capture. I've encountered something like this before in prehistoric analog grabbers like here: https://github.com/awawa-dev/HyperHDR/pull/423 where you had to blindly assume and force some initial parameters.

For example it should report such logs:

2024-05-26T21:01:46.713Z [LEDDEVICE0_FILE] (LedDevice.cpp:247) Enable the device 2024-05-26T21:01:46.769Z [V4L2:AUTO] Found capture device: /dev/video0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1920 x 1080 @ 60 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1920 x 1080 @ 50 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1920 x 1080 @ 30 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1920 x 1080 @ 20 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1920 x 1080 @ 10 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1600 x 1200 @ 60 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1600 x 1200 @ 50 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1600 x 1200 @ 30 fps yuyv input 0 2024-05-26T21:01:46.770Z [V4L2:AUTO] USB3.0 UHD: USB3.0 UHD (video0) [/dev/video0] 1600 x 1200 @ 20 fps yuyv input 0

jsammarco commented 2 weeks ago

Thanks for the info. I have it setup as 1920x1080 @ 30fps yuyv. It displays fine using: ffplay /dev/video0 Is there a way to just look at the computers desktop and screengrab that? This way I can just ffplay to the desktop then we can scrap that for the picture. Thank you

jsammarco commented 2 weeks ago

The device that I am using and does work just fine in the Raspberry OS is this: https://www.amazon.com/dp/B0CYPVQRCW for reference. Thank you

awawa-dev commented 2 weeks ago

Then you can run these commands to find out what this device is worth in terms of v4l2 compliance (nothing more was promised here): v4l2-ctl --all and v4l2-ctl --list-formats-ext

For reference: https://www.hyperhdr.eu/2020/11/grabber-for-hyperhdr-rullz-usb-20.html

jsammarco commented 2 weeks ago

Then you can run these commands to find out what this device is worth in terms of v4l2 compliance (nothing more was promised here): v4l2-ctl --all and v4l2-ctl --list-formats-ext

For reference: https://www.hyperhdr.eu/2020/11/grabber-for-hyperhdr-rullz-usb-20.html

Thank you. Here are the results of those commands, looks good to me. Anything else you see wrong with the input?

pi@raspberrypi:~ $ v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture

    [0]: 'RGB3' (24-bit RGB 8-8-8)
    [1]: 'UYVY' (UYVY 4:2:2)

pi@raspberrypi:~ $ v4l2-ctl --all Driver Info: Driver name : unicam Card type : unicam Bus info : platform:fe801000.csi Driver version : 6.6.31 Capabilities : 0x85a00001 Video Capture Metadata Capture Read/Write Streaming Extended Pix Format Device Capabilities Device Caps : 0x05200001 Video Capture Read/Write Streaming Extended Pix Format Media Driver Info: Driver name : unicam Model : unicam Serial : Bus info : platform:fe801000.csi Media version : 6.6.31 Hardware revision: 0x00000000 (0) Driver version : 6.6.31 Interface Info: ID : 0x03000005 Type : V4L Video Entity Info: ID : 0x00000003 (3) Name : unicam-image Function : V4L2 I/O Flags : default Pad 0x01000004 : 0: Sink Link 0x02000007: from remote pad 0x1000002 of entity 'tc358743 10-000f' (Video Interface Bridge): Data, Enabled, Immutable Priority: 2 Video input : 0 (Camera 0: ok) DV timings: Active width: 1920 Active height: 1080 Total width: 2200 Total height: 1125 Frame format: progressive Polarities: -vsync -hsync Pixelclock: 74250000 Hz (30.00 frames per second) Horizontal frontporch: 0 Horizontal sync: 280 Horizontal backporch: 0 Vertical frontporch: 0 Vertical sync: 45 Vertical backporch: 0 Standards: Flags: DV timings capabilities: Minimum Width: 640 Maximum Width: 1920 Minimum Height: 350 Maximum Height: 1200 Minimum PClock: 13000000 Maximum PClock: 165000000 Standards: CTA-861, DMT, CVT, GTF Capabilities: Progressive, Reduced Blanking, Custom Formats Format Video Capture: Width/Height : 1920/1080 Pixel Format : 'UYVY' (UYVY 4:2:2) Field : None Bytes per Line : 3840 Size Image : 4147200 Colorspace : SMPTE 170M Transfer Function : Default (maps to Rec. 709) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Limited Range) Flags :

User Controls

        audio_sampling_rate 0x00981980 (int)    : min=0 max=768000 step=1 default=0 value=48000 flags=read-only
              audio_present 0x00981981 (bool)   : default=0 value=1 flags=read-only

Digital Video Controls

              power_present 0x00a00964 (bitmask): max=0x00000001 default=0x00000000 value=1 flags=read-only
awawa-dev commented 2 weeks ago

If you compare this output with the reference link which includes an example of the expected correct output, this output is not correct and the situation is exactly as I described in https://github.com/awawa-dev/HyperHDR/issues/888#issuecomment-2197721752

jsammarco commented 2 weeks ago

Hi, Thanks for the help, I'm still confused as to what the problem is? The device works perfect and displays with ffplay. Does it need to be mjpeg or yuyv? I can change the resolution and fps if needed along with pixel type. I just need to know what to set them to? Is there not a way to pipe the video from ffplay to the application? or scrape the desktop picture? Thank you

jsammarco commented 2 weeks ago

Also here is the output from ffplay while playing, hope it can help:

pi@raspberrypi:~ $ ffplay /dev/video0 ffplay version 5.1.5-0+rpt1+deb12u1 Copyright (c) 2003-2024 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+rpt1+deb12u1 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --disable-mmal --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sand --enable-sdl2 --disable-sndio --enable-libjxl --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [video4linux2,v4l2 @ 0x7f70000c20] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device [video4linux2,v4l2 @ 0x7f70000c20] Time per frame unknown [video4linux2,v4l2 @ 0x7f70000c20] Stream #0: not enough frames to estimate rate; consider increasing probesize Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 16246.544064, bitrate: N/A Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, 1000k tbr, 1000k tbn

awawa-dev commented 2 weeks ago

To start capturing, HyperHDR must know the video format and its resolution (width x height). These values ​​for all modern grabbers are reported by the driver in v4l2. However, this device only tells us what video formats it supports, without information about resolution. The only solution is to detect such a device in HyperHDR and treat it specially, e.g. rigidly assume that it can always capture 1080p YUV (even if it receives 720p at the input, hence a potential problem because we don't know if 1080p capturing is still valid for 720p input: it should be always reported by the device in v4l2 properties) as I implemented in PR https://github.com/awawa-dev/HyperHDR/pull/423

awawa-dev commented 2 weeks ago

I can prepare similar workaround if you are willing to test it. But not today, tomorrow.

jsammarco commented 2 weeks ago

I can prepare similar workaround if you are willing to test it. But not today, tomorrow.

Yes, I would be happy to test. Thank you

awawa-dev commented 2 weeks ago

Hi I think I solved it another way. Also I needed to add support for UYUV in HyperHDR. Please test new version, installers are here: https://github.com/awawa-dev/HyperHDR/actions/runs/9725780984 If works please also test 'Quarter of frame mode' option in the grabber settings (check if preview video is still OK) and upload full HyperHDR logs to pastebin or something similar.

jsammarco commented 2 weeks ago

Hi I think I solved it another way. Also I needed to add support for UYUV in HyperHDR. Please test new version, installers are here: https://github.com/awawa-dev/HyperHDR/actions/runs/9725780984 If works please also test 'Quarter of frame mode' option in the grabber settings (check if preview video is still OK) and upload full HyperHDR logs to pastebin or something similar.

You are AWESOME!!! Thank you so much. Works perfect. "Quarter of frame mode" works and still displays correctly in preview. Here are logs too: https://pastebin.com/ebuAjMTs Let me know if you'd like me to test anything else. I will keep going to get this working! Thanks again! Beautiful software you created!

jsammarco commented 2 weeks ago

Ok, So now I'm running into a new issue, where it says I have to run it as root for the LEDs to work. I installed it and turned on the service like normal. The LEDs did work in the previous version. How can I run the service as root? Hopefully something simple Thanks Joe

awawa-dev commented 2 weeks ago

Thank you for testing and your support 😃

How can I run the service as root?

This driver is not officially supported but it should work if you switch the service to root user: https://github.com/awawa-dev/HyperHDR/issues/52#issuecomment-826090796 Your configuration will remain in the user's old home directory, so you'll need to copy it to the root directory (when the service stops) or start from scratch. You can also make a backup from the user interface (General tab) and restore it later, and this is probably the best solution.

jsammarco commented 2 weeks ago

Thank you!

jsammarco commented 2 weeks ago

Hi Awawa-dev, I need to have the following commands ran after each reboot before the service starts. I'm trying to put them in rc.local but doesnt seem to help until I run them as the user. I'm going to figure this out and create a video/page to help others. Once its worked out it would be a nicer solution if these can be configured in the software. I'll update this once I get everything working. Thank you!

v4l2-ctl --set-edid=file=edid.txt --fix-edid-checksums v4l2-ctl --query-dv-timings v4l2-ctl --set-dv-bt-timings query

awawa-dev commented 2 weeks ago

rc.local starts last, HyperHDR is probably faster. You can add sleep command to the HyperHDR service and delay it down a bit: for example like here https://github.com/awawa-dev/HyperHDR/issues/742#issuecomment-1914632378 but 30 sec is overkill for this case, few sec should be enough. Then the settings in rc.local should work. Or add these commands instead of rc.local to the HyperHDR service directly (small sideeffect: the commands will be executed each time the HyperHDR service is restarted)

v4l2-ctl --set-edid=file=edid.txt --fix-edid-checksums

BTW you should use the absolute path (for edid.txt) in the script

jsammarco commented 2 weeks ago

Hi Awawa, I ran into a new issue once I added the HDMI splitter. for some reason now the picture comes in upside down and I can't find a way to flip it in the OS. Is there any way to add a checkbox to flip the picture when capturing? Thank you Joe

awawa-dev commented 2 weeks ago

There is no such option, and adding it for such unique case would complicate the frame decoding source code and could also have a slight adverse impact on overall performance for all devices, so I don't plan to implement it. However, if nothing helps, there is a workaround: you can design the LED strip geometry in HyperHDR to be upside down as well. The live view in HyperHDR will still be broken/flipped, but the LEDs should work properly according to the video stream.

jsammarco commented 2 weeks ago

Thanks, I'm not sure what the issue is but when I stopped the service then played video0 with ffplay it worked perfectly and was right side up. Then I stopped ffplay and restarted the hyperhdr service and now it displays correctly. Not sure what is causing the picture to sometimes flip. I will update the thread if I figure it out. Thanks, FYI: This device would be the ideal one to use on a Raspberry Pi. It is cheap and works well (mostly). Thanks again.