remove loop from logo
This commit is contained in:
parent
e390142293
commit
ccb0ea920b
@ -1082,10 +1082,7 @@ def overlay_filter(duration, ad, ad_last, ad_next):
|
|||||||
logo_chain = []
|
logo_chain = []
|
||||||
opacity = 'format=rgba,colorchannelmixer=aa={}'.format(
|
opacity = 'format=rgba,colorchannelmixer=aa={}'.format(
|
||||||
_pre_comp.opacity)
|
_pre_comp.opacity)
|
||||||
loop = 'loop=loop={}:size=1:start=0'.format(
|
logo_chain.append('movie={},{}'.format(_pre_comp.logo, opacity))
|
||||||
duration * _pre_comp.fps)
|
|
||||||
logo_chain.append('movie={},{},{}'.format(
|
|
||||||
_pre_comp.logo, loop, opacity))
|
|
||||||
if ad_last:
|
if ad_last:
|
||||||
logo_chain.append('fade=in:st=0:d=1.0:alpha=1')
|
logo_chain.append('fade=in:st=0:d=1.0:alpha=1')
|
||||||
if ad_next:
|
if ad_next:
|
||||||
@ -1657,6 +1654,7 @@ def main():
|
|||||||
while True:
|
while True:
|
||||||
buf = _ff.decoder.stdout.read(COPY_BUFSIZE)
|
buf = _ff.decoder.stdout.read(COPY_BUFSIZE)
|
||||||
if not buf:
|
if not buf:
|
||||||
|
messenger.debug('Buffer is empty')
|
||||||
break
|
break
|
||||||
_ff.encoder.stdin.write(buf)
|
_ff.encoder.stdin.write(buf)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user