WriterSkip Method (MWriterClass)
duration of pause in seconds
Pauses writing to the file for the specified period.
Syntax
Public Overridable Sub WriterSkip( _
   ByVal _dblSkipTime As Double _
) 
public virtual void WriterSkip( 
   double _dblSkipTime
)
public procedure WriterSkip( 
    _dblSkipTime: Double
); virtual; 
public: virtual void WriterSkip( 
   double _dblSkipTime
) 

Parameters

_dblSkipTime
duration of pause in seconds
Example

Here is example of how to skip 10 seconds during capturing from a playlist:

'configure playlist
Dim myPlaylist As New MPlaylistClass()
myPlaylist.ObjectStart(New Object())
Dim myIndex As Integer = -1
Dim myItem As MItem
myPlaylist.PlaylistAdd(Nothing, "c:\mySourceFile.mp4", "", myIndex, myItem)
myPlaylist.FilePlayStart()
'create MWriter and start capturing
Dim m_objWriter As New MWriterClass()
m_objWriter.WriterNameSet("c:\myFile.avi", "video::bitrate=1M audio::bitrate=64K")
m_objWriter.ObjectStart(myPlaylist)
kip 10 seconds
m_objWriter.WriterSkip(10.0)
//configure playlist
MPlaylistClass myPlaylist = new MPlaylistClass();
myPlaylist.ObjectStart(new object());
int myIndex = -1;
MItem myItem;
myPlaylist.PlaylistAdd(null, @"c:\mySourceFile.mp4", "", ref myIndex, out myItem);
myPlaylist.FilePlayStart();
//create MWriter and start capturing
MWriterClass m_objWriter = new MWriterClass();
m_objWriter.WriterNameSet(@"c:\myFile.avi", "video::bitrate=1M audio::bitrate=64K");
m_objWriter.ObjectStart(myPlaylist);
//skip 10 seconds
m_objWriter.WriterSkip(10.0);
var
m_objWriter: IMWriter;
myPlaylist: IMPlaylist;
myIndex: integer;
myItem: MItem;
myFile: IMFile;
myWriterObject: IMObject;
begin
//configure playlist
myPlaylist:= CreateComObject(CLASS_MPlaylist) as IMPlaylist;
myFile:= myPlaylist as IMFile;
myIndex:=-1;
myPlaylist.PlaylistAdd(nil, 'c:\mySourceFile.mp4', '', myIndex, myItem);
myFile.FilePlayStart();
//create MWriter and start capturing
m_objWriter := CreateComObject(CLASS_MWriter) as IMWriter;
myObject:=m_objWriter as IMObject;
m_objWriter.WriterNameSet('c:\myFile.avi', 'video::bitrate=1M audio::bitrate=64K');
myObject.ObjectStart(myPlaylist);
//skip 10 seconds
myWriter.WriterSkip(10.0);
end;
See Also

Reference

MWriterClass Class
MWriterClass Members