From d6b1ae2f6ea95f898a85713a8ae4254e51ab0592 Mon Sep 17 00:00:00 2001 From: Sergey Prokhorov Date: Fri, 4 Oct 2024 11:28:58 +0200 Subject: [PATCH] Update --help to reflect all the supported options (#12) --- src/main.cpp | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7d57d7d..599fcb8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -508,23 +508,29 @@ void printHelp() { " pixelpilot [Arguments]\n" "\n" " Arguments:\n" - " -p [Port] - Listen port (Default: 5600)\n" + " -p - UDP port for RTP video stream (Default: 5600)\n" "\n" - " --osd - Enable OSD\n" + " --mavlink-port - UDP port for mavlink telemetry (Default: 14550)\n" "\n" - " --osd-elements - Customize osd elements (Default: video,wfbng,telem)\n" + " --codec - Video codec, should be the same as on VTX (Default: h265 )\n" "\n" - " --osd-telem-lvl - Level of details for telemetry in the OSD (Default: 1 [1-2])\n" + " --osd - Enable OSD\n" "\n" - " --osd-refresh - Defines the delay between osd refresh (Default: 1000 ms)\n" + " --osd-elements - Customize osd elements (Default: video,wfbng,telem)\n" "\n" - " --dvr - Save the video feed (no osd) to the provided filename\n" + " --osd-telem-lvl - Level of details for telemetry in the OSD (Default: 1 [1-2])\n" "\n" - " --dvr-framerate - Force the dvr framerate fro smoother dvr\n" + " --osd-refresh - Defines the delay between osd refresh (Default: 1000 ms)\n" "\n" - " --dvr-fmp4 - Save the video feed as a fragmented mp4\n" + " --dvr - Save the video feed (no osd) to the provided filename\n" "\n" - " --screen-mode - Override default screen mode. ex:1920x1080@120\n" + " --dvr-framerate - Force the dvr framerate for smoother dvr, ex: 60\n" + "\n" + " --dvr-fmp4 - Save the video feed as a fragmented mp4\n" + "\n" + " --screen-mode - Override default screen mode. x@ ex: 1920x1080@120\n" + "\n" + " --version - Show program version\n" "\n", PILOT_VERSION_MAJOR, PILOT_VERSION_MINOR ); }