disable subtitles on stills
This commit is contained in:
parent
5ea689fe5d
commit
3d4bb39d98
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ def extract_frame(movie_file, timestamp, img_folder, width=128, offset = 0, redo
|
||||||
timestamp_in_file = timestamp
|
timestamp_in_file = timestamp
|
||||||
if os.path.exists(movie_file):
|
if os.path.exists(movie_file):
|
||||||
mplayer_options = ''
|
mplayer_options = ''
|
||||||
|
mplayer_options += ' -noautosub'
|
||||||
mplayer_options += ' "%s"' % movie_file.replace('"', '\"')
|
mplayer_options += ' "%s"' % movie_file.replace('"', '\"')
|
||||||
mplayer_options += " -ss '%s' -frames 2" % (timestamp_in_file)
|
mplayer_options += " -ss '%s' -frames 2" % (timestamp_in_file)
|
||||||
mplayer_options += " -vo jpeg:quality=90 "
|
mplayer_options += " -vo jpeg:quality=90 "
|
||||||
|
|
Loading…
Reference in a new issue