'use ffmpeg if in time parameter

I need using If in -t parameter. If time > 3 secs, speed up to N level and normal. If time < 3 secs, ffmpeg execute in normal. I scale video for telegram stickers (-vf scale=w=512:-1), I need speed up for long vids and limit it to 3 seconds.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source