The mmrplay utility plays media files by invoking mm-renderer to manage the media flow from input to output. The utility reports any playback errors and also reports when the media finishes playing (if configured to do so).

Note: The mm-renderer service must be running for mmrplay to work. Information on starting this required service is given in the Multimedia Renderer Developer's Guide.
You can play a media file by providing mmrplay with a single command that contains valid input and output URLs. The input URL can be:

The mmrplay utility accepts the same types of input URLs as mm-renderer. For details on the supported input URLs, see the mmr_input_attach() function description in the mm-renderer documentation.

To find the path of a media file stored on a mediastore (device), you must know the mountpoint assigned to the device when you attached it to your system. The mountpoint and filesystem information of devices can be read from the PPS objects in /pps/qnx/mount/, which are updated by the device publishers when you attach or detach mediastores. The Device Publishers Developer's Guide explains how the publishers work, including how they publish mountpoints in PPS.

The output URL can name an audio or video device (for playback) or a file (for recording, which works only for audio content). The supported output URL types are described in the mmr_output_attach() function reference.

The mmrplay command may also contain: