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 |
---|---|---|
Tracks | A read-only property that contains the list of all tracks. | |
TextTracks | A read-only property that contains a list of all text tracks. |
discard | A VARIANT_BOOL value that indicates whether to discard all changes made during edit mode. A value of VARIANT_TRUE discards all changes. A value of VARIANT_FALSE will keep the changes. |
Exits the edit mode. Set discard to VARIANT_TRUE to undo all changes made while in edit mode.
S_OK if successful, < 0 if an error occurred.
VFW_E_WRONG_STATE |
The graph is not stopped. |
Enters edit mode. Call this function before making changes to the tracks.
S_OK if successful, < 0 if an error occurred.
VFW_E_WRONG_STATE |
The graph is not stopped. |
trackid | A long value that contains the track identifier. |
Removes the specified track.
S_OK if successful; < 0 if an error occurred.
E_INVALIDARG |
The track is not in the Tracks list. |
path | A string value containing the path to the subtitle file. |
label | A string value containing the track label. |
language | A string value containing the RFC 5646 language code for the track. |
trackid | A pointer to a long variable that receives the new track identifier. |
Adds a text track from a file. Currently, only the SubRip (*.srt) format is supported.
S_OK if successful; < 0 if 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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.