Class VideoRecorder
A YUV4MPEG video recorder.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Yuv4Mpeg
Assembly: FM.LiveSwitch.dll
Syntax
public class VideoRecorder : VideoRecorder
Constructors
VideoRecorder(String)
Initializes a new instance of the VideoRecorder class.
Declaration
public VideoRecorder(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
Methods
DoUpdateHeader()
Updates the file header.
Declaration
protected override void DoUpdateHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoUpdateHeader()
DoWrite(VideoBuffer, Int64)
Write an encoded video frame.
Declaration
protected override bool DoWrite(VideoBuffer buffer, long presentationTimestamp)
Parameters
Type | Name | Description |
---|---|---|
VideoBuffer | buffer | The encoded buffer. |
System.Int64 | presentationTimestamp | The presentation timestamp. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoWrite(FM.LiveSwitch.VideoBuffer, System.Int64)
DoWriteHeader()
Writes the file header.
Declaration
protected override void DoWriteHeader()
Overrides
FM.LiveSwitch.MediaRecorder<FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoFormat>.DoWriteHeader()