These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Abstract : Movie

Class description:

Records MPEG movies of breve runs.

The dimensions of the movie are determined by the size of the simulation viewing area when the movie export begins. Resizing the viewing area while the movie is exporting will produce undesirable results.

The Movie class does not work when using the non-graphical ("breve_cli") breve.

Methods:

  • addFrameFromDisplay
  • close
  • record
    addFrameFromDisplay( self )

    Add a frame from the current simulation display.


    close( self )

    Closes the MPEG file and stops recording.


    record( self, filename )

    Create a new MPEG movie file with the name filename. New frames will be automatically added to the movie as the simulation runs until the object is released or close is called. filename should end with ".mpg" or ".mpeg".