MWriterClass Class Members

The following tables list the members exposed by MWriterClass.

Public Methods
 NameDescription
Public Methodadd_OnEventSafe  
Public Methodadd_OnFrameSafe  
Public MethodAttributesBoolGetGets value of attribute. This method works only with attributes, whose values are boolean.  
Public MethodAttributesBoolSetSets value to attribute. This method works only with attributes, whose values are boolean.  
Public MethodAttributesCloneCreates a copy of attributes.  
Public MethodAttributesDoubleGetGets value of attribute. This method works only with attributes, whose values are double.  
Public MethodAttributesDoubleSetSets value to attribute. This method works only with attributes, whose values are double.  
Public MethodAttributesGetByIndexGets attribute by its index.  
Public MethodAttributesGetCountGets count of attributes.  
Public MethodAttributesHaveIndicates whether the attribute is existed.  
Public MethodAttributesInfoGetGet attribute information (see eMInfoType for details)  
Public MethodAttributesInfoGetByIndexGet attribute information by index of the attribute.  
Public MethodAttributesInfoGetCountGets the count of attribute information fields.  
Public MethodAttributesIntGetGets value of attribute. This method works only with attributes, whose values are integer.  
Public MethodAttributesIntSetSets value of attribute. This method works only with attributes, whose values are integer.  
Public MethodAttributesMultipleSetSets values to collection of attributes.  
Public MethodAttributesRemoveRemoves the attribute.  
Public MethodAttributesRemoveAllRemoves all attributes.  
Public MethodAttributesSaveSaves all attributes to string.  
Public MethodAttributesSetSets multiple attributes.  
Public MethodAttributesStringGetGets value of attribute. This method works only with attributes, whose values are strings.  
Public MethodAttributesStringSetSets value of attribute. This method works only with attributes, whose values are strings.  
Public MethodAttributesValuesInfoGetGets information about values of the attribute  
Public MethodAudioChannelsPerTrackGetGets output number of channels per audio track.  
Public MethodAudioChannelsPerTrackSetSets number of output channels per track.  
Public MethodAudioSplitStringGetGets string mask that separates audio channels into audio tracks.  
Public MethodAudioSplitStringSetSets string mask that separates audio channels into audio tracks. If there is no original tracks information, it is incorrect or you need to separate channels into tracks manually, use this method.  
Public MethodAudioTrackAddAdds a virtual audio track with needed subset of channels. Virtual track clones one of already existsing tracks.  
Public MethodAudioTrackGetByIndexGets the input track by its index.  
Public MethodAudioTrackRemoveRemoves the virtual audio track.  
Public MethodAudioTracksGetCountGets the count of tracks.  
Public MethodAudioTracksSetCountSets number of audio tracks. Use this method to set number of output tracks in playlist before adding files to it.  
Public MethodConfigGetGets the option of the specified type with its attributes.  
Public MethodConfigGetAllGets all properties of configuration.  
Public MethodConfigGetByIndexGets the option of the certain type by its index.  
Public MethodConfigGetCountGets count of the certain type options.  
Public MethodConfigSetSets the option of the specified type and gets its attributes for setting the properties of this option.  
Public MethodConfigSetAllSets all properties of configuration.  
Public MethodConfigShowPropsShows properties of the specified type. Reserved for future usage.  
Public MethodConfigTypesGetByIndexGets an option type by its index.  
Public MethodConfigTypesGetCountGets the count of option types.  
Public MethodFormatAudioGetGets the current audio format.  
Public MethodFormatAudioGetByIndexGets the audio format by its index.  
Public MethodFormatAudioGetCountGets the number of audio formats.  
Public MethodFormatAudioSetSets the output audio format for object.  
Public MethodFormatVideoGetGets the current video format.  
Public MethodFormatVideoGetByIndexGets the video format by its index.  
Public MethodFormatVideoGetCountGets the count of video formats.  
Public MethodFormatVideoSetSets the output video format for object.  
Public MethodObjectCallbackSetSets the callback (for C++ and Delphi, for other languages use events). This method blocks the video stream.  
Public MethodObjectCallbackSetFuncSets the callback function (for C++ and Delphi, for other languages use events). The method blocks the video stream.  
Public MethodObjectCloseStops and closes the current object.  
Public MethodObjectCommandExecuteExecutes the special command for object.  
Public MethodObjectFrameGetGets the current frame from any source object.  
Public MethodObjectGetInternalGets DirectShow object in MPlatform. Use for MLive, MRenderer and MWriter objects.  
Public MethodObjectNameGetGets the object name.  
Public MethodObjectNameSetSets the object name.  
Public MethodObjectStartInitializes and starts the object.  
Public MethodObjectStateGetGets the state of object.  
Public MethodObjectVirtualSourceCreateCreates virtual source.  
Public MethodPersistLoadLoads the data from string or from file.  
Public MethodPersistSaveToFileSaves the configuration data to the file.  
Public MethodPersistSaveToStringSaves the configuration data to string.  
Public MethodPluginsAddAdds the plugin (for example, CG).  
Public MethodPluginsAddVB6PluginsAdd method for VB6  
Public MethodPluginsGetByIndexGets the plugin by its index.  
Public MethodPluginsGetByIndexVB6PluginsGetByIndex method for VB6  
Public MethodPluginsGetCountGets the number of plugins.  
Public MethodPluginsRemoveRemoves the plugin.  
Public MethodPluginsReorder  
Public MethodPropsGetGets the properties.  
Public MethodPropsGetByIndexGets the property by its index.  
Public MethodPropsGetCountGets the count of properties.  
Public MethodPropsInfoGetGets information about property  
Public MethodPropsOptionGet  
Public MethodPropsOptionGetByIndexGets property option by its index  
Public MethodPropsOptionGetCountGets number of options for the property  
Public MethodPropsOptionSetByIndexSets option property by its index  
Public MethodPropsRemoveRemoves the property.  
Public MethodPropsSetSets the property.  
Public MethodReceiverChannelAddAdds the media sender to renderer.  
Public MethodReceiverChannelAddByNameAdds the media sender by its name.  
Public MethodReceiverChannelGetByIndexGets the information about sender by its index.  
Public MethodReceiverChannelGetCountGets the number of connected senders.  
Public MethodReceiverChannelRemoveRemoves the media sender.  
Public MethodReceiverPutEOSPuts the end of stream command to renderer. It is used when stream is no longer needed for data transmission.  
Public MethodReceiverPutFlushPuts the Flush command to renderer to reset all data in object. It used before object removing.  
Public MethodReceiverPutFramePuts frame to the renderer  
Public Methodremove_OnEventSafe  
Public Methodremove_OnFrameSafe  
Public MethodSchedulerAddAdds a new scheduled item (file, playlist or live source) at specified time. Not implemented yet.  
Public MethodSchedulerCommandAddAdds a new command to task at specified time.  
Public MethodSchedulerGetByIndexGets the task by its index.  
Public MethodSchedulerGetByTimeGets the task that is next to the specified time.  
Public MethodSchedulerGetCountGets the count of scheduled tasks.  
Public MethodSchedulerGetNextGets one of next tasks or all next tasks after specified index.  
Public MethodSchedulerRemoveRemoves the single task.  
Public MethodSchedulerRemoveByIndexRemoves multiple tasks by its index.  
Public MethodSchedulerStatGetGets the information about task (last time of execution and number of executions).  
Public MethodSendersGetGets the sender object by its name.Gets a sender object by its name  
Public MethodSendersGetByIndex Gets a sender by its index  
Public MethodSendersGetCountGets the count of senders.Gets amount of available external objects  
Public MethodWriterNameGetGets the path to the output file.  
Public MethodWriterNameSetSets the output file name and additional parameters of encoding.  
Public MethodWriterSkipPauses writing to the file for the specified period.  
Top
Public Events
 NameDescription
Public EventOnEventThis method is called when some event occurs. The video stream is blocked while this method is called.  
Public EventOnEventSafe  
Public EventOnFrameThis method is used to obtain frame data. It called for each input/output frame. The video stream is blocked while this method is called.  
Public EventOnFrameSafe  
Top
See Also

Reference

MWriterClass Class
MPLATFORMLib Namespace