diff -r e8a82fc5f075 -r f22ca7dadc01 gmyth-stream/server/plugins/transcoders/gmencoder.py --- a/gmyth-stream/server/plugins/transcoders/gmencoder.py Wed Nov 21 13:10:19 2007 +0000 +++ b/gmyth-stream/server/plugins/transcoders/gmencoder.py Thu Jan 31 19:56:16 2008 +0000 @@ -46,14 +46,17 @@ self._insert_param("-i", \ "%s://%s" % (self.params_first("type", "file"), self.params_first("uri", ""))) - self._insert_param("--video-encode", self.params_first("ve", "theoraenc")) - self._insert_param("--video-opts", self.params_first ("video-opts", "quality=30,sharpness=2")) - self._insert_param("--video-fps", self.params_first("fps", "10")) - self._insert_param("--video-width", self.params_first("width", "240")) - self._insert_param("--video-height", self.params_first("height", "144")) - self._insert_param("--audio-encode", self.params_first("ae", "vorbisenc")) - self._insert_param("--audio-opts", self.params_first ("audio-opts", "managed=true")) - self._insert_param("--mux-element", self.params_first("mux", "oggmux")) + self._insert_param("--video-encode", self.params_first("ve", "")) + self._insert_param("--video-opts", self.params_first ("video-opts", "")) + self._insert_param("--video-fps", self.params_first("fps", "")) + self._insert_param("--video-width", self.params_first("width", "")) + self._insert_param("--video-height", self.params_first("height", "")) + self._insert_param("--audio-encode", self.params_first("ae", "")) + self._insert_param("--audio-opts", self.params_first ("audio-opts", "")) + self._insert_param("--mux-element", self.params_first("mux", "")) + self._insert_param("--audio-rate", self.params_first("audio-rate", "")) + + # _parse_params def start(self, outfd):