New upstream version 26.1.0+dfsg1
This commit is contained in:
parent
040dcc3fc2
commit
013818c4af
594 changed files with 19576 additions and 4478 deletions
|
|
@ -4,10 +4,10 @@ BufferSize="Puffergröße"
|
|||
RateControl="Qualitätsregulierungsmethode"
|
||||
CRF="CRF"
|
||||
KeyframeIntervalSec="Keyframeintervall in Sek. (0 = automatisch)"
|
||||
CPUPreset="CPU‐Auslastungsvoreinstellung (höher = niedrigere CPU‐Auslastung)"
|
||||
CPUPreset="CPU-Auslastungsvoreinstellung (höher = niedrigere CPU-Auslastung)"
|
||||
Profile="Profil"
|
||||
Tune="Tune"
|
||||
None="(Nichts)"
|
||||
EncoderOptions="x264‐Optionen (durch Leerzeichen getrennt)"
|
||||
EncoderOptions="x264-Optionen (durch Leerzeichen getrennt)"
|
||||
VFR="Variable Framerate (VFR)"
|
||||
|
||||
|
|
|
|||
13
plugins/obs-x264/data/locale/kab-KAB.ini
Normal file
13
plugins/obs-x264/data/locale/kab-KAB.ini
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Bitrate="Aktum"
|
||||
CustomBufsize="Seqdec tiddi yugnen i tkatut n weḥraz"
|
||||
BufferSize="Tiddi n tkatut n uḥraz"
|
||||
RateControl="Asenqed n uktum"
|
||||
CRF="CRF"
|
||||
KeyframeIntervalSec="Azilal n yikataren yufraren (tasinin, 0=awurman)"
|
||||
CPUPreset="Azwirɣewwar n useqdec n CPU (afellay= drus n CPU)"
|
||||
Profile="Amaɣnu"
|
||||
Tune="Gerrez"
|
||||
None="(Ulac)"
|
||||
EncoderOptions="tinefrunin x264 (berzent s tallunt)"
|
||||
VFR="Aktum n yikataren ameskil (VFR)"
|
||||
|
||||
|
|
@ -110,6 +110,7 @@ static void obs_x264_defaults(obs_data_t *settings)
|
|||
obs_data_set_default_string(settings, "profile", "");
|
||||
obs_data_set_default_string(settings, "tune", "");
|
||||
obs_data_set_default_string(settings, "x264opts", "");
|
||||
obs_data_set_default_bool(settings, "repeat_headers", false);
|
||||
}
|
||||
|
||||
static inline void add_strings(obs_property_t *list, const char *const *strings)
|
||||
|
|
@ -172,6 +173,7 @@ static obs_properties_t *obs_x264_props(void *unused)
|
|||
obs_properties_t *props = obs_properties_create();
|
||||
obs_property_t *list;
|
||||
obs_property_t *p;
|
||||
obs_property_t *headers;
|
||||
|
||||
list = obs_properties_add_list(props, "rate_control", TEXT_RATE_CONTROL,
|
||||
OBS_COMBO_TYPE_LIST,
|
||||
|
|
@ -222,6 +224,10 @@ static obs_properties_t *obs_x264_props(void *unused)
|
|||
obs_properties_add_text(props, "x264opts", TEXT_X264_OPTS,
|
||||
OBS_TEXT_DEFAULT);
|
||||
|
||||
headers = obs_properties_add_bool(props, "repeat_headers",
|
||||
"repeat_headers");
|
||||
obs_property_set_visible(headers, false);
|
||||
|
||||
return props;
|
||||
}
|
||||
|
||||
|
|
@ -583,6 +589,7 @@ static bool update_settings(struct obs_x264 *obsx264, obs_data_t *settings,
|
|||
char *tune = bstrdup(obs_data_get_string(settings, "tune"));
|
||||
struct obs_x264_options options = obs_x264_parse_options(
|
||||
obs_data_get_string(settings, "x264opts"));
|
||||
bool repeat_headers = obs_data_get_bool(settings, "repeat_headers");
|
||||
|
||||
bool success = true;
|
||||
|
||||
|
|
@ -603,6 +610,12 @@ static bool update_settings(struct obs_x264 *obsx264, obs_data_t *settings,
|
|||
success = reset_x264_params(obsx264, preset, tune);
|
||||
}
|
||||
|
||||
if (repeat_headers) {
|
||||
obsx264->params.b_repeat_headers = 1;
|
||||
obsx264->params.b_annexb = 1;
|
||||
obsx264->params.b_aud = 1;
|
||||
}
|
||||
|
||||
if (success) {
|
||||
update_params(obsx264, settings, &options, update);
|
||||
if (!update) {
|
||||
|
|
@ -613,8 +626,6 @@ static bool update_settings(struct obs_x264 *obsx264, obs_data_t *settings,
|
|||
apply_x264_profile(obsx264, profile);
|
||||
}
|
||||
|
||||
obsx264->params.b_repeat_headers = false;
|
||||
|
||||
obs_x264_free_options(options);
|
||||
bfree(preset);
|
||||
bfree(profile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue