1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py Wed Jul 04 21:53:29 2007 +0100
1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py Tue Aug 07 16:00:49 2007 +0100
1.3 @@ -40,8 +40,8 @@
1.4 self._insert_param("-i", \
1.5 "%s://%s" % (self.params_first("type", "file"),
1.6 self.params_first("uri", "")))
1.7 - self._insert_param("--video-encode", self.params_first("ve", ""))
1.8 - self._insert_param("--video-opts", "bitrate=200,pass=2,quantizer=5")
1.9 + self._insert_param("--video-encode", self.params_first("ve", "ffenc_mpeg1video"))
1.10 + self._insert_param("--video-opts", "bitrate=600000,pass=512,quantizer=0.05,quant-type=1")
1.11 self._insert_param("--video-fps", self.params_first("fps", ""))
1.12 self._insert_param("--video-width", self.params_first("width", "320"))
1.13 self._insert_param("--video-height", self.params_first("height", "240"))
1.14 @@ -84,7 +84,7 @@
1.15 if self.proc.stdout in r:
1.16 progress = self.proc.stdout.readline()
1.17 if (progress.find ("PROGRESS") >= 0):
1.18 - self.log.info (self.tid, "PROGRESS %s" % progress)
1.19 + self.log.info (self.tid, "%s" % progress)
1.20 self.status = progress.split (":")[1]
1.21 except Exception, e:
1.22 self.log.error(self.tid, "Problems handling data: %s" % e)