/[gzz]/gzz/gfx/libutil/saveanim.py
ViewVC logotype

Diff of /gzz/gfx/libutil/saveanim.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tjl, Sun Nov 17 11:04:52 2002 UTC revision 1.5 by jvk, Sun Dec 1 13:39:51 2002 UTC
# Line 18  def savesequence(win, filebase, vs1, vs2 Line 18  def savesequence(win, filebase, vs1, vs2
18          saveframe(filebase + "%03d"%frame + ".jpg", win, **args)          saveframe(filebase + "%03d"%frame + ".jpg", win, **args)
19    
20  def encodefilm(globpat, outfilm):  def encodefilm(globpat, outfilm):
21      mencoder = "/BIG/MPlayer-0.90pre8/mencoder"      #mencoder = "/BIG/MPlayer-0.90pre8/mencoder"
22        #Please install mplayer, there *is* debian/rules script in mplayer CVS
23        mencoder = "mencoder"
24      cmd = "%(mencoder)s %(globpat)s -lavcopts vcodec=mpeg4 -mf on:fps=25 -ovc lavc -o %(outfilm)s" % locals()      cmd = "%(mencoder)s %(globpat)s -lavcopts vcodec=mpeg4 -mf on:fps=25 -ovc lavc -o %(outfilm)s" % locals()
25      print cmd      print cmd
26      os.system(cmd)      os.system(cmd)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26