# HG changeset patch # User renatofilho # Date 1201549154 0 # Node ID 20de88fec6f4eea979dfb31d4b95fe4cfb2666e8 # Parent f9632cb3f1a0037b5afeea6bcfa69ea6cce2ade1 [svn r900] removed default options diff -r f9632cb3f1a0 -r 20de88fec6f4 gmyth-stream/server/plugins/transcoders/gmencoder.py --- a/gmyth-stream/server/plugins/transcoders/gmencoder.py Wed Jan 23 20:09:09 2008 +0000 +++ b/gmyth-stream/server/plugins/transcoders/gmencoder.py Mon Jan 28 19:39:14 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):