MPEG_CLOSE

Syntax | Arguments | Keywords | Examples | Version History | See Also

The MPEG_CLOSE procedure closes an MPEG sequence opened with the MPEG_OPEN routine. Note that MPEG_CLOSE does not save the MPEG file associated with the MPEG sequence; use MPEG_SAVE to save the file. The specified MPEG sequence identifier will no longer be valid after calling MPEG_CLOSE.

This routine is written in the IDL language. Its source code can be found in the file mpeg_close.pro in the lib subdirectory of the IDL distribution.

Note
The IDLffMJPEG2000 object creates and reads Motion JPEG2000 (MJ2) files, and provides more functionality than the MPEG_* routines. Animations can consist of monochrome, RGB or multi-component frames that display individual components, tiles or regions. See Overview of Motion JPEG2000 (Using IDL) for more information.

Syntax

MPEG_CLOSE, mpegID

Arguments

mpegID

The unique identifier of the MPEG sequence to be freed. (MPEG sequence identifiers are returned by the MPEG_OPEN routine.)

Keywords

None.

Examples

See MPEG_OPEN for an example using this routine.

Version History

Introduced: 5.1

See Also

MPEG_OPEN, MPEG_PUT, MPEG_SAVE, XINTERANIMATE