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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to