#include <vtkFFMPEGWriter.h>
vtkFFMPEGWriter is an adapter that allows VTK to use the LGPL'd FFMPEG library to write movie files. FFMPEG can create a variety of multimedia file formats and can use a variety of encoding algorithms (codecs). This class creates .avi files containing MP43 encoded video without audio.
The FFMPEG multimedia library source code can be obtained from the sourceforge web site at http://ffmpeg.sourceforge.net/download.php or is a tarball along with installation instructions at http://www.vtk.org/files/support/ffmpeg_source.tar.gz
Definition at line 41 of file vtkFFMPEGWriter.h.
Public Types | |
typedef vtkGenericMovieWriter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Start () |
void | Write () |
void | End () |
virtual void | SetQuality (int) |
virtual int | GetQuality () |
virtual void | SetRate (int) |
virtual int | GetRate () |
virtual void | SetBitRate (int) |
virtual int | GetBitRate () |
virtual void | SetBitRateTolerance (int) |
virtual int | GetBitRateTolerance () |
Static Public Member Functions | |
static vtkFFMPEGWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkFFMPEGWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkFFMPEGWriter () | |
~vtkFFMPEGWriter () | |
Protected Attributes | |
vtkFFMPEGWriterInternal * | Internals |
int | Initialized |
int | Quality |
int | Rate |
int | BitRate |
int | BitRateTolerance |
vtkFFMPEGWriter::vtkFFMPEGWriter | ( | ) | [protected] |
vtkFFMPEGWriter::~vtkFFMPEGWriter | ( | ) | [protected] |
static vtkFFMPEGWriter* vtkFFMPEGWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkFFMPEGWriter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGenericMovieWriter.
static int vtkFFMPEGWriter::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkGenericMovieWriter.
virtual int vtkFFMPEGWriter::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkGenericMovieWriter.
static vtkFFMPEGWriter* vtkFFMPEGWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGenericMovieWriter.
void vtkFFMPEGWriter::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkGenericMovieWriter.
void vtkFFMPEGWriter::Start | ( | ) | [virtual] |
These methods start writing an Movie file, write a frame to the file and then end the writing process.
Implements vtkGenericMovieWriter.
void vtkFFMPEGWriter::Write | ( | ) | [virtual] |
These methods start writing an Movie file, write a frame to the file and then end the writing process.
Implements vtkGenericMovieWriter.
void vtkFFMPEGWriter::End | ( | ) | [virtual] |
These methods start writing an Movie file, write a frame to the file and then end the writing process.
Implements vtkGenericMovieWriter.
virtual void vtkFFMPEGWriter::SetQuality | ( | int | ) | [virtual] |
Set/Get the compression quality. 0 means worst quality and smallest file size 2 means best quality and largest file size
virtual int vtkFFMPEGWriter::GetQuality | ( | ) | [virtual] |
Set/Get the compression quality. 0 means worst quality and smallest file size 2 means best quality and largest file size
virtual void vtkFFMPEGWriter::SetRate | ( | int | ) | [virtual] |
Set/Get the frame rate, in frame/s.
virtual int vtkFFMPEGWriter::GetRate | ( | ) | [virtual] |
Set/Get the frame rate, in frame/s.
virtual void vtkFFMPEGWriter::SetBitRate | ( | int | ) | [virtual] |
Set/Get the bit-rate
virtual int vtkFFMPEGWriter::GetBitRate | ( | ) | [virtual] |
Set/Get the bit-rate
virtual void vtkFFMPEGWriter::SetBitRateTolerance | ( | int | ) | [virtual] |
Set/Get the bit-rate tolerance
virtual int vtkFFMPEGWriter::GetBitRateTolerance | ( | ) | [virtual] |
Set/Get the bit-rate tolerance
vtkFFMPEGWriterInternal* vtkFFMPEGWriter::Internals [protected] |
Definition at line 85 of file vtkFFMPEGWriter.h.
int vtkFFMPEGWriter::Initialized [protected] |
Definition at line 87 of file vtkFFMPEGWriter.h.
int vtkFFMPEGWriter::Quality [protected] |
Definition at line 88 of file vtkFFMPEGWriter.h.
int vtkFFMPEGWriter::Rate [protected] |
Definition at line 89 of file vtkFFMPEGWriter.h.
int vtkFFMPEGWriter::BitRate [protected] |
Definition at line 90 of file vtkFFMPEGWriter.h.
int vtkFFMPEGWriter::BitRateTolerance [protected] |
Definition at line 91 of file vtkFFMPEGWriter.h.