#include <MovieWriter.h>
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) |
| enum MovieOutputType |
| 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
};
| 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 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] |