Info2 / ShowFrameNumber2 / ShowTime2 / ShowSMPTE2 v0.2

© wonkey_monkey 2026

Download: https://horman.net/avisynth/download/info_v0.2.zip

Doom9 discussion: Info2 / ShowFrameNumber2 / ShowTime2 / ShowSMPTE2 v0.2 - fast alternatives

Info2 is a collection of filters to act as faster alternatives to the slow/messy built-in information filters.

Changelog

0.2:

Info2

Info2 ( clip, int "size", string "font", int "background", bool "verbose", bool "glyph" )

Info2 overlays clip information in a readable tabular format:

It's 10×-100× faster than the built-in Info() function, depending on colour space and resolution.

NameTypeDescriptionDefault value
-clipInput clip
sizeintFont size16
fontstringFontCalibri (Arial as fallback)
backgroundint
Background opacity:
  • 0 : no background
  • 1 : light background
  • 2 : dark background
2
verboseboolPrint additional information (frame rate numerator/denominator, parity information)false
glyphboolEnable/disable subsampling glyphtrue

ShowFrameNumber2 / ShowTime2 / ShowSMPTE2

ShowFrameNumber2 / ShowTime2 / ShowSMPTE2 ( clip, [various] "offset", float "x", float "y", string "font", int "size", float "aspect", float "scale", float "white", bool "simd" )

These filters are faster (10×-100×) alternatives for the built-in versions.

They all take the same parameters, although the offset parameter is treated slightly differently for each (see below for details).

NameTypeDescriptionDefault value
-clip Input clip
offsetint
float
string
Frame, time (in floating point seconds or as time stamp string), or SMPTE timecode offset (see below for details)-
xfloat

Position of text overlay.

Values ≥ 1 are treated as pixel offsets from the top left.

Values < 0 are treated as pixel offsets from bottom right.

Values ≥ 0 and < 1 are treated as fractions of width and height.

The width and height of the text box is taken into account in all cases.

E.g. x = 0.9999, y = 0 would place text in the top right corner.

0.5
yfloat0.75
fontstringFont name. Prefixing the font name with "!" replaces the "0" (zero) character with "O" (letter) as a purely aesthetic option."!Consolas" (or default monospace font if not available)
sizeintFont size (cap height) in pixelsBased on width and height
aspectfloatFont aspect ratio1
scalefloatThis parameter adjust the scale of the font size (whether specified or automatically calculated)1
whitefloatThis parameter adjusts the brightness of the font. Can be set to around 0.5 for HDR video.RGB clips: 1
YUV clips: 0.92 (limited range)
simdboolCPU support for SIMD operations should be automatically detected, but in case of crashes, this can be set to false to disable SIMD operations.true

ShowFrameNumber2

ShowFrameNumber2 overlays the current frame number:


In the case of field-separated video, indicators are added to show the field order and currently displayed field (this example shows a second, bottom field of a field-separated top-field-first video):

To disable the indicators, call AssumeFrameBased before ShowFrameNumber2.

Note that the frame number displayed would technically be a field number in this case. If you want to see the orginal frame number from before separation, call ShowFrameNumber2 before SeparateFields.


The offset parameter (integer only) shifts the displayed frame number up or down.

ShowTime2

ShowTime2 overlays the time stamp, in HH:MM:SS.SSS format, of the current frame:


The offset parameter may be specified as an integer (in which case it is treated as a frame count), or as a floating point number (in which case it is treated as seconds), or as a string in full time stamp format ("HH:MM:SS[.SSS]").

ShowSMPTE2

ShowSMPTE2 overlays an SMPTE timecode in HH:MM:SS:FF format:


The only non-integer framerates accepted are:

* In the case of 29.97 and 59.94 fps, drop-frame timecode is displayed (indicated by a ";" separator between seconds and frames):

For the remaining non-integer framerates, an asterisk is appended to indicate that the framerate has been rounded up (i.e. the rounded-up number of frames is always counted as one full second):

This will result in drift from the time stamp as shown by ShowTime2 (there is no drift with exact integer framerates).


The offset parameter may be specified as an integer (in which case it is treated as a frame count), or as a valid SMPTE timecode string (in drop-frame format if the framerate is 29.97 fps or 59.94 fps).