Tkmpeg is a binary extension that is provided as part of DS9. It is an MPEG 1 encoder based on ezMPEG [1 ], 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 [5 ], a Tcl wrapper for ImageMagick [4 ] or GraphicsMagick [3 ]; the codec mpeg2vidcodec_v12.tar.gz [2 ] is required. See the mpeg2encode page for an example script.
  • mpeg2encode is not a Tcl tool but can be called with exec.