# Add rendered captions from specified subtitle stream. Stream numbering
# starts at 0, set to -1 to disable. If the specified stream is not found,
-# this setting is silently ignored.
+# this setting is silently ignored. Also, this setting only works when
+# start time is zero, i.e. the video is processed from the beginning.
addss=-1
# EOF
else: # iframe
flt = 'select=eq(pict_type,I)'
flt += ',showinfo,scale=' + str(cfg['thumb_width']) + ':-1'
- if thinfo['addss'] >= 0:
+ if thinfo['addss'] >= 0 and not cfg['start']:
flt += ',subtitles=' + fff_esc(vidfile) + ':si=' + str(thinfo['addss'])
cmd.extend( ['-vf', flt, '-vsync', 'vfr', os.path.join(thdir, pictemplate)] )
eprint(2, cmd)