Speed ramp
動く図解で見る →速く進んでいたのが一瞬ゆっくりになったり、その逆になったりして、肝心な瞬間をドラマチックにします。
商品が落ちる瞬間、スポーツやアクション、ドアが開く瞬間。
スローの区間はあとから引き延ばすとカクつくので、プロンプトに「slow motion」を入れて生成します。前後の区間は setpts=0.5*PTS で速くします。AIクリップはおおむねゆっくり出てくるので、1.2~1.5倍速で回すと自然なことが多いです。
Ramp a 4-second clip: the first 2 seconds at double speed, then the last 2 seconds in half-speed slow motion: ffmpeg -i in.mp4 -filter_complex "[0:v]trim=0:2,setpts=0.5*(PTS-STARTPTS)[a];[0:v]trim=2:4,setpts=2*(PTS-STARTPTS)[b];[a][b]concat=n=2:v=1:a=0" out.mp4. Put "slow motion" in the generation prompt so the slow part stays smooth.
Techlude — AI Cinematic Product Ad Using Kling 3.0 (Higgsfield): Speed Ramp