[FFmpeg-trac] #10763(documentation:new): Improve documentation for random() expression

FFmpeg trac at avcodec.org
Fri Jan 19 12:32:23 EET 2024


#10763: Improve documentation for random() expression
-------------------------------------+-------------------------------------
             Reporter:  Michael      |                    Owner:  (none)
  Koch                               |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
                                     |  documentation
              Version:  git-master   |               Resolution:
             Keywords:  seed         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Michael Koch):

 After the recent changes in the random() expression, it's no longer
 required to use huge integer values as seed. I suggest to add this note to
 the documentation:

 The default seed value is 0, because all internal variables are
 initialized with 0. If you want to use a different seed value, you must
 set the internal variable to an integer value, for example st(0,99). It
 doesn't work if you set it to a float value between 0 and 1.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10763#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list