/** * Display usage information for the application to stdout * * @param app_name String to display as the application name */ static void display_valid_parameters(char *app_name) { int i; fprintf(stderr, "Display camera output to display, and optionally saves an H264 capture at requested bitrate\n\n"); fprintf(stderr, "\nusage: %s [options]\n\n", app_name); fprintf(stderr, "Image parameter commands\n\n"); raspicli_display_help(cmdline_commands, cmdline_commands_size); // Profile options fprintf(stderr, "\n\nH264 Profile options :\n%s", profile_map[0].mode ); for (i=1;i<profile_map_size;i++) { fprintf(stderr, ",%s", profile_map[i].mode); } // Help for preview options raspipreview_display_help(); // Now display any help information from the camcontrol code raspicamcontrol_display_help(); fprintf(stderr, "\n"); return; }
/** * Display usage information for the application to stdout * * @param app_name String to display as the application name * */ static void display_valid_parameters(char *app_name) { fprintf(stdout, "Runs camera for specific time, and take uncompressed YUV capture at end if requested\n\n"); fprintf(stdout, "usage: %s [options]\n\n", app_name); fprintf(stdout, "Image parameter commands\n\n"); raspicli_display_help(cmdline_commands, cmdline_commands_size); // Help for preview options raspipreview_display_help(); // Now display any help information from the camcontrol code raspicamcontrol_display_help(); fprintf(stdout, "\n"); return; }
/** * Display usage information for the application to stdout */ static void display_valid_parameters() { printf("Display camera output to display, and optionally saves an H264 capture at requested bitrate\n\n"); printf("\nusage: RaspiVid [options]\n\n"); printf("Image parameter commands\n\n"); raspicli_display_help(cmdline_commands, cmdline_commands_size); // Help for preview options raspipreview_display_help(); // Now display any help information from the camcontrol code raspicamcontrol_display_help(); printf("\n"); return; }