gmyth-stream/plugins/media/ffmpeg.py
branchtrunk
changeset 479 5e1afa4a66e8
parent 471 2eef40885322
     1.1 --- a/gmyth-stream/plugins/media/ffmpeg.py	Fri Mar 30 23:07:54 2007 +0100
     1.2 +++ b/gmyth-stream/plugins/media/ffmpeg.py	Mon Apr 02 20:05:56 2007 +0100
     1.3 @@ -30,7 +30,7 @@
     1.4  
     1.5          # good one: /tmp/mpg/cpm.mpg mpeg mpeg1video 400 25 mp2 192 320 240 5000
     1.6          self.path = self.config.get("FFmpeg", "path")
     1.7 -        self.path += " -i %s -bufsize 4096 -f %s -vcodec %s -b %d -r %d -acodec %s -ab %d -s %dx%d -" % (
     1.8 +        self.path += " -i %s -f %s -vcodec %s -b %d -r %d -acodec %s -ab %d -s %dx%d -" % (
     1.9              self.filename, self.mux, self.vcodec, self.vbitrate,\
    1.10              self.fps, self.acodec, self.abitrate, self.width, self.height)
    1.11  
    1.12 @@ -57,7 +57,7 @@
    1.13  
    1.14              conn,addr= self.socket.accept()
    1.15              lib.log("Sending Data to client: %s" % addr[0])
    1.16 -            data = child_stdout.read(4096)
    1.17 +            data = child_stdout.read(1024)
    1.18              conn.settimeout(5)
    1.19              retry = 0
    1.20