Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer Methods

The methods of the TVFMediaPlayer class are listed here.

 
Name 
Description 
 
This is Paint, a member of class TVFMediaPlayer. 
 
Name 
Description 
 
Add additional audio stream.  
 
Clears additional audio streams.  
 
Gets audio additional audio streams count.  
 
Gets current balance value for selected audio output device.  
 
Sets current balance value for selected audio output device.  
 
Adds audio effect.  
 
Sets parameters for the amplify effect.  
 
Sets the parameters for the Band Pass effect.  
 
Sets parameters for the channel order effect.  
 
Deletes all the inserted audio effects.  
 
Sets the parameters for the compressor effect.  
 
Returns the count of audio effects in use.  
 
Sets the parameters for the DS Chorus effect.  
 
Sets the parameters for the DS Compressor effect.  
 
Sets the parameters for the DS Distortion effect.  
 
Sets the parameters for the DS Echo effect.  
 
Sets the parameters for the DS Flanger effect.  
 
Sets the parameters for the DS Gargle effect.  
 
Sets the parameters for the DS ParamEQ effect.  
 
Sets the parameters for the DS Reverb effect.  
 
Sets the parameters for the DS Waves Reverb effect.  
 
Sets the parameters for the Dynamic Amplify effect.  
 
Returns the value for the current amplification level.  
 
Sets the parameters for the Echo Delay effect.  
 
Enables selected audio effect.  
 
Sets the parameters for the Equalizer effect.  
 
Gets the current level of audio volume for the selected equalizer band(slider).  
 
Sets the current level of audio volume for the selected equalizer band(slider).  
 
Sets the equalizer preset value.  
 
Gets the count for the Equalizer Presets values.  
 
Gets the name for the selected Equalizer Preset.  
 
Sets the parameters for the Flanger effect.  
 
Sets the parameters for the High Pass effect.  
 
Sets the parameters for the Low Pass effect.  
 
Sets the parameters for the Notch effect.  
 
Sets the parameters for the ParametricEQ effect.  
 
Sets the parameters for the Phase Invert effect.  
 
Sets the parameters for the Phaser effect.  
 
Sets the parameters for the Pitch Scale effect.  
 
Sets the parameters for the Pitch Shift effect.  
 
Sets the current audio channel for the audio effects.  
 
Sets the parameters for the Sound3D effect.  
 
Sets the parameters for the Tempo effect.  
 
Sets the parameters for the Treble Enhancer effect.  
 
Sets the parameters for the True Bass effect.  
 
Gets amount of devices from the audio output device list.  
 
Gets selected audio output device from the audio output device list.  
 
Enables/disables audio stream.  
 
Gets current volume value for selected audio output device.  
 
Sets current volume value for selected audio output device.  
 
Clears the background image.  
 
Sets the background image from the image file.  
 
Closes file.  
 
Gets SDK version.  
 
Sets custom cursor.  
 
Sets default cursor.  
 
Sets custom cursor.  
 
Returns if the DirectShow filter has a settings dialog box.  
 
Returns the merit for the selected DirectShow filter.  
 
Sets the merit for the selected DirectShow filter.  
 
Displays the dialog box with the settings of the selected DirectShow filter.  
 
Adds the DirectShow filter to the black list.  
 
Clears the filters black list.  
 
Gets amount of DirectShow filters from the list.  
 
Gets selected DirectShow filter from the list.  
 
Gets duration in frames.  
 
Gets duration in milliseconds.  
 
Restores DVD bookmark.  
 
Saves DVD bookmark.  
 
Gets current chapter number.  
 
Plays next chapter.  
 
Plays previous chapter.  
 
Replays current chapter.  
 
Starts playback from the specified chapter in the current title.  
 
Leaves a menu and resumes playback.  
 
Displays the specified menu, if available.  
 
Selects the audio stream to play.  
 
Method sets the subpicture stream to display.  
 
Sets the specified video mode display (wide screen, letterbox, or pan-scan) for playback.  
 
Plays forward / backward at the specified speed from the current location.  
 
Gets current title number.  
 
Gets current title duration in milliseconds.  
 
Gets current title duration in seconds.  
 
Starts playback from the first chapter in the specified title.  
 
Returns if the Enhanced Video Renderer present.  
 
Returns if the Video Mixing Renderer 9 present.  
 
Gets the current video frame.  
 
Gets the current video frame.  
 
Gets the current video frame.  
 
Saves the current frame in one of the available formats.  
 
Gets a frame from video file.  
 
Gets a frame from video file.  
 
Saves a frame from video file.  
 
Gets formatted time.  
 
Gets audio bitrate.  
 
Gets audio BPS.  
 
Gets audio channels count.  
 
Gets audio codec name.  
 
Returns True if the audio codec has a settings dialog box.  
 
Shows the dialog box with the settings of the selected audio codec.  
 
Gets audio codec information.  
 
Gets audio duration in seconds.  
 
Gets audio duration in milliseconds.  
 
Gets audio sample rate.  
 
Returns True if the one audio output will be used for all audio streams.  
 
Gets audio streams count.  
 
Gets current audio stream number.  
 
Gets default audio language.  
 
Gets default audio language extension.  
 
Gets default audio language as String.  
 
Gets audio streams count.  
 
Gets audio caps.  
 
Gets maximum audio data rate in reverse direction.  
 
Gets maximum subpicture data rate in reverse direction.  
 
Gets maximum video data rate in reverse direction.  
 
Gets maximum audio data rate in forward direction.  
 
Gets maximum subpicture data rate in forward direction.  
 
Gets maximum video data rate in forward direction.  
 
Gets disc country code.  
 
Gets disc country code.  
 
Retrieves a set of flags indicating which navigation commands, if any, the content authors have explicitly disabled for the current disc location.  
 
Gets DVD disc side.  
 
Gets DVD disc ID.  
 
Gets DVD disc ID.  
 
Gets titles count.  
 
Gets volumes count.  
 
Gets current DVD disc volume.  
 
Fills specified title audio info.  
 
Fills specified title info.  
 
Fills specified title subpicture info.  
 
Gets DVD menu default language.  
 
Gets DVD menu default language.  
 
Gets DVD menu languages count.  
 
Gets selected DVD menu language from the list.  
 
Gets audio mode.  
 
Gets audio mode data.  
 
Gets audio format.  
 
Gets audio sample rate.  
 
Indicates whether multichannel attributes are present.  
 
Gets audio language.  
 
Gets audio language extension.  
 
Gets audio language as String.  
 
Gets audio channels count.  
 
Gets audio BPS. Zero indicates the BPS is unknown.  
 
Returns True if audio stream present.  
 
A value of FALSE indicates that the region is compatible (permitted). A value of TRUE indicates that the region is not compatible.  
 
Returns True if subpicture stream present.  
 
Gets video stream's X aspect (4 or 16).  
 
Gets video stream's Y aspect (3 or 9).  
 
Gets video compression type.  
 
Gets the frame height in lines (525 for a frame rate of 60 Hz or 625 for 50 Hz).  
 
Gets the frame rate in hertz (Hz), either 25 or 30.  
 
For 625/50 Hz systems, TRUE means “film mode” and FALSE means “camera mode.”  
 
TRUE means the picture can be shown as letterbox if the display aspect ratio is 4:3.  
 
TRUE means there is a user data in line 21, field 1.  
 
TRUE means there is a user data in line 21, field 2.  
 
TRUE means the picture can be shown as pan-scan if the display aspect ratio is 4:3.  
 
TRUE means the source video is in letterbox format. Subpictures and menu buttons can only be displayed in the active video area.  
 
Gets the x-axis source resolution (352, 704, or 720).  
 
Gets y-axis source resolution (240, 480, 288, or 576).  
 
Gets the parental levels that are defined for a particular title. Result is DVD_PARENTAL_LEVEL enumeration.  
 
Gets current subpicture stream.  
 
Gets subpicture stream default language.  
 
Gets subpicture streams default language extension.  
 
Gets subpicture stream default language as String.  
 
Returns True if the subpicture stream is enabled.  
 
Gets subpicture streams count.  
 
Gets title mode.  
 
Gets audio streams count.  
 
Gets current audio mode.  
 
Gets current audio mode data.  
 
Gets audio format.  
 
Gets audio sample rate.  
 
Indicates whether multichannel attributes are present.  
 
Gets audio language.  
 
Gets audio language extension.  
 
Gets audio language as String.  
 
Gets audio channels count.  
 
Gets audio BPS. Zero indicates the BPS is unknown.  
 
Contain the mixing coefficients for each channel in the audio stream.  
 
Contain the mixing information for the channel 1 in the audio stream.  
 
Contain the mixing information for the channel 2 in the audio stream.  
 
Contain the mixing information for the channel 3 in the audio stream.  
 
Contain the mixing information for the channel 4 in the audio stream.  
 
Contain the mixing information for the channel 5 in the audio stream.  
 
Contain the mixing information for the channel 6 in the audio stream.  
 
Contain the mixing information for the channel 7 in the audio stream.  
 
Contain the mixing information for the channel 8 in the audio stream.  
 
Gets subpicture stream coding mode.  
 
Gets subpicture language.  
 
Gets subpicture language extension.  
 
Gets subpicture language as String.  
 
Gets subpicture streams count.  
 
Gets subpicture type.  
 
Gets video stream's X aspect (4 or 16).  
 
Gets video stream's Y aspect (3 or 9).  
 
Gets video compression type.  
 
Gets the frame height in lines (525 for a frame rate of 60 Hz or 625 for 50 Hz).  
 
Gets frame rate in hertz (Hz), either 50 or 60.  
 
For 625/50 Hz systems, TRUE means “film mode” and FALSE means “camera mode.”  
 
TRUE means the picture can be shown as letterbox if the display aspect ratio is 4:3.  
 
TRUE means there is user data in line 21, field 1.  
 
TRUE means there is user data in line 21, field 2.  
 
TRUE means the picture can be shown as pan-scan if the display aspect ratio is 4:3.  
 
TRUE means the source video is in letterbox format. Subpictures and menu buttons can only be displayed in the active video area.  
 
Gets the x-axis source resolution (352, 704, or 720).  
 
Gets y-axis source resolution (240, 480, 288, or 576).  
 
Gets current audio mode.  
 
Gets current audio mode data.  
 
Gets audio format.  
 
Gets audio sample rate.  
 
Indicates whether multichannel attributes are present.  
 
Gets audio language.  
 
Gets audio language extension.  
 
Gets audio language as string.  
 
Gets audio channels count.  
 
Gets audio BPS. Zero indicates the BPS is unknown.  
 
Returns True if audio stream present.  
 
An array of boolean values indicating with which DVD regions the disc's authored region is compatible. A value of FALSE indicates that the region is compatible (permitted). A value of TRUE indicates that the region is not compatible.  
 
Returns True if subpicture stream present.  
 
Gets video stream's X aspect (4 or 16).  
 
Gets video stream's Y aspect (3 or 9).  
 
Gets video compression type.  
 
Gets the frame height in lines (525 for a frame rate of 60 Hz or 625 for 50 Hz).  
 
Gets the frame rate in hertz (Hz), either 50 or 60.  
 
For 625/50 Hz systems, TRUE means “film mode” and FALSE means “camera mode.”  
 
TRUE means the picture can be shown as letterbox if the display aspect ratio is 4:3.  
 
TRUE means there is user data in line 21, field 1.  
 
TRUE means there is user data in line 21, field 2.  
 
TRUE means the picture can be shown as pan-scan if the display aspect ratio is 4:3.  
 
TRUE means the source video is in letterbox format. Subpictures and menu buttons can only be displayed in the active video area.  
 
Gets the x-axis source resolution (352, 704, or 720).  
 
Gets the y-axis source resolution (240, 480, 288, or 576).  
 
Gets chapters count.  
 
Gets parental level.  
 
Gets time code flags. Result is DVD_TIMECODE_FLAGS enumeration.  
 
Gets file format.  
 
Returns True if the DirectShow filter has a settings dialog box.  
 
Displays the dialog box with the settings of the selected DirectShow filter.  
 
Returns True if the file is playable.  
 
Gets amount of codecs from the codec list.  
 
Gets selected audio codec from the codec list.  
 
Gets amount of DirectShow filters from the list.  
 
Gets selected DirectShow filter from the list.  
 
Gets amount of codecs from the codec list.  
 
Gets selected video codec from the codec list.  
 
Reads file info.  
 
Reads lists of DirectShow filters, audio and video codecs.  
 
Reads DVD info.  
 
Gets subtitle stream codec.  
 
Gets subtitle stream language.  
 
Gets subtitle stream name.  
 
Gets text streams count.  
 
Gets the video stream's vertical aspect.  
 
Gets video aspect ratio.  
 
Gets video aspect ratio as String.  
 
Gets the video stream's horizontal aspect.  
 
Gets video bitrate.  
 
Gets video codec.  
 
Returns True if the video codec has a settings dialog box.  
 
Display the dialog box with the settings of the selected video codec.  
 
Gets video stream duration.  
 
Gets video stream duration in milliseconds.  
 
Gets video stream FourCC code.  
 
Gets video frame rate.  
 
Gets video stream frames count.  
 
Gets video height.  
 
Gets MPEG audio tag.  
 
Gets video streams count.  
 
Gets video width.  
 
Updates motion detection settings.  
 
Adds additional screen.  
 
Clears the additional screens.  
 
Sets the additional parameters for the selected screen.  
 
Sets the new size for the additional screen.  
 
Shows next frame.  
 
Deinitializes OSD.  
 
Initializes OSD.  
 
Applies selected layer.  
 
Clears all layers.  
 
Creates new layer.  
 
Deletes selected layer.  
 
Draws an image on the selected layer.  
 
Draws an image on the selected layer.  
 
Draws an image on the selected layer.  
 
Draws an image on the selected layer.  
 
Draws Text on the selected layer.  
 
Gets HBITMAP for the selected layer.  
 
Gets HBITMAP for the selected layer.  
 
Sets transparency level.  
 
Pause.  
 
Play 
Starts playback.  
 
Gets current position in frames.  
 
Gets current position in milliseconds.  
 
Sets current position in frames.  
 
Sets current position in milliseconds.  
 
Resume.  
 
Updates the screen settings.  
 
Fills the list of deinterlace modes.  
 
Gets available deinterlace mode count.  
 
Gets selected deinterlace mode.  
 
After buying a license of Media Player SDK, you will receive the serial number. To get rid of nag screen during the run time, you will need to activate control via this method.  
 
Sets playback speed.  
 
Stop 
Stops playback.  
 
Test 
For Test purposes only, never call it!  
 
Adds video effect.  
 
Clears video effects.  
 
Calculates output pixels as alpha blends of the results of two filters applied to input pixels.  
 
Content adaptive vertical temporal (CAVT) filtering.  
 
Triangle filtering.  
 
Performs spatio-temporal adaptive noise reduction filtering.  
 
Performs content adaptive spatio-temporal noise reduction filtering.  
 
Applies CAST filter parameters.  
 
Performs spatio-temporal motion adaptive mosquito noise reduction filtering.  
 
Triangle filtering.  
 
Adds a graphical logo.  
 
Adds a graphical logo.  
 
Adds a graphical logo.  
 
Removes an effect.  
 
Adds a text logo.  
 
Adds a Text logo.  
 
Draws current date and/or time instead text.  
 
Sets an effect for the text.  
 
Sets a gradient colors for a text.  
 
Sets rectangular around the text.  
 
Rotates text logo for custom angle value, or displays text with vertical or horizontal flip.  
 
Sets shape parameters.  
 
Sets additional parameters for the text.  
 
Sets the values for logo transparency.  
 
Applies new text parameters.  
 
Triangle filtering.  
 
Adds DirectShow filter to the list. You can use filters to process video.  
 
Clears filter list.  
 
Deletes filter from the list.  
Copyright (c) 2013. All rights reserved.
What do you think about this topic? Send feedback!