Skip to content
plugpoint edited this page Nov 29, 2017 · 7 revisions

Usage

Usage: moonlight [action] (options) [host]
moonlight [configfile]

Actions

pair Pair device with computer
unpair Unpair device with computer
stream Stream computer to device
list List available games and applications
quit Quit the application or game being streamed
map Create mapping file for gamepad
help Show this help

Global Options

-config <config> Load configuration file
-save <config> ave configuration file
-verbose Enable verbose output
-debug Enable verbose and debug output

Streaming options

-720 Use 1280x720 resolution [default]
-1080 Use 1920x1080 resolution
-4k Use 3840x2160 resolution
-width <width> Horizontal resolution (default 1280)
-height <height> Vertical resolution (default 720)
-fps <fps> Specify the fps to use (default -1)
-bitrate <bitrate> Specify the bitrate in Kbps
-packetsize <size> Specify the maximum packetsize in bytes
-codec <codec> Select used codec: auto/h264/h265 (default auto)
-remote Enable remote optimizations
-app <app> Name of app to stream
-nosops Don't allow GFE to modify game settings
-localaudio Play audio locally
-surround Stream 5.1 surround sound (requires GFE 2.7)
-keydir <directory> Load encryption keys from directory
-mapping <file> Use <file> as gamepad mappings configuration file
-platform <system> Specify system used for audio, video and input: pi/imx/aml/x11/x11_vdpau/sdl/fake (default auto)
-unsupported Try streaming if GFE version is unsupported

WM options (SDL and X11 only)

-windowed Display screen in a window

I/O options (Not for SDL)

-input <device> Use <device> as input. Can be used multiple times
-audio <device> Use <device> as audio output device

Use Ctrl+Alt+Shift+Q or Play+Back+LeftShoulder+RightShoulder to exit streaming session
Clone this wiki locally