Fixed encode quality, # of turns, and results.cgi error.

This commit is contained in:
Paul S. Ferrell 2009-10-08 11:32:24 -06:00
parent a4ebc71b58
commit 116c553e88
3 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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

View File

@ -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:]