A YUV4MPEG video recorder. More...
Public Member Functions | |
VideoRecorder (String path) | |
Initializes a new instance of the fm.liveswitch.yuv4mpeg.VideoRecorder class. More... | |
Protected Member Functions | |
void | doUpdateHeader () |
Updates the file header. More... | |
boolean | doWrite (fm.liveswitch.VideoBuffer buffer, long presentationTimestamp) |
Write an encoded video frame. More... | |
void | doWriteHeader () |
Writes the file header. More... | |
A YUV4MPEG video recorder.
fm.liveswitch.yuv4mpeg.VideoRecorder.VideoRecorder | ( | String | path | ) |
Initializes a new instance of the fm.liveswitch.yuv4mpeg.VideoRecorder class.
path | The path. |
Reimplemented from fm.liveswitch.VideoRecorder.
|
protected |
Updates the file header.
|
protected |
Write an encoded video frame.
buffer | The encoded buffer. |
presentationTimestamp | The presentation timestamp. |
|
protected |
Writes the file header.