11 std::string va_display;
12 bool uncompressed_video_to_http = false;
13 bool x264_video_to_http = false;
14 std::string theme_filename = "theme.lua";
15 bool flat_audio = false;
16 bool flush_pbos = true;
17 std::string stream_mux_name = DEFAULT_STREAM_MUX_NAME;
18 bool stream_coarse_timebase = false;
19 std::string stream_audio_codec_name; // Blank = use the same as for the recording.
20 int stream_audio_codec_bitrate = DEFAULT_AUDIO_OUTPUT_BIT_RATE; // Ignored if stream_audio_codec_name is blank.
21 std::string x264_preset; // Empty will be overridden by X264_DEFAULT_PRESET, unless speedcontrol is set.
22 std::string x264_tune = X264_DEFAULT_TUNE;
23 bool x264_speedcontrol = false;
24 bool x264_speedcontrol_verbose = false;
25 int x264_bitrate = DEFAULT_X264_OUTPUT_BIT_RATE; // In kilobit/sec.
26 int x264_vbv_max_bitrate = -1; // In kilobits. 0 = no limit, -1 = same as <x264_bitrate> (CBR).
27 int x264_vbv_buffer_size = -1; // In kilobits. 0 = one-frame VBV, -1 = same as <x264_bitrate> (one-second VBV).
28 bool enable_alsa_output = true;
29 std::map<int, int> default_stream_mapping;
31 extern Flags global_flags;
33 void parse_flags(int argc, char * const argv[]);
35 #endif // !defined(_FLAGS_H)