0. raspberry pi is 170705 image the latest.
1. I can get the use easycap device info
2. I can use hyperion-v4l2 --screenshot get the video input graphic
3. I can start hyperiond and hyperion-remove control leds color
I start hyperiond service with config.json. But strange thing is happening. The leds light on with raspberry pi desktop color. It should with my video stream.
start service with command: hyperiond /etc/hyperion/hyperion.config.json
record a video:
Externer Inhalt
www.youtube.com
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.
Code
Hyperion Ambilight Deamon (1600)
Version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
Build Time: Jun 3 2017 02:06:37
INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
HYPERION INFO: ColorTransform 'default' => [0; 64]
HYPERION INFO: ColorCorrection 'default' => [0; 64]
HYPERION INFO: ColorAdjustment 'default' => [0; 64]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "rbg",
"name" : "zszen",
"output" : "/dev/spidev0.0",
"rate" : 1000000,
"type" : "ws2801"
}
HYPERION INFO: Json forward to 127.0.0.1:19446
HYPERION INFO: Proto forward to 127.0.0.1:19447
INFO: Creating linear smoothing
HYPERION (CS) INFO: Created linear-smoothing(interval_ms=10;settlingTime_ms=200;updateDelay=0
EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
EFFECTENGINE INFO: Initializing Python interpreter
INFO: Hyperion started and initialised
INFO: Json server created and started on port 19444
PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447
INFO: Proto server created and started on port 19445
DISPMANXGRABBER INFO: Display opened with resolution: 1280x720
BLACKBORDER INFO: threshold set to 0.05 (13)
BLACKBORDER INFO: mode:default
INFO: Frame grabber created and started
V4L2GRABBER INFO: width=720 height=576
V4L2GRABBER INFO: pixel format=YUYV
BLACKBORDER INFO: threshold set to 0.05 (13)
BLACKBORDER INFO: mode:default
V4L2GRABBER INFO: signal threshold set to: {0,0,0}
V4L2GRABBER INFO: started
INFO: V4L2 grabber created and started
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=5 vert.size=3
V4L2GRABBER INFO: stopped
Alles anzeigen
config here:
Code
// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.1 (11.06.2016)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "zszen",
"type" : "ws2801",
"output" : "/dev/spidev0.0",
"rate" : 1000000,
"colorOrder" : "rbg"
},
// COLOR CALIBRATION CONFIG
"color" :
{
"channelAdjustment" :
[
{
"id" : "default",
"leds" : "*",
"pureRed" :
{
"redChannel" : 255,
"greenChannel" : 30,
"blueChannel" : 30
},
"pureGreen" :
{
"redChannel" : 40,
"greenChannel" : 255,
"blueChannel" : 40
},
"pureBlue" :
{
"redChannel" : 50,
"greenChannel" : 50,
"blueChannel" : 255
}
}
],
"temperature" :
[
{
"id" : "default",
"leds" : "*",
"correctionValues" :
{
"red" : 255,
"green" : 255,
"blue" : 255
}
}
],
"transform" :
[
{
"id" : "default",
"leds" : "*",
"hsl" :
{
"saturationGain" : 0.4000,
"luminanceGain" : 0.8000,
"luminanceMinimum" : 0.1200
},
"red" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"green" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"blue" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
}
}
],
// SMOOTHING CONFIG
"smoothing" :
{
"type" : "linear",
"time_ms" : 200,
"updateFrequency" : 100.0000,
"updateDelay" : 0
}
},
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"width" : 249,
"height" : 192,
"frameDecimation" : 2,
"sizeDecimation" : 1,
"priority" : 900,
"mode" : "2D",
"cropLeft" : 0,
"cropRight" : 0,
"cropTop" : 0,
"cropBottom" : 0,
"redSignalThreshold" : 0.0,
"greenSignalThreshold" : 0.0,
"blueSignalThreshold" : 0.0
},
// FRAME GRABBER CONFIG
"framegrabber" :
{
"width" : 64,
"height" : 64,
"frequency_Hz" : 10.0,
"priority" : 890
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.05,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19444
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19445
},
// JSON/PROTO FORWARD CONFIG
"forwarder" :
{
"json" : ["127.0.0.1:19446"],
"proto" : ["127.0.0.1:19447"]
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO KODI CHECK CONFIG
// NO BOOTEFFECT CONFIG
// NO BOBLIGHT SERVER CONFIG
// LED CONFIGURATION
"leds" :
[
],
"endOfJson" : "endOfJson"
}
Alles anzeigen