Re: [Vnc2swf-users] Project Future
Status: Alpha
Brought to you by:
euske
From: Yusuke S. <yu...@cs...> - 2009-04-17 10:23:59
|
On Fri, 17 Apr 2009 08:45:05 +0200 (CEST), Olivier Hervieu <oli...@wa...> wrote: > > To support several format, i propose that vncrec support a configuration file ... > > For exemple > > pyvncrec.conf : > > #Kind of output > [mpeg] > module=mpegenc > class=MpegOut > > [flv] > module=flvenc > class=FLVOut > > [vnc] > module=vncenc > class=VNCEnc > Well, I guess it's easier to handle settings within a Python code, rather than using yet another config file format. You can write your own settings in a file, say, config.py in Python and just make the program import it. The virtue of a scripting language is that you can use the language itself as a config parser. In my experience, it's a lot easier and bug-free. Yusuke |