X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=nageru%2Fflags.h;fp=nageru%2Fflags.h;h=9b9976c5db7c572027c7ad314e5196b3d9f644ab;hp=dc9c585d0efb5ae718687110b0d9c76683919345;hb=8202dbe236c5e206989c383004f9dba116ea12bd;hpb=70e2471c1297f5ee5592918a736224841d8e4d77 diff --git a/nageru/flags.h b/nageru/flags.h index dc9c585..9b9976c 100644 --- a/nageru/flags.h +++ b/nageru/flags.h @@ -19,6 +19,7 @@ struct Flags { bool uncompressed_video_to_http = false; bool x264_video_to_http = false; bool x264_video_to_disk = false; // Disables Quick Sync entirely. Implies x264_video_to_http == true. + bool x264_separate_disk_encode = false; // Disables Quick Sync entirely. Implies x264_video_to_disk == true. std::vector theme_dirs { ".", PREFIX "/share/nageru" }; std::string recording_dir = "."; std::string theme_filename = "theme.lua"; @@ -42,6 +43,13 @@ struct Flags { int x264_vbv_max_bitrate = -1; // In kilobits. 0 = no limit, -1 = same as (CBR). int x264_vbv_buffer_size = -1; // In kilobits. 0 = one-frame VBV, -1 = same as (one-second VBV). std::vector x264_extra_param; // In “key[,value]” format. + + std::string x264_separate_disk_preset; // Empty will be overridden by X264_DEFAULT_PRESET, unless speedcontrol is set. + std::string x264_separate_disk_tune = X264_DEFAULT_TUNE; + int x264_separate_disk_bitrate = -1; + float x264_separate_disk_crf = HUGE_VAL; + std::vector x264_separate_disk_extra_param; // In “key[,value]” format. + std::string v4l_output_device; // Empty if none. bool enable_alsa_output = true; std::map default_stream_mapping;