Torque3D Documentation / _generateds / VideoEncoderPNG

VideoEncoderPNG

Engine/source/gfx/video/videoEncoderPNG.cpp

This is a very basic "encoder" that records the video as a series of numbered PNGs Good if you're having problems with container-based formats and need extra flexibility.

More...

Private Attributes

Public Functions

bool

Begins accepting frames for encoding.

bool
end()

Finishes the encoding and closes the video.

bool
pushFrame(GBitmap * bitmap)

Pushes a new frame into the video stream.

setResolution(Point2I * resolution)

Sets the output resolution (and fixes it if its invalid)

Detailed Description

This is a very basic "encoder" that records the video as a series of numbered PNGs Good if you're having problems with container-based formats and need extra flexibility.

Private Attributes

U32 mCurrentFrame 

Public Functions

begin()

Reimplemented from: VideoEncoder

end()

Reimplemented from: VideoEncoder

pushFrame(GBitmap * bitmap)

Reimplemented from: VideoEncoder

setResolution(Point2I * resolution)

Reimplemented from: VideoEncoder