struct Flags {
int width = 1280, height = 720;
- int num_cards = 2;
+ int min_num_cards = 2;
+ int max_num_cards = MAX_VIDEO_CARDS;
std::string va_display;
bool fake_cards_audio = false;
bool uncompressed_video_to_http = false;
double output_slop_frames = 0.5;
int max_input_queue_frames = 6;
int http_port = DEFAULT_HTTPD_PORT;
+ int srt_port = DEFAULT_SRT_PORT; // -1 for none.
+ bool enable_srt = true; // UI toggle; not settable from the command line. See also srt_port.
bool display_timecode_in_stream = false;
bool display_timecode_on_stdout = false;
bool enable_quick_cut_keys = false;
bool ten_bit_input = false;
bool ten_bit_output = false; // Implies x264_video_to_disk == true and x264_bit_depth == 10.
YCbCrInterpretation ycbcr_interpretation[MAX_VIDEO_CARDS];
+ bool transcode_video = true; // Kaeru only.
bool transcode_audio = true; // Kaeru only.
bool enable_audio = true; // Kaeru only. If false, then transcode_audio is also false.
int x264_bit_depth = 8; // Not user-settable.