Hi,
ich hab gerade ein kleines Problem beim m einrichten meines grabber-v4l2. Folgenderweise ist mein Konfig:
Code
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"width" : 360,
"height" : 288,
"frameDecimation" : 2,
"sizeDecimation" : 1,
"priority" : 600,
"mode" : "2D",
"cropLeft" : 0,
"cropRight" : 2,
"cropTop" : 0,
"cropBottom" : 2,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},
Alles anzeigen
wenn ich folgendes Ausführe:
Code
../hyperion/bin/hyperion-v4l2.sh --screenshot
V4L2 width=360 height=288
V4L2 pixel format=UYVY
V4L2 grabber signal threshold set to: {0,0,0}
V4L2 grabber started
V4L2 grabber stopped
Bekomme ich diesen Screen ausgespuckt:
in welchem rechts und unten 2px schwarzen Rand zu sehen ist, obwohl ich laut config ich einen crop von jeweils 2 px angegeben habe. Wenn ich
Code
../hyperion/bin/hyperion-v4l2.sh --screenshot --crop-le
ft 0 --crop-top 0 --crop-right 2 --crop-bottom 2
V4L2 width=360 height=288
V4L2 pixel format=UYVY
V4L2 grabber signal threshold set to: {0,0,0}
V4L2 grabber started
V4L2 grabber stopped
ausführe bekomme ich folgenden Screenshot:
hier passt alles, was mache ich in der config falsch, bzw. hab ich einen denkfehler?
Danke