no overlay filter in copy mode

This commit is contained in:
jb-alvarado 2019-06-16 14:06:58 +02:00
parent b69ff12dff
commit 05c1739b40

View File

@ -1029,11 +1029,11 @@ def main():
'-f', 'mpegts', '-']
if os.path.isfile(_text.textfile):
logger.info('Use text file "{}" for overlay'.format(_text.textfile))
logger.info('Overlay text file: "{}"'.format(_text.textfile))
overlay = [
'-vf', ("drawtext=box={}:boxcolor='{}':boxborderw={}:fontsize={}"
":fontcolor={}:fontfile='{}':textfile={}:reload=1"
":x='{}':y='{}'").format(
'-vf', ("drawtext=box={}:boxcolor='{}':boxborderw={}"
":fontsize={}:fontcolor={}:fontfile='{}':textfile={}"
":reload=1:x='{}':y='{}'").format(
_text.box, _text.boxcolor, _text.boxborderw,
_text.fontsize, _text.fontcolor, _text.fontfile,
_text.textfile, _text.x, _text.y)