Output configuration

Updated: April 19, 2023

You must attach an output to the context before attaching the input. An output is specified by a URL. The acceptable URL format depends on the output type, which can be an audio device, video device, subpicture (for delivering subtitles), or file. For video and subpicture outputs, the URL string can configure the output window.

A context can have multiple outputs; for example, when playing video files, you can attach a video and an audio output in separate mmr_output_attach() calls. Individual outputs can be detached with mmr_output_detach().

With mmr_output_parameters(), you can set the volume and audio type (e.g., voice, multimedia) for any audio output. The Screen API, not the mm-renderer API, should be used for manipulating video output, including subpictures. For file output, you can set parameters for the encoding and file format.