[svn r771] * Mencoder doesnt work well with "Transfer-Encoding: chunked".
* Put this method just for gmencoder
3 __author__ = "Artur Duque de Souza"
4 __author_email__ = "artur.souza@indt.org.br"
7 __thanks__ = "Gustavo Sverzut Barbieri"
12 from lib.server import serve_forever, load_plugins_transcoders
15 for p in sys.argv[1:]:
16 if p == "-v" or p == "--verbose":
19 log.basicConfig(level=log_level,
20 format=("### %(asctime)s %(name)-18s \t%(levelname)-8s "
22 datefmt="%Y-%m-%d %H:%M:%S")
24 if not os.path.exists(".transcoded"):
25 os.mkdir(".transcoded")
27 pd = os.path.join("plugins", "transcoders")
28 load_plugins_transcoders(pd)