classPiiVideoWriter
#include <PiiVideoWriter.h>
An interface for writing video files with avcodec.
Description
Constructors and destructor
|
|
|
|
( )
|
Public member functions
|
( )
|
|
|
int
|
( )
|
|
int
|
( )
|
|
void
|
( )
Initialize the writer. |
|
bool
|
|
|
bool
|
|
|
void
|
|
|
void
|
(
|
|
void
|
(
|
|
void
|
(
|
|
void
|
(
|
|
int
|
( )
|
Protected member functions
|
bool
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
( )
|
Function details
-
PiiVideoWriter
-
~PiiVideoWriter
() -
QString fileName
() -
int frameRate
() -
int height
() -
void initialize
()Initialize the writer.
This function must be called before frames are being written into video. The implementation initializes libavcodec.
Exceptions
- PiiVideoException&
-
if the initialization could not be performed.
-
-
bool saveNextGrayFrame
-
void setFileName
-
void setFrameRate
(- int frameRate
-
void setHeight
(- int height
-
void setSize
(- int width
- int height
-
void setWidth
(- int width
-
int width
() -
bool allocateMediaContext
()[protected] -
-
-
bool initializeCodec
()[protected]
Add a note
Not a single note added yet. Be the first, add yours.