You've already forked FrameTour-RenderWorker
q
This commit is contained in:
@@ -35,7 +35,8 @@ class TailEffect(EffectProcessor):
|
||||
# 使用reverse+trim+reverse的方法来精确获取最后N秒
|
||||
filter_args = [
|
||||
f"{video_input}reverse[v_rev{effect_index}]",
|
||||
f"[v_rev{effect_index}]trim=duration={tail_seconds}[v_trim{effect_index}]",
|
||||
f"[v_rev{effect_index}]trim=duration={tail_seconds}"
|
||||
f"[v_trim{effect_index}]",
|
||||
f"[v_trim{effect_index}]reverse{output_stream}",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user