📄 config_file
字号:
The videodog config fileI've decided to build my own parser because:a) dont need too much smartness, just get simple directivesb) dont want to depend on external libraries. my goal is a simple capture program.So, the keywords are very intuitive, like the included vd.conf can prove._FOR NOW_ (tm) videodog only looks for config file at /etcPlease, report me the bugs you find.The current valid keywords are:device - sets the video devicewidth, height, depth - the name says alloutput_format - can be raw, pnm, tga, jpg, lower caseeffectchain doesn`t work yetcapture_type - says if its a loop or single capturefile - if its a single frame capture, we need a file name or the stdout flaginput_channel - defines 0, 1, 2, 3 ( the input channel )Time stamp functions:stamp = defines the stamp text, tags used for times are the same for strftime.if its null, empty, or doesn`t exist in the config file, there will be no time stamp.st_x = the x position inside the image.st_y = the y position inside the image.st_scale_w = w scale. its a kind of zoom. if not defined, its equal 1st_scale_h = same as above, the h scale. not define it, automagically makes it 1.These are beta code yet. I use a standart 8x8 font as reference to calculatethe font used, even for the scaling. Its not nice or happy as true type fonts, but remember: videodog is intended to not depend on extra libs for easy functionality.Comments and remarks are set by # directive.Enjoy
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -