Closed Thinner77 closed 5 months ago
Using hyperion-v4l2 (2.0.17-beta.1) to take a screenshot results in memory access error. hyperiond is running fine.
I don't think it's related, but brightness, contrast, saturation is supposedly set to 0.
v4l2-ctl -d /dev/video0 --list-ctrls User Controls
brightness 0x00980900 (int) : min=0 max=1023 step=1 default=448 value=448 flags=slider contrast 0x00980901 (int) : min=0 max=1023 step=1 default=464 value=464 flags=slider saturation 0x00980902 (int) : min=0 max=1023 step=1 default=512 value=512 flags=slider hue 0x00980903 (int) : min=-3583 max=3583 step=1 default=0 value=0 flags=slider sharpness 0x0098091b (int) : min=0 max=255 step=1 default=96 value=96 flags=slider
./hyperion-v4l2 --device /dev/video0 --input 0 --video-standard PAL --signal-detection-disabled --screenshot --debug hyperion-v4l2: Version : 2.0.17-beta.1 (master (GitHub-49c346e0/d5438acb-1712087086)) build time: Apr 12 2024 20:14:04 2024-04-12T20:16:54.062 || V4L2 : Grabber.cpp:142:setWidthHeight() | Set new width: 640, height: 480 for capture 2024-04-12T20:16:54.067 || V4L2 : Set flipmode to NO_CHANGE 2024-04-12T20:16:54.077 || V4L2 : V4L2Grabber.cpp:151:init() | Set device (path) to: usbtv (/dev/video0) 2024-04-12T20:16:54.078 || V4L2 : Grabber.cpp:142:setWidthHeight() | Set new width: 720, height: 576 for capture 2024-04-12T20:16:54.080 || V4L2 : V4L2Grabber.cpp:488:init_device() | Set device input to: Composite 2024-04-12T20:16:54.093 |__| V4L2 : V4L2Grabber.cpp:507:init_device() | Video standard=PAL 2024-04-12T20:16:54.093 || V4L2 : V4L2Grabber.cpp:614:init_device() | Set resolution to width=720 height=576 2024-04-12T20:16:54.095 || V4L2 : V4L2Grabber.cpp:651:init_device() | Set brightness to 0 2024-04-12T20:16:54.096 |__| V4L2 : V4L2Grabber.cpp:660:init_device() | Set contrast to 0 2024-04-12T20:16:54.097 || V4L2 : V4L2Grabber.cpp:669:init_device() | Set saturation to 0 2024-04-12T20:16:54.097 |__| V4L2 : V4L2Grabber.cpp:707:init_device() | Pixel format=YUYV QObject::connect(EncoderThreadManager, V4L2Grabber): invalid nullptr parameter Speicherzugriffsfehler
screenshot is saved
hyperion-v4l2 crashes
Hyperion Server:
Hyperion Server OS:
@Thinner77 Thanks for reporting. This is a confirmed bug. We will look into it.
Thank you, works.
Bug report
Using hyperion-v4l2 (2.0.17-beta.1) to take a screenshot results in memory access error. hyperiond is running fine.
I don't think it's related, but brightness, contrast, saturation is supposedly set to 0.
v4l2-ctl -d /dev/video0 --list-ctrls User Controls
Steps to reproduce
./hyperion-v4l2 --device /dev/video0 --input 0 --video-standard PAL --signal-detection-disabled --screenshot --debug hyperion-v4l2: Version : 2.0.17-beta.1 (master (GitHub-49c346e0/d5438acb-1712087086)) build time: Apr 12 2024 20:14:04 2024-04-12T20:16:54.062 || V4L2 : Grabber.cpp:142:setWidthHeight() | Set new width: 640, height: 480 for capture
2024-04-12T20:16:54.067 | | V4L2 : Set flipmode to NO_CHANGE
2024-04-12T20:16:54.077 || V4L2 : V4L2Grabber.cpp:151:init() | Set device (path) to: usbtv (/dev/video0)
2024-04-12T20:16:54.078 | | V4L2 : Grabber.cpp:142:setWidthHeight() | Set new width: 720, height: 576 for capture
2024-04-12T20:16:54.080 || V4L2 : V4L2Grabber.cpp:488:init_device() | Set device input to: Composite
2024-04-12T20:16:54.093 |__| V4L2 : V4L2Grabber.cpp:507:init_device() | Video standard=PAL
2024-04-12T20:16:54.093 | | V4L2 : V4L2Grabber.cpp:614:init_device() | Set resolution to width=720 height=576
2024-04-12T20:16:54.095 || V4L2 : V4L2Grabber.cpp:651:init_device() | Set brightness to 0
2024-04-12T20:16:54.096 |__| V4L2 : V4L2Grabber.cpp:660:init_device() | Set contrast to 0
2024-04-12T20:16:54.097 | | V4L2 : V4L2Grabber.cpp:669:init_device() | Set saturation to 0
2024-04-12T20:16:54.097 |__| V4L2 : V4L2Grabber.cpp:707:init_device() | Pixel format=YUYV
QObject::connect(EncoderThreadManager, V4L2Grabber): invalid nullptr parameter
Speicherzugriffsfehler
What is expected?
screenshot is saved
What is actually happening?
hyperion-v4l2 crashes
System
Hyperion Server:
Hyperion Server OS: