MovieWriter Class Reference

#include <MovieWriter.h>

List of all members.

Public Types

enum   MovieOutputType {
  kAVIOutputFile = 0, kJPEGSequenceFile = 1, kTIFFSequenceFile = 2, kFLVMovie = 3,
  kMP4Movie = 4, kMOVMovie = 5, kWEBMovie = 6
}

Public Member Functions

  MovieWriter ()
  ~MovieWriter ()
void  setFrameResolution (int width, int height)
void  setFramesPerSecond (int fps)
void  setNumberOfFrames (int nof)
void  setNumberOfShots (int nos)
void  setMovieType (int type)
void  setSplitShots (bool split)
void  setShotName (int shot, const awString::IString &shotname)
void  setCompressor (const awString::IString &codecDescription)
void  setQuality (long quality)
int  getNumberOfShots () const
awString::IString  getIndexedMovieName (int shot) const
awString::IString  getShotName (int shot) const
awString::IString  getLastOutputFile () const
void  setParameters (int width, int height, int fps, int nof, int nos, int type, bool split, const awString::IString &codecDescription, long quality)
bool  addImage (const awString::IString &basename, int frame, int shot)
bool  addFTB (const awString::IString &basename, int frame)
bool  startMovie (const awString::IString &basename)
bool  saveFrame (int frame)
bool  endMovie ()
void  cleanup ()
void  cleanupOutput ()
bool  readFTB (const awString::IString &filename, float *alpha, float *r, float *g, float *b)

Static Public Member Functions

static awString::IString  getStageBasedShotLabel (const awString::IString &shotName, const awString::IString &stageName)
static awString::IString  getMovieName (const awString::IString &baseName, const awString::IString &stageBasedName)
static const awString::IString &  getMovieNamePattern (bool)

Member Enumeration Documentation

Enumerator:
kAVIOutputFile 
kJPEGSequenceFile 
kTIFFSequenceFile 
kFLVMovie 
kMP4Movie 
kMOVMovie 
kWEBMovie 
                         {
        kAVIOutputFile    = 0,
        kJPEGSequenceFile = 1,
        kTIFFSequenceFile = 2,

        // These are mostly treated as JPEG sequence
        kFLVMovie = 3,
        kMP4Movie = 4,
        kMOVMovie = 5,
        kWEBMovie = 6
    };

Constructor & Destructor Documentation


Member Function Documentation

void setFrameResolution ( int  width,
int  height 
)
void setFramesPerSecond ( int  fps )
void setNumberOfFrames ( int  nof )
void setNumberOfShots ( int  nos )
void setMovieType ( int  type )
void setSplitShots ( bool  split )
void setShotName ( int  shot,
const awString::IString &  shotname 
)
void setCompressor ( const awString::IString &  codecDescription )
void setQuality ( long  quality )
int getNumberOfShots ( ) const
awString::IString getIndexedMovieName ( int  shot ) const
awString::IString getShotName ( int  shot ) const
awString::IString getLastOutputFile ( ) const
void setParameters ( int  width,
int  height,
int  fps,
int  nof,
int  nos,
int  type,
bool  split,
const awString::IString &  codecDescription,
long  quality 
)
bool addImage ( const awString::IString &  basename,
int  frame,
int  shot 
)
bool addFTB ( const awString::IString &  basename,
int  frame 
)
bool startMovie ( const awString::IString &  basename )
bool saveFrame ( int  frame )
bool endMovie ( )
void cleanup ( )
void cleanupOutput ( )
bool readFTB ( const awString::IString &  filename,
float *  alpha,
float *  r,
float *  g,
float *  b 
)
static awString::IString getStageBasedShotLabel ( const awString::IString &  shotName,
const awString::IString &  stageName 
) [static]
static awString::IString getMovieName ( const awString::IString &  baseName,
const awString::IString &  stageBasedName 
) [static]
static const awString::IString& getMovieNamePattern ( bool  ) [static]

MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter
MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter MovieWriter