Hallo zusammen,
ich habe nun eine lauffähige Umgebung zusammen und versucht Hyperion in Benutzung zu bekommen.
Am besten liste ich euch erstmal die Rahmendaten auf:
Eingabe:
Ausgabe:
autofs mapper ram8 tty2 tty44 uinput
block mem ram9 tty20 tty45 urandom
btrfs-control memory_bandwidth random tty21 tty46 v4l
bus mmcblk0 raw tty22 tty47 vc-cma
cachefiles mmcblk0p1 rfkill tty23 tty48 vchiq
char mmcblk0p2 root tty24 tty49 vcio
console net shm tty25 tty5 vc-mem
cpu_dma_latency network_latency snd tty26 tty50 vcs
cuse network_throughput sndstat tty27 tty51 vcs1
disk null spidev0.0 tty28 tty52 vcs2
fb0 ppp spidev0.1 tty29 tty53 vcs3
fd ptmx stderr tty3 tty54 vcs4
full pts stdin tty30 tty55 vcs5
fuse ram0 stdout tty31 tty56 vcs6
input ram1 tty tty32 tty57 vcsa
kmsg ram10 tty0 tty33 tty58 vcsa1
log ram11 tty1 tty34 tty59 vcsa2
loop0 ram12 tty10 tty35 tty6 vcsa3
loop1 ram13 tty11 tty36 tty60 vcsa4
loop2 ram14 tty12 tty37 tty61 vcsa5
loop3 ram15 tty13 tty38 tty62 vcsa6
loop4 ram2 tty14 tty39 tty63 vcsm
loop5 ram3 tty15 tty4 tty7 vhci
loop6 ram4 tty16 tty40 tty8 video0
loop7 ram5 tty17 tty41 tty9 xconsole
loop-control ram6 tty18 tty42 ttyAMA0 zero
MAKEDEV ram7 tty19 tty43 ttyprintk
Alles anzeigen
Eingabe:
Ausgabe:
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1b71:3002
Eingabe:
Ausgabe:
[ 0.144736] mailbox: Broadcom VideoCore Mailbox driver
[ 1.411548] vc-cma: Videocore CMA driver
[ 2.263020] vc-sm: Videocore shared memory driver
[ 5.816727] Linux video capture interface: v2.00
[ 7.539255] usbtv 1-1.4:1.0:[b] Fushicai USBTV007 Audio-Video Grabber[/b]
Der Raspberry ist übertaktet auf 950 mHz.
Die Installation von Hyperion war kein Problem und funktioniert einwandfrei.
Befehle wie
bringen das gewünschte Resultat. Das heißt, dass die LEDs (LPD8806) richtig angeschlossen sind.
Was jedoch nicht klappt ist ein automatisches anpassen der Farben ans INPUT Signal.
Daher meine Vermutung, dass ich wohl was beim Grabber bzw. Converter nicht korrekt gemacht habe. Denn z.B folgender Screenshot Befehl
liefert ein rein schwarzes (teils mit den "normalen" grünen Strichen (scheint also was zu "sehen"???)).
Also mal diesen Befehl abgesetzt:
Und als Ausgabe:
Application build time: Mar 6 2015 20:57:44
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform 'default' => [0; 179]
Device configuration:
{
"colorOrder" : "grb",
"name" : "MyPi",
"output" : "/dev/spidev0.0",
"rate" : 250000,
"type" : "lpd8806"
}
Black border threshold set to 0.1 (26)
Creating linear smoothing
Created linear-smoothing(interval_ms=40;settlingTime_ms=50;updateDelay=0
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
V4L2 width=720 height=576
V4L2 pixel format=YUYV
V4L2 grabber signal threshold set to: {25,25,25}
V4L2 grabber started
V4l2 grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=13 vert.size=0
BORDER SWITCH REQUIRED!!
CURRENT BORDER TYPE: unknown=0 hor.size=12 vert.size=0
V4L2 grabber stopped
effect finished
V4L2 grabber started
V4L2 Grabber: Signal lost
V4L2 Grabber: Signal detected
V4L2 Grabber: Signal lost
V4L2 Grabber: Signal detected
[...]
Alles anzeigen
Dabei stört mich insbesondere das Signal lost!
In der Config sieht der entsprechende Bereich wie folgt aus:
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 8,
"priority" : 1100,
"mode" : "2D",
"cropLeft" : 5,
"cropRight" : 5,
"cropTop" : 5,
"cropBottom" : 5,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},
Alles anzeigen
Der Framegrabber ist auskommentiert.
Der Grabber ist über den USB Port des rPi B+ mit Strom versorgt. Testweise habe ich das auch mal über externe Stromzufuhr versucht. Soll aber eigentlich nicht Zielkonfiguration sein.
In Bezug auf den Config-Bereich habe ich auch noch ein kleines Verständisproblem. Was bringt PAL und was bringt NTSC? Klar ist mir, dass ich dann am converter natürlich das entsprechende ausgewählt haben muss. Aber bringt eins Vorteile oder Nachteile? Habe jedenfalls beides mehrfach (Beispiel configs aus dem web) ausprobiert.
Ich denke, dass hier ein Konfigurationsfehler meiner seits vorliegt.
Sollten noch Info's fehlen, liefere ich die gerne nach.
Vielen Dank schon mal für Unterstützung.
Gruß
David
Edit_1: Ich habe sowohl die Imageversion von Sigi28 als auch die neueste Rasbian Version vom 05.05. ausprobiert.