-
Notifications
You must be signed in to change notification settings - Fork 325
Usage
Cristi Mitrana edited this page Dec 27, 2022
·
7 revisions
Usage: moonlight [action] (options) [host]
moonlight [configfile]
Actions
pair Pair device with computer
unpair Unpair device with computer (not functional in current versions of GFE)
stream Stream computer to device
list List available games and applications
quit Quit the application or game being streamed
map Create mapping for gamepad
help Show this help
Global Options
-config <config> Load configuration file
-save <config> Save 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 on the host computer
-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/rk/x11/x11_vdpau/sdl/fake (default auto)
-unsupported Try streaming if GFE version or options are unsupported
-quitappafter Send quit app request to remote after quitting session
-viewonly Disable all input processing (view-only mode)
-rotate [0|90|180|270] Rotate the video output with the specified number of degrees, clockwise (default 0)
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