Tkmpeg is a binary extension that is provided as part of DS9. It is an MPEG 1 encoder based on ezMPEG [L1 ], a project that is still in alpha. Tkmpeg is used by DS9 to save a series of frames as an MPEG 1 video. License: GPL v2.

Other tools that can be used from Tcl/Tk to generate MPEG video:

  • TclMagick [L2 ], a Tcl wrapper for ImageMagick [L3 ] or GraphicsMagick [L4 ]; the codec mpeg2vidcodec_v12.tar.gz [L5 ] is required. See the mpeg2encode page for an example script.
  • mpeg2encode is not a Tcl tool but can be called with exec.