Builds an ffprobe -read_intervals value around a timestamp.
In ffprobe syntax, % separates the interval start time from its duration — it does
not mean "percentage of file". Both sides are absolute times in seconds (e.g. 10%+8
reads from 10s for 8s).
Parameters
nearSeconds: number
Approximate timestamp to search around.
durationSeconds: number
Total media duration in seconds (used to clamp the window at EOF).
Builds an ffprobe
-read_intervalsvalue around a timestamp. In ffprobe syntax,%separates the interval start time from its duration — it does not mean "percentage of file". Both sides are absolute times in seconds (e.g.10%+8reads from 10s for 8s).