[FFmpeg-devel] [PATCH] lavfi: add realtime filter.
Moritz Barsnick
barsnick at gmx.net
Mon Oct 26 09:36:33 CET 2015
On Sun, Oct 25, 2015 at 17:35:32 +0100, Nicolas George wrote:
> + at table @option
> + at item limit
> +Time limit for the pauses. Any pause longer than that will be considered
> +a timestamp discontinuity and reset the timer. Default is 2 seconds.
> + at end table
[...]
> +static const AVOption options[] = {
> + { "limit", "sleep time limit", OFFSET(limit), AV_OPT_TYPE_DURATION, { .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
> + { NULL }
> +};
$ ffmpeg -h filter=realtime
[...]
realtime AVOptions:
limit <duration> ..FVA... sleep time limit (default 2e+06)
It's misleading to mention "seconds" and to expect microseconds. Or to
mention "2" in one place and "2000000" in the other.
-> Time limit for the pauses in microseconds. [...] Default is 2000000 (2 seconds).
[...]
{ "limit", "sleep time limit (in microseconds)", OFFSET(limit), AV_OPT_TYPE_DURATION, { .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
Moritz
More information about the ffmpeg-devel
mailing list