# HG changeset patch # User melunko # Date 1186173775 -3600 # Node ID 02ba1859ddc018176d90630bf16bcb759124aeab # Parent 45c799bef1f67b149b7cbbc1a1f2ad9fba8b7198 [svn r800] Fixed the gmencoder.py get_all_log print that were writing PROGRESS twice diff -r 45c799bef1f6 -r 02ba1859ddc0 gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py --- a/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py Fri Aug 03 15:37:32 2007 +0100 +++ b/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py Fri Aug 03 21:42:55 2007 +0100 @@ -40,8 +40,8 @@ self._insert_param("-i", \ "%s://%s" % (self.params_first("type", "file"), self.params_first("uri", ""))) - self._insert_param("--video-encode", self.params_first("ve", "")) - self._insert_param("--video-opts", "bitrate=200,pass=2,quantizer=5") + self._insert_param("--video-encode", self.params_first("ve", "ffenc_mpeg1video")) + self._insert_param("--video-opts", "bitrate=600000,pass=512,quantizer=0.05,quant-type=1") self._insert_param("--video-fps", self.params_first("fps", "")) self._insert_param("--video-width", self.params_first("width", "320")) self._insert_param("--video-height", self.params_first("height", "240")) @@ -84,7 +84,7 @@ if self.proc.stdout in r: progress = self.proc.stdout.readline() if (progress.find ("PROGRESS") >= 0): - self.log.info (self.tid, "PROGRESS %s" % progress) + self.log.info (self.tid, "%s" % progress) self.status = progress.split (":")[1] except Exception, e: self.log.error(self.tid, "Problems handling data: %s" % e)