1.1 --- a/gmyth-stream/server/plugins/transcoders/gmencoder.py Wed Nov 21 13:10:19 2007 +0000
1.2 +++ b/gmyth-stream/server/plugins/transcoders/gmencoder.py Mon Jan 28 19:39:14 2008 +0000
1.3 @@ -46,14 +46,17 @@
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", "theoraenc"))
1.8 - self._insert_param("--video-opts", self.params_first ("video-opts", "quality=30,sharpness=2"))
1.9 - self._insert_param("--video-fps", self.params_first("fps", "10"))
1.10 - self._insert_param("--video-width", self.params_first("width", "240"))
1.11 - self._insert_param("--video-height", self.params_first("height", "144"))
1.12 - self._insert_param("--audio-encode", self.params_first("ae", "vorbisenc"))
1.13 - self._insert_param("--audio-opts", self.params_first ("audio-opts", "managed=true"))
1.14 - self._insert_param("--mux-element", self.params_first("mux", "oggmux"))
1.15 + self._insert_param("--video-encode", self.params_first("ve", ""))
1.16 + self._insert_param("--video-opts", self.params_first ("video-opts", ""))
1.17 + self._insert_param("--video-fps", self.params_first("fps", ""))
1.18 + self._insert_param("--video-width", self.params_first("width", ""))
1.19 + self._insert_param("--video-height", self.params_first("height", ""))
1.20 + self._insert_param("--audio-encode", self.params_first("ae", ""))
1.21 + self._insert_param("--audio-opts", self.params_first ("audio-opts", ""))
1.22 + self._insert_param("--mux-element", self.params_first("mux", ""))
1.23 + self._insert_param("--audio-rate", self.params_first("audio-rate", ""))
1.24 +
1.25 +
1.26 # _parse_params
1.27
1.28 def start(self, outfd):