[FFmpeg-devel] [PATCH] lavfi: add realtime filter.
Nicolas George
george at nsup.org
Mon Oct 26 21:22:43 CET 2015
Le quintidi 5 brumaire, an CCXXIV, Moritz Barsnick a écrit :
> $ 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 },
This is how it works with fields of type AV_OPT_TYPE_DURATION: the value is
internally in microseconds (AV_TIME_BASE), but the user interface converts
the strings in seconds, multiplying them by 1000000, or even in
H:MM:SS.DDDDDD.
The display of the default value is inconsistent, though. I just sent a
patch about it.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151026/d92572ec/attachment.sig>
More information about the ffmpeg-devel
mailing list