MLiveClass Class Members

The following tables list the members exposed by MLiveClass.

Public Methods
 NameDescription
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 MethodDeckAbortAborts the deck.  
Public MethodDeckCloseOptionally place the deck in standby mode before closing the connection  
Public MethodDeckCrashRecordStartSets the deck to record.  
Public MethodDeckCrashRecordStopStops the deck record operation.  
Public MethodDeckEjectSends an “eject tape” command to the deck.  
Public MethodDeckFastForwardSends a “fast forward” command to the deck.  
Public MethodDeckGetCaptureOffsetReturns the current setting of the field accurate capture timecode offset in fields.  
Public MethodDeckGetCurrentStateGets the current state of the deck  
Public MethodDeckGetDeviceIDGets the device ID returned by the deck.  
Public MethodDeckGetExportOffsetReturns the current setting of the export offset in fields.  
Public MethodDeckGetManualExportOffsetReturns the manual export offset for the current deck. This is only applicable for manual exports and may be adjusted with the main export offset if required.  
Public MethodDeckGetPrerollGets the preroll time period.  
Public MethodDeckGetTimecodeReturns the current timecode.  
Public MethodDeckGetTimecodeStringReturns the current timecode in string format.  
Public MethodDeckGoToTimecodeSends a “go to timecode” command to the deck.  
Public MethodDeckJogSends a “jog playback” command to the deck.  
Public MethodDeckOpenConfigures a deck control session and opens a connection to a deck.  
Public MethodDeckPlaySends a “play” command to the deck.  
Public MethodDeckRewindSends a “rewind” command to the deck.  
Public MethodDeckSendCommandSends a custom command to the deck. A custom command operation cannot occur if there is an export-to-tape, capture or a custom command operation in progress. The supplied custom command must conform to the Sony 9 Pin protocol and must not include the checksum byte. It will be generated by this interface and added to the command.  
Public MethodDeckSendCommand_ISends a custom command to the deck. A custom command operation cannot occur if there is an export-to-tape, capture or a custom command operation in progress. The supplied custom command must conform to the Sony 9 Pin protocol and must not include the checksum byte. It will be generated by this interface and added to the command.  
Public MethodDeckSetCaptureOffsetThe capture offset may be used to compensate for a deck specific offset between the inpoint and the time at which the capture starts.  
Public MethodDeckSetExportOffsetSets the current export timecode offset in fields. This method permits fine control of the timecode offset to tailor for the response of an individual deck by adjusting the number of fields prior to the in or out point where an export will begin or end.  
Public MethodDeckSetPrerollSets the preroll time period.  
Public MethodDeckSetStandbySends a “set standby” command to the deck  
Public MethodDeckShuttleSends a “shuttle” playback command to the deck.  
Public MethodDeckStartCaptureStarts a capture operation using the given parameters.  
Public MethodDeckStartExportStarts an export to tape operation using the given parameters.  
Public MethodDeckStepBackSends a “step back” command to the deck.  
Public MethodDeckStepForwardSends a “step forward” command to the deck.  
Public MethodDeckStopSends a “stop” command to the deck  
Public MethodDeckTogglePlayStopSends a “play” command to the deck, if the deck is currently paused or stopped. If the deck is currently playing, a “pause” command will be sent to the deck.  
Public MethodDeviceGetGets the current device and its properties.  
Public MethodDeviceGetByIndexGets the device name or device properties by its index.  
Public MethodDeviceGetCountGet the devices or properties count.  
Public MethodDeviceSetSets the working device or updates device properties.  
Public MethodDeviceShowPropsShows the device properties.  
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 MethodPluginsReorderReorders plugins (for example, to add CG overlay before color conversion)  
Public MethodPreviewAudioVolumeGetGets the audio volume of preview. "0" is for full loudness and "-100" is for silence.  
Public MethodPreviewAudioVolumeSetSets the audio volume of preview. "0" is for full loudness and "-100" is for silence.  
Public MethodPreviewEnableEnables the preview.  
Public MethodPreviewFullScreenEnables the full screen mode.  
Public MethodPreviewIsEnabledIndicates whether a preview is enabled  
Public MethodPreviewIsFullScreenIndicates whether the full screen mode is enabled on specified screen.  
Public MethodPreviewSetCursorSets type of pointer in video preview window.  
Public MethodPreviewWindowSetSets the parent window for preview.  
Public MethodPreviewWindowSetVB6PreviewWindowSet method for VB6  
Public MethodPropsGetGets the properties.  
Public MethodPropsGetByIndexGets the property by its index.  
Public MethodPropsGetCountGets the count of properties.  
Public MethodPropsInfoGetGets information about property  
Public MethodPropsOptionGetGets property from options  
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 MethodSourceFrameGetDEPRECATED use SourceFrameGetEx(with reader IDs) !!! Get video frame from source object (MLive, MFile, MPlaylist, MMixer)  
Public MethodSourceFrameGetExGet video frame from source object (MLive, MFile, MPlaylist, MMixer) Note: after stop taken frames, use eFGT_Remove especially for eFGT_Sync mode"  
Top
Public Events
 NameDescription
Public EventOnEventThis method is called when some event occurs. The video stream is blocked while this method is called.  
Public EventOnEventSafeSafe analog for OnEvent method. In this case memory usage is optimized.
Note: Release all the objects before exit OnEvent event body.Raises on each received event  
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 EventOnFrameSafeSafe analog for OnFrame method. In this case memory usage is optimized.
Note: Release all the objects before exit OnFrame event body.Raises on each frame processed  
Top
See Also

Reference

MLiveClass Class
MPLATFORMLib Namespace