16 return "MythAVTest is a testing application that allows direct access \n"
17 "to the MythTV internal video player.";
32 add(QStringList{
"-t",
"--test"},
"test",
false,
33 "Test video performance.",
34 "Test and debug video playback performance."
35 "Audio, captions and the On Screen Display will all "
36 "be disabled and video will be displayed at the fastest possible rate. ")
37 ->SetGroup(
"Video Performance Testing")
39 add(QStringList{
"--nodecode"},
"nodecode",
false,
"After decoding a small nuber of frames, "
40 "the last presented frame will be displayed repeatedly to test "
41 "rendering speed.",
"")
42 ->SetGroup(
"Video Performance Testing")
44 add(QStringList{
"-d",
"--decodeonly"},
45 "decodeonly",
false,
"Decode video frames but do not display them.",
47 ->SetGroup(
"Video Performance Testing")
49 add(QStringList{
"-gpu"},
"gpu",
false,
"Allow hardware accelerated video decoders",
"")
50 ->SetGroup(
"Video Performance Testing")
52 add(QStringList{
"--deinterlace"},
54 "Deinterlace video frames (even if progressive).",
56 ->SetGroup(
"Video Performance Testing")
58 add(QStringList{
"-s",
"--seconds"},
"seconds",
"",
59 "The number of seconds to run the test (default 5).",
"")
60 ->SetGroup(
"Video Performance Testing")
62 add(QStringList{
"-vrr",
"--vrr"},
"vrr", 0U,
63 "Try to enable (1) or disable (0) variable refresh rate (FreeSync or GSync)",
"");
CommandLineArg * SetRequiredChild(const QString &opt)
Set argument as parent of given child and mark as required.
CommandLineArg * SetChildOf(const QString &opt)
Set argument as child of given parent.
void LoadArguments(void) override
MythAVTestCommandLineParser()
QString GetHelpHeader(void) const override
Parent class for defining application command line parsers.
void addVersion(void)
Canned argument definition for –version.
void addPlatform(void)
Pass through the platform argument to Qt for GUI applications.
void addWindowed(void)
Canned argument definition for –windowed and -no-windowed.
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
void addDisplay(void)
Canned argument definition for -display.
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
void addHelp(void)
Canned argument definition for –help.
void addGeometry(void)
Canned argument definition for –geometry.
void addInFile(bool addOutFile=false)
Canned argument definition for –infile and –outfile.
void allowArgs(bool allow=true)
Specify that parser should allow and collect values provided independent of any keyword.
static constexpr const char * MYTH_APPNAME_MYTHAVTEST