1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

II ) V42L-Grabber USB-Grabber

Introduction

Hyperion supports the v412 Grabber which is the most common used for grabbing Ambilight signals.

Hardware

You need a grabber with a special chipset and known working grabbers are:

Mumbi video grabber
Dazzle DVR
Fushicai UTV007

Nonworking grabbers are:
Logilink

Setup

For normal wheezy you need to plug in your grabber, connect a video signal to it and start Hyperion.
First we try to get a Screenshot from the grabber.

Code:
sudo hyperion-v4l2 --width 320 --height 180 --screenshot
The screenshot will be saved in the current directory. It can have green parts or weird quality and that is no problem, try to get a clean picture first.
Then open the picture in a graphic editor and measure the black blanks around, note this for every side.

You can test your setup like this:

Code:
sudo hyperion-v4l2 --width 640 --height 480 --screenshot --frame-decimator 2 --size-decimator 8 --crop-left 26 --crop-right 27 --crop-top 20 --crop-bottom 20
To permanently add your Grabber you can add this your Hyperion configuration:

Code:
   /// Configuration for the embedded V4L2 grabber
   ///  * device  : V4L2 Device to use [default="/dev/video0"]
   ///  * input  : V4L2 input to use [default=0]
   ///  * standard  : Video standard (no-change/PAL/NTSC) [default="no-change"]
   ///  * width  : V4L2 width to set [default=-1]
   ///  * height  : V4L2 height to set [default=-1]
   ///  * frameDecimation  : Frame decimation factor [default=2]
   ///  * sizeDecimation  : Size decimation factor [default=8]
   ///  * priority  : Hyperion priority channel [default=800]
   ///  * mode  : 3D mode to use 2D/3DSBS/3DTAB (note: no autodetection) [default="2D"]
   ///  * cropLeft  : Cropping from the left [default=0]
   ///  * cropRight  : Cropping from the right [default=0]
   ///  * cropTop  : Cropping from the top [default=0]
   ///  * cropBottom  : Cropping from the bottom [default=0]
   ///  * redSignalThreshold  : Signal threshold for the red channel between 0.0 and 1.0 [default=0.0]
   ///  * greenSignalThreshold : Signal threshold for the green channel between 0.0 and 1.0 [default=0.0]
   ///  * blueSignalThreshold  : Signal threshold for the blue channel between 0.0 and 1.0 [default=0.0]
   "grabber-v4l2" :
   {
     "device" : "/dev/video0",
     "input" : 0,
     "standard" : "PAL",
     "width" : 640,
     "height" : 480,
     "frameDecimation" : 2,
     "sizeDecimation" : 8,
     "priority" : 1000,
     "mode" : "2D",
     "cropLeft" : 26,
     "cropRight" : 27,
     "cropTop" : 20,
     "cropBottom" : 20,
     "redSignalThreshold" : 0.1,
     "greenSignalThreshold" : 0.1,
     "blueSignalThreshold" : 0.1
   },
Frame decimation will clean out all green and blury stuff. I dont know exactly how it works, but then every green should be gone. Frame decimation shrinks your grabbed picture to get more fps. These values are default and should suit very well to every grabber.

Some other usefull tips:

Code:
-v4l2-ctl --all

This page has been seen 21,667 times.