Command-line reference (Windows / Linux)
The PC edition of CS Player is driven by the cityscreen-player binary (on Windows —
cityscreen-player.exe in C:\Program Files\CSPlayer\lib\player). In a typical installation you
do not need any of these arguments: the player is configured from your CS Play account. Use them
for kiosk-style deployments, troubleshooting and development.
Logging
| Argument | Description | Values |
|---|---|---|
|
Enables logging into a file |
|
|
Log rotation period |
|
|
After how many days logs are compressed |
int, days |
|
After how many days logs are removed |
int, days |
|
Verbosity level |
int, 0–4 |
|
Extended logging of surface positions into the file |
Window and geometry
| Argument | Description | Values |
|---|---|---|
|
Player window X position |
int, px |
|
Player window Y position |
int, px |
|
Player window width |
int, px |
|
Player window height |
int, px |
|
Real screen width |
int, px |
|
Real screen height |
int, px |
|
Player window background color |
string |
|
Default content fill mode in frames |
|
|
Enables the splash screen |
|
|
Always-on-top mode closes the taskbar (default: false) |
|
|
Always-on-top mode auto-hides the taskbar (default: false) |
|
|
Periodically re-raises the window on top |
|
|
Period of re-raising the window on top |
int, msec |
Video playback
| Argument | Description | Values |
|---|---|---|
|
Video backend (see Video codecs) |
|
|
Hardware video decoder |
|
|
What is shown when the ad slot is longer than the video |
|
|
Shift in video preload |
int, ms |
|
OpenGL backend |
|
|
Enables/disables web content in the MPV backend (default: true) |
|
|
Enables d3d11-flip, disables transparent borders |
|
|
Enables real MPV preload |
|
|
Disables smoothing of images |
|
|
Disables mipmapping of images |
Network
| Argument | Description | Values |
|---|---|---|
|
Proxy connection type |
|
|
Proxy server host |
string |
|
Proxy server port |
int |
|
Proxy server username |
string |
|
Proxy server password |
string |
Web content
| Argument | Description | Values |
|---|---|---|
|
Logs console messages of web content |
|
|
Logs injection of web properties |
|
|
Number of shows after which the web view is reinitialized |
int |
|
Uses the web engine for video playback |
Single play and debugging
| Argument | Description | Values |
|---|---|---|
|
Enables single-play mode |
|
|
Media path for single-play mode |
file |
|
Colors frame backgrounds for debugging |
|
|
Interactive ad debug mode: path to the ad folder |
string |
|
Debug mode: path to the injected JSON |
string |
|
Debug mode: playback duration |
int, ms |
|
Debug mode: preload duration |
int, ms |
|
Debug mode: Chrome remote debugging port |
int |
The debug-mode arguments are described in detail in Interactive ads debug mode.