Hi All,
I've been using Hyperion for years and have a working classic setup with HDMI2AV on an older TV, and just recently purchased a new 4k.
On the new one I went with RPi3B, WS2812spi, and Hyperion.ng - all of which appears to be working fine, but running into the same issues of HDR washout, etc... that everyone else sees when using converters/splitters and a USB AV Cap dongle. So decided to try out the USB camera solution as discussed in this thread: https://hyperion-project.org/t…repare-input-region.2615/
Had a Logitech C270 already, so the setup was pretty straight forward and largely works, but strangely the NG version of hyperion-v4l2 will only capture at 160x120, even with no screen decrementing. Even setting the resolution with v4l2-ctl before running it has no effect, because it seems to just get set back whenever hyperion-v4l2 runs:
pi@raspberrypi:~ $ v4l2-ctl -v width=640,height=480
pi@raspberrypi:~ $ v4l2-ctl -V
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV' (YUYV 4:2:2)
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
pi@raspberrypi:~ $ hyperion-v4l2 -s 1 --screenshot
hyperion-v4l2:
Version : 1.0.0 (master (Paulchen-Panther-65c2fdba/4fc745e7-1564845603) Git Remote: https://github.com/hyperion-project/hyperion.ng.git)
build time: Aug 7 2019 17:32:36
Signal detection informations
=============================
dimension after decimation: 160 x 120
signal detection area : 40,30 x 120,90
WARNING "no signal image" is to dark, signal detection is not relaiable.
WARNING difference between threshold color and the other color components is to small, signal detection might have problems.
suggested config values for signal detection:
"redSignalThreshold" : 0.29,
"greenSignalThreshold" : 0.39,
"blueSignalThreshold" : 0.32,
"signalDetectionHorizontalOffsetMin" : 0.26,
"signalDetectionVerticalOffsetMin" : 0.27,
"signalDetectionHorizontalOffsetMax" : 0.3,
"signalDetectionVerticalOffsetMax" : 0.75
Alles anzeigen
Relevant config entries here:
"general": {
"name": "My Hyperion Config",
"showOptHelp": true,
"watchedVersionBranch": "Stable"
},
"grabberV4L2": {
"blueSignalThreshold": 5,
"cropBottom": 0,
"cropLeft": 0,
"cropRight": 0,
"cropTop": 0,
"device": "/dev/video0",
"greenSignalThreshold": 5,
"redSignalThreshold": 5,
"sDHOffsetMax": 0.75,
"sDHOffsetMin": 0.25,
"sDVOffsetMax": 0.75,
"sDVOffsetMin": 0.25,
"signalDetection": true,
"sizeDecimation": 1,
"standard": "NO_CHANGE"
},
"instCapture": {
"systemEnable": false,
"systemPriority": 250,
"v4lEnable": true,
"v4lPriority": 240
},
Alles anzeigen
Since it looks like the latest hyperion-v4l2 no longer supports setting width/height, I'm at a loss on how to crack this. Not sure if it's a bug or just me missing something simple. Any ideas?