I finally got it to work. With the help PClin.
Playing with the fps and resolution made the latency a lot shorter.
I finally got it to work. With the help PClin.
Playing with the fps and resolution made the latency a lot shorter.
Alles anzeigenSearch for the hyperion.service file, and add befor ExecStart=
ExecStartPre=/usr/bin/v4l2-ctl -v pixelformat = YUYV
This is how it looks for me on the Dreambox TWO. the RPI should look similar.
Use a linux compliant editor geany, notepad++, set end of line to LF (Unix).
CodeAlles anzeigen[Unit] Description=Hyperion-v4l2 Systemd service Conflicts=hyperionaml.service Conflicts=hyperion.service After=network-online.target [Service] Type=simple User=root Group=root UMask=007 ExecStartPre=/root/.hyperion/hyperion-v4l2-ctl.conf ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config-v4l2.json ExecStartPost=/usr/bin/curl -X SET "http://192.168.178.82/win&T=1&RD=1&SN=0&RN=0" ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure TimeoutStopSec=10 [Install] WantedBy=multi-user.target
greetings pclin
Hi pclin,
I tried your advice but I still get the
VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device
When I use Putty to manually send:
v4l2-ctl -v pixelformat = YUYV
And then afterwards send the command:
hyperion-v4l2 --device /dev/video0 --input 0 --width -1 --height -1 --crop-left 0 --crop-right 0 --crop-top 0 --crop-bottom 0 --size-decimator 1 --frame-decimator 2 --red-threshold 0.0 --green-threshold 0.0 --blue-threshold 0.0 --screenshot
I can then afterwards see the grabbed image in HyperCon, so I know it works, but still Hyperion fails to work.
Is it maybe possible to send me your hyperion.config.json and hyperion.service file?
Or are there other things I'm missing.
Thank you again for the quick replies
Ja der Grabber funktioniert sehr gut mit hyperion (classic) und hyperion-ng.
Bei hyperion (classic) muss man das Pixelformat YUYV vor dem Start von hyperion setzen, hyperion-ng macht das alles automatisch, und kann YUYV und MJPG.
Für hyperion (classic) kannst du hier nachlesen was man machen muss damit es funktioniert (ab Post #6)
Inzwischen gibt es auch eine neue Version mit Input 4K 60Hz & Loop Out, Capture 1080p/60 RULLZ Grabber Coffee.
gruß pclin
Vielen Dank
Ich werd's versuchen.
Hey all,
I have bought the same grabber but still get an error when trying to use this grabber:
VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device
Any ideas how to fix this.
Ive tried Hyperion with Raspberry PI OS and also with LibreElec and both give the same problem.
Hyperion itself works, because when I disable the grabber it seems to work perfectly. I can send color commands and the leds light up the correct way.
Alles anzeigenHi,
ich habe heuteden USB 4k30 USB2.0 Grabber bekommen den auch jochenf bestellt hat.
1920x1080 30fps macht der nur im MJPG.
Bei YUYV ist 720x480 30 fps das Maximum.
Soweit funktioniert das kleine billige Teil aber sonst ganz gut.
Ob der wirklich 4k 30 Grabben kann werde ich morgen testen können.
Hersteller ist MACROSILICON, ProdID=2109 Rev=21.00
Oben ist der Kühlkörper aufgeklebt, unter der Platine ein Wärmeleitpad das mit dem Alu Profil Kontakt hat.
[18:41 root@dreamone tmp] > v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1600x1200
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1360x768
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x1024
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 720x576
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.020s (50.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1600x1200
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1360x768
Interval: Discrete 0.125s (8.000 fps)
Size: Discrete 1280x1024
Interval: Discrete 0.125s (8.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.125s (8.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 720x576
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
gruß pclin
Hi PClin,
Ich entschuldige mich für mein schlechtes Deutsch.
Ich habe auch diesen Grabber gekauft und kann bestätigen, dass Raspberry Pi diese Hardware über bestimmte Software nutzen kann. Aber mit Hyperion kann ich es nicht zum Funktionieren bringen. Ist Ihnen das gelungen, und können Sie mir sagen, welche Einstellungen Sie verwendet haben?
Vielen Dank im Voraus.