mirror of https://github.com/dirtbags/moth.git
Fixed encode quality, # of turns, and results.cgi error.
This commit is contained in:
parent
a4ebc71b58
commit
116c553e88
|
@ -238,7 +238,7 @@ class Pflanzarr:
|
|||
|
||||
movieCmd = ['ffmpeg',
|
||||
'-r', '10', # Set the framerate to 10/second
|
||||
'-b', '8k', # Set the bitrate
|
||||
'-b', '400k', # Set the bitrate
|
||||
'-i', '%s/%%05d.ppm' % self._imageDir, # The input files.
|
||||
# '-vcodec', 'msmpeg4v2',
|
||||
'%s/game.avi' % self._gameDir]
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
[ -f /var/lib/ctf/disabled/tanks ] && exit 0
|
||||
|
||||
exec envuidgid ctf python2.6 run_tanks.py /var/lib/tanks/ easy 100 2>&1
|
||||
exec envuidgid ctf python2.6 run_tanks.py /var/lib/tanks/ easy 500 2>&1
|
||||
#envuidgid ctf report_score.py 2>&1
|
||||
|
|
|
@ -42,7 +42,7 @@ gameNums.sort(reverse=True)
|
|||
i = 0
|
||||
num = str(gameNums[i])
|
||||
for i in range(len(gameNums)):
|
||||
path = os.path.join( 'results', str(gameNums[i]), 'results.html') )
|
||||
path = os.path.join( 'results', str(gameNums[i]), 'results.html')
|
||||
if os.path.exists( path ):
|
||||
break
|
||||
gameNums = gameNums[i:]
|
||||
|
|
Loading…
Reference in New Issue