Hello everybody,
I was using hyperion for more then 2 years on my RaspberryPi 2 with an STK1160 grabber and 2015-09-24-raspbian-jessie installed.
It worked completely stable and with no issues during this period.
As I had to update some packages and stuff I wiped my system completely and started with a new 2017-03-02-raspbian-jessie-lite a couple of days ago.
Sadly I cant get hyperion working.
I can use the android app or HyperCon to send the right colors to my ambilight (so hyperion and my config is right), but the grabbing doesnt work at all.
I set the HDMI2CVBS Konverter to NTSC (because PAL gave me back in the days allways the "frame too small" error).
When I set the V4L2 grabber to PAL and do this after reboot:
sudo service hyperion status
it gives me:
hyperion.service - Hyperion Systemd service
Loaded: loaded (/etc/systemd/system/hyperion.service; enabled)
Active: active (running) since Fri 2017-03-10 12:55:09 UTC; 1min 8s ago
Main PID: 410 (hyperiond)
CGroup: /system.slice/hyperion.service
└─410 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
Mar 10 12:55:10 raspberrypi hyperiond[410]: INFO: Hyperion started and initialised
Mar 10 12:55:10 raspberrypi hyperiond[410]: INFO: Json server created and started on port 19444
Mar 10 12:55:10 raspberrypi hyperiond[410]: INFO: Proto server created and started on port 19445
Mar 10 12:55:10 raspberrypi hyperiond[410]: V4L2GRABBER INFO: width=640 height=480
Mar 10 12:55:10 raspberrypi hyperiond[410]: V4L2GRABBER INFO: pixel format=UYVY
Mar 10 12:55:10 raspberrypi hyperiond[410]: BLACKBORDER INFO: threshold set to 0.1 (26)
Mar 10 12:55:10 raspberrypi hyperiond[410]: BLACKBORDER INFO: mode:default
Mar 10 12:55:10 raspberrypi hyperiond[410]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
Mar 10 12:55:10 raspberrypi hyperiond[410]: V4L2GRABBER INFO: started
Mar 10 12:55:10 raspberrypi hyperiond[410]: INFO: V4L2 grabber created and started
Taking a screenshot with
sudo hyperion-v4l2 -d /dev/video0 –v NTSC -f 2 -s 1 --screenshot
is not possible.
It gives me:
sudo hyperion-v4l2 -d /dev/video0 –v NTSC -f 2 -s 1 --screenshot
hyperion-v4l2:
version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
build time: Jul 25 2016 06:54:40
VIDIOC_S_FMT ERROR 16, Device or resource busy
I remember that I have to stop hyperion first to do this, but the command:
sudo /etc/init.d/hyperion stop
is not found.
Also the process "hyperion" is not found when trying to:
sudo killall hyperiond
but :
sudo service hyperion stop
seems to work.
If I then again try to take a screenshot
sudo hyperion-v4l2 -d /dev/video0 –v NTSC -f 2 -s 1 --screenshot
The terminal freezes at:
hyperion-v4l2:
version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
build time: Jul 25 2016 06:54:40
V4L2GRABBER INFO: width=640 height=480
V4L2GRABBER INFO: pixel format=UYVY
V4L2GRABBER INFO: signal threshold set to: {0,0,0}
V4L2GRABBER INFO: started
The log via the HyperCon gives me:
ssh in: Mar 10 13:01:36 raspberrypi systemd[1]: Stopping Hyperion Systemd service...
ssh in: Mar 10 13:01:36 raspberrypi hyperiond[410]: INFO: Application closed with code 0
ssh in: Mar 10 13:01:36 raspberrypi hyperiond[410]: V4L2GRABBER INFO: stopped
ssh in: Mar 10 13:01:36 raspberrypi hyperiond[410]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Mar 10 13:01:36 raspberrypi systemd[1]: Stopped Hyperion Systemd service.
On trying to take the picture from HyperCon (right click on the TVscreen and get picture) also HyperCon freezes.
I hope you guys can help me out and get the V4L2 grabber working with my STK1160 (because fushicai s**ks on grabbing regarding to the colors)