Write mpeg video frames using mpeg_encode/ppmtompeg. More...
#include <Media/UcbMpegOutputStream.H>
Public Member Functions | |
UcbMpegOutputStream (OptionManager &mgr, const std::string &descrName="Berkeley MPEG Output Stream", const std::string &tagName="UcbMpegOutputStream") | |
Construct an mpegstream object for mpeg output. | |
virtual void | setConfigInfo (const std::string &filestem) |
Override from FrameOstream; just calls setFileStem(). | |
void | setFileStem (const std::string &s) |
Specify a filename prefix to be used for all generated movie files. | |
Protected Member Functions | |
virtual rutz::shared_ptr < LowLevelEncoder > | makeEncoder (const GenericFrameSpec &spec, const std::string &shortname, const FrameInfo &auxinfo) |
Create an appropriate UcbMpegEncoder. |
Write mpeg video frames using mpeg_encode/ppmtompeg.
Definition at line 49 of file UcbMpegOutputStream.H.
UcbMpegOutputStream::UcbMpegOutputStream | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Berkeley MPEG Output Stream" , |
|||
const std::string & | tagName = "UcbMpegOutputStream" | |||
) |
Construct an mpegstream object for mpeg output.
Definition at line 73 of file UcbMpegOutputStream.C.
rutz::shared_ptr< LowLevelEncoder > UcbMpegOutputStream::makeEncoder | ( | const GenericFrameSpec & | spec, | |
const std::string & | shortname, | |||
const FrameInfo & | auxinfo | |||
) | [protected, virtual] |
Create an appropriate UcbMpegEncoder.
Implements LowLevelEncoderMap.
Definition at line 102 of file UcbMpegOutputStream.C.
References UcbMpegParams::basic(), OModelParam< T >::getVal(), hasExtension(), SimTime::hertz(), UcbMpegParams::hq(), and UcbMpegParams::superhq().
void UcbMpegOutputStream::setConfigInfo | ( | const std::string & | filestem | ) | [virtual] |
Override from FrameOstream; just calls setFileStem().
Reimplemented from FrameOstream.
Definition at line 84 of file UcbMpegOutputStream.C.
References setFileStem().
void UcbMpegOutputStream::setFileStem | ( | const std::string & | s | ) |
Specify a filename prefix to be used for all generated movie files.
By default, the prefix is the empty string.
Definition at line 94 of file UcbMpegOutputStream.C.
Referenced by setConfigInfo().