gmyth-stream/server/plugins/media/mencoder.py
branchtrunk
changeset 493 32148e79242d
parent 484 27e83a8f68d7
child 497 08a2d7d67ae5
     1.1 --- a/gmyth-stream/server/plugins/media/mencoder.py	Tue Apr 03 16:42:04 2007 +0100
     1.2 +++ b/gmyth-stream/server/plugins/media/mencoder.py	Wed Apr 04 16:12:16 2007 +0100
     1.3 @@ -37,12 +37,12 @@
     1.4                  if (self.acodec == "mp3lame"):
     1.5                      audio = "-oac mp3lame -lameopts cbr:br=%s vol=5" % self.abitrate
     1.6                  else:
     1.7 -                    audio = "-oac lavc -lavcopts acodec=%s abitrate=%s" % (\
     1.8 +                    audio = "-oac lavc -lavcopts acodec=%s:abitrate=%s" % (\
     1.9                          self.acodec, self.abitrate)
    1.10  
    1.11              if (opt == "file"):
    1.12                  self.kind = "file"
    1.13 -                self.args += " %s -mf fps=%s -of %s %s"\
    1.14 +                self.args += " %s -mf fps=%s -of %s -noodml %s"\
    1.15                               " -ovc lavc -lavcopts vcodec=%s:vbitrate=%s -vf scale=%s:%s"\
    1.16                               " -o %s 1> /dev/null 2> /dev/null" % (
    1.17                      self.filename, self.fps, self.mux, audio, self.vcodec,