The ILMMuxSubtitle interface is exposed by multiplexers, and is used to add subtitle streams to the multiplexer's output.
For an overview of how to use the ILMMuxSubtitle interface, refer to Displaying Subtitles.
Type | Name | Description |
---|---|---|
ILMSubtitleTrackList | Tracks | A read-only property that contains the list of all tracks. |
ILMSubtitleTrackList | TextTracks | A read-only property that contains a list of all text tracks. |
Exits the edit mode.
A VARIANT_BOOL value that indicates whether to discard all changes made during edit mode. A value of VARIANT_TRUE discards all changes made while in edit mode. A value of VARIANT_FALSE will keep the changes.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
VFW_E_WRONG_STATE | The graph is not stopped. |
Enters edit mode. Call this function before making changes to the tracks.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
VFW_E_WRONG_STATE | The graph is not stopped. |
Removes the specified track.
A long value that contains the track identifier.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_INVALIDARG | The track is not in the Tracks list. |
Adds a text track from a file. Currently, only the SubRip (*.srt) format is supported.
A string value containing the path to the subtitle file.
A string value containing the track label.
A string value containing the RFC 5646 language code for the track.
A pointer to a long variable that receives the new track identifier.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
VFW_E_INVALID_FILE_FORMAT | The file format is not valid. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document