Option&argDevice=parser.add<Option>('d',"device","The device to use [default: %1]","auto");
SwitchOption<VideoStandard>&argVideoStandard=parser.add<SwitchOption<VideoStandard>>('v',"video-standard","The used video standard. Valid values are PAL, NTSC or no-change. [default: %1]","no-change");
SwitchOption<PixelFormat>&argPixelFormat=parser.add<SwitchOption<PixelFormat>>(0x0,"pixel-format","The use pixel format. Valid values are YUYV, UYVY, RGB32 or no-change. [default: %1]","no-change");
IntOption&argWidth=parser.add<IntOption>(0x0,"width","Try to set the width of the video input [default: %1]","-1");
IntOption&argHeight=parser.add<IntOption>(0x0,"height","Try to set the height of the video input [default: %1]","-1");
IntOption&argCropWidth=parser.add<IntOption>(0x0,"crop-width","Number of pixels to crop from the left and right sides of the picture before decimation [default: %1]","0");
IntOption&argCropHeight=parser.add<IntOption>(0x0,"crop-height","Number of pixels to crop from the top and the bottom of the picture before decimation [default: %1]","0");
IntOption&argCropLeft=parser.add<IntOption>(0x0,"crop-left","Number of pixels to crop from the left of the picture before decimation (overrides --crop-width)");
IntOption&argCropRight=parser.add<IntOption>(0x0,"crop-right","Number of pixels to crop from the right of the picture before decimation (overrides --crop-width)");
IntOption&argCropTop=parser.add<IntOption>(0x0,"crop-top","Number of pixels to crop from the top of the picture before decimation (overrides --crop-height)");
IntOption&argCropBottom=parser.add<IntOption>(0x0,"crop-bottom","Number of pixels to crop from the bottom of the picture before decimation (overrides --crop-height)");
IntOption&argSizeDecimation=parser.add<IntOption>('s',"size-decimator","Decimation factor for the output size [default=%1]","1");
IntOption&argFrameDecimation=parser.add<IntOption>('f',"frame-decimator","Decimation factor for the video frames [default=%1]","1");
BooleanOption&argScreenshot=parser.add<BooleanOption>(0x0,"screenshot","Take a single screenshot, save it to file and quit");
DoubleOption&argSignalThreshold=parser.add<DoubleOption>('t',"signal-threshold","The signal threshold for detecting the presence of a signal. Value should be between 0.0 and 1.0.",QString(),0.0,1.0);
DoubleOption&argRedSignalThreshold=parser.add<DoubleOption>(0x0,"red-threshold","The red signal threshold. Value should be between 0.0 and 1.0. (overrides --signal-threshold)");
DoubleOption&argGreenSignalThreshold=parser.add<DoubleOption>(0x0,"green-threshold","The green signal threshold. Value should be between 0.0 and 1.0. (overrides --signal-threshold)");
DoubleOption&argBlueSignalThreshold=parser.add<DoubleOption>(0x0,"blue-threshold","The blue signal threshold. Value should be between 0.0 and 1.0. (overrides --signal-threshold)");
DoubleOption&argSignalHorizontalMin=parser.add<DoubleOption>(0x0,"signal-horizontal-min","area for signal detection - horizontal minimum offset value. Values between 0.0 and 1.0");
DoubleOption&argSignalVerticalMin=parser.add<DoubleOption>(0x0,"signal-vertical-min","area for signal detection - vertical minimum offset value. Values between 0.0 and 1.0");
DoubleOption&argSignalHorizontalMax=parser.add<DoubleOption>(0x0,"signal-horizontal-max","area for signal detection - horizontal maximum offset value. Values between 0.0 and 1.0");
DoubleOption&argSignalVerticalMax=parser.add<DoubleOption>(0x0,"signal-vertical-max","area for signal detection - vertical maximum offset value. Values between 0.0 and 1.0");
BooleanOption&arg3DSBS=parser.add<BooleanOption>(0x0,"3DSBS","Interpret the incoming video stream as 3D side-by-side");
BooleanOption&arg3DTAB=parser.add<BooleanOption>(0x0,"3DTAB","Interpret the incoming video stream as 3D top-and-bottom");
Option&argAddress=parser.add<Option>('a',"address","Set the address of the hyperion server [default: %1]","127.0.0.1:19445");
IntOption&argPriority=parser.add<IntOption>('p',"priority","Use the provided priority channel (the lower the number, the higher the priority) [default: %1]","800");
BooleanOption&argSkipReply=parser.add<BooleanOption>(0x0,"skip-reply","Do not receive and check reply messages from Hyperion");
BooleanOption&argHelp=parser.add<BooleanOption>('h',"help","Show this help message and exit");