disable subtitles on stills

This commit is contained in:
j 2008-07-06 19:27:49 +02:00
parent 5ea689fe5d
commit 3d4bb39d98

View file

@ -139,6 +139,7 @@ def extract_frame(movie_file, timestamp, img_folder, width=128, offset = 0, redo
timestamp_in_file = timestamp
if os.path.exists(movie_file):
mplayer_options = ''
mplayer_options += ' -noautosub'
mplayer_options += ' "%s"' % movie_file.replace('"', '\"')
mplayer_options += " -ss '%s' -frames 2" % (timestamp_in_file)
mplayer_options += " -vo jpeg:quality=90 "