A Matroska video recorder. More...
Public Member Functions | |
VideoRecorder (String path, fm.liveswitch.VideoFormat inputFormat) | |
Initializes a new instance of the fm.liveswitch.matroska.VideoRecorder class. More... | |
Public Member Functions inherited from fm.liveswitch.VideoRecorder | |
VideoRecorder (String path) | |
Initializes a new instance of the fm.liveswitch.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 Matroska video recorder.
fm.liveswitch.matroska.VideoRecorder.VideoRecorder | ( | String | path, |
fm.liveswitch.VideoFormat | inputFormat | ||
) |
Initializes a new instance of the fm.liveswitch.matroska.VideoRecorder class.
path | The path. |
inputFormat | The input format. |
|
protected |
Updates the file header.
|
protected |
Write an encoded video frame.
buffer | The encoded buffer. |
presentationTimestamp | The presentation timestamp. |
|
protected |
Writes the file header.