diff -r 2eef40885322 -r 88bf59e8da5f gmyth-stream/plugins/media/ffmpeg.py --- a/gmyth-stream/plugins/media/ffmpeg.py Fri Mar 30 23:07:54 2007 +0100 +++ b/gmyth-stream/plugins/media/ffmpeg.py Mon Apr 02 16:57:57 2007 +0100 @@ -30,7 +30,7 @@ # good one: /tmp/mpg/cpm.mpg mpeg mpeg1video 400 25 mp2 192 320 240 5000 self.path = self.config.get("FFmpeg", "path") - self.path += " -i %s -bufsize 4096 -f %s -vcodec %s -b %d -r %d -acodec %s -ab %d -s %dx%d -" % ( + self.path += " -i %s -f %s -vcodec %s -b %d -r %d -acodec %s -ab %d -s %dx%d -" % ( self.filename, self.mux, self.vcodec, self.vbitrate,\ self.fps, self.acodec, self.abitrate, self.width, self.height) @@ -57,7 +57,7 @@ conn,addr= self.socket.accept() lib.log("Sending Data to client: %s" % addr[0]) - data = child_stdout.read(4096) + data = child_stdout.read(1024) conn.settimeout(5) retry = 0