22ShowFrames
33==========
44
5- Set of filters to overlay frame numbers and timecodes onto a video clip:
5+ Set of filters to overlay frame numbers, timecodes, and debug information onto a video clip:
66
77* `ShowFrameNumber `_ displays the frame number on each frame.
88* `ShowSMPTE `_ displays SMPTE timecodes.
99* `ShowTime `_ displays time for the current frame.
10+ * `ShowCRC32 `_ computes and displays the CRC32 checksum of the default plane (debug filter).
1011
1112See the `Examples `_ section for visuals.
1213
@@ -392,6 +393,107 @@ See the :ref:`ShowTime examples <ShowTime-examples>` section.
392393
393394 Default: false
394395
396+ .. _ShowCRC32 :
397+
398+ ShowCRC32
399+ ---------
400+
401+ A debug filter that computes the CRC32 checksum of the **default plane ** of each frame
402+ and overlays the result as an 8-character uppercase hexadecimal string (e.g. ``"AB12CD34" ``).
403+ Only the default plane is checksummed: luma (Y) for YUV clips, the green plane for planar RGB,
404+ or the interleaved data for packed formats such as YUY2.
405+
406+ The text placement and scrolling behaviour are identical to `ShowFrameNumber `_.
407+
408+ .. rubric :: Syntax and Parameters
409+
410+ ::
411+
412+ ShowCRC32 (clip, bool "scroll", int "offset", float "x", float "y", string "font", float "size",
413+ int "text_color", int "halo_color", float "font_width", float "font_angle",
414+ bool "bold", bool "italic", bool "noaa")
415+
416+ .. describe :: clip
417+
418+ Source clip; all color formats supported.
419+
420+ .. describe :: scroll
421+
422+ | If *true*, the checksum will be drawn only once on the video and
423+ scroll from top to bottom;
424+ | If *false*, it will be drawn on one side, stacked vertically as often
425+ as it fits.
426+
427+ Default: false
428+
429+ .. describe :: offset
430+
431+ Frame number offset added to the internal counter. A positive value makes the
432+ display start from a later logical frame; a negative value from an earlier one.
433+
434+ Default: 0
435+
436+ .. describe :: x, y
437+
438+ Text position. Their interpretation corresponds to :doc: `Subtitle's <subtitle >`
439+ *align=4 *. ``x `` and ``y `` must be used together or not at all; when present,
440+ the ``scroll `` option is ignored.
441+
442+ Default: 0.0, 0.0
443+
444+ .. describe :: font
445+
446+ Font name; can be the name of any installed Windows font.
447+
448+ Default: "Arial"
449+
450+ .. describe :: size
451+
452+ Height of the text in pixels.
453+
454+ Default: 24
455+
456+ .. describe :: text_color, halo_color
457+
458+ | Colors for font fill and outline respectively. Default is yellow and black.
459+ | See :doc:`Subtitle <subtitle>` and the :doc:`colors <../syntax/syntax_colors>`
460+ page for more information on specifying colors.
461+
462+ Default: $00FFFF00, $00000000
463+
464+ .. describe :: font_width
465+
466+ | Set character width in logical units, to the nearest 0.125 unit.
467+ | See the example section of :doc:`Subtitle <subtitle>` for an example.
468+
469+ Default: 0 (use Windows' default width)
470+
471+ .. describe :: font_angle
472+
473+ Adjust the baseline angle of text in degrees anti-clockwise to the
474+ nearest 0.1 degree.
475+
476+ Default: 0.0 (no rotation)
477+
478+ .. describe :: bold
479+
480+ Using bold letters or not.
481+
482+ Default: true on Windows GDI, false otherwise (e.g. Linux)
483+
484+ .. describe :: italic
485+
486+ Using italic letters or not.
487+
488+ Default: false
489+
490+ .. describe :: noaa
491+
492+ Disables antialiasing when drawing the text.
493+
494+ Default: false
495+
496+
395497Examples
396498--------
397499
@@ -492,6 +594,8 @@ Changelog
492594+=================+=============================================================================+
493595| AviSynth+ 3.7.3 | Add ``bold ``, ``italic `` and ``noaa `` |
494596+-----------------+-----------------------------------------------------------------------------+
597+ | AviSynth+ 3.7.0 | Added ``ShowCRC32 ``. |
598+ +-----------------+-----------------------------------------------------------------------------+
495599| AviSynth 2.6.0 || All functions: position (x,y) can be float (previously int) (with 0.125 |
496600| | pixel granularity). |
497601| || ShowSMPTE: added drop-frame for other framerates (other than 30). |
@@ -502,7 +606,7 @@ Changelog
502606| AviSynth 2.5.6 | Added ``offset `` and other options. |
503607+-----------------+-----------------------------------------------------------------------------+
504608
505- $Date: 2023/11/03 11:15 :00 $
609+ $Date: 2026/05/08 11:02 :00 $
506610
507611.. _Interlaced Fieldbased :
508612 http://avisynth.nl/index.php/Interlaced_fieldbased
0 commit comments