The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Saving Configuration for all settings
#15
(21.02.2021, 10:03)Selur Wrote:
Quote:But if change settings, for example 264>Frame changing Min/Max GOP, when applying medium preset it changes the values.
Yes, medium preset changes all to the x264 defaults.

Quote:Can you try this sequence to set the following?
·      Start Hybrid, apply default Configuration: X264 Hybrid Default.
·      X264>Base> Set encoding mode to CRF 1-pass, Hardware (mark-up box) – BluRay/AVCHD
·      Apply medium preset (set 'x264->Base->Restriction Settings->Preset' to 'medium' , press 'x264->Base->Restriction Settings->Preset->Apply Preset')
·      Go to X264>Frames, Setting GOP Size Min = 1, Max = 50.
·      Save configuration under new name.
·      Save a Global Profile (Config->Profiles->Global profile->Save global profile)

Okay, I did:
  • Start Hybrid
  • Set Hybrids default x264 settings (Apply 'x264->Configuration->x264 Hybrid defaul')
  • Set "x264->Base->General Settings->Encoding mode" to "constant rate factor (1-pass)"
  • Enable '264->Base->Restriction Settings->Hardware'
  • Select '264->Base->Restriction Settings->Hardware->Blu-ray/AVCHD'
  • Enable 'x264->Base->Restriction Settings->Preset' to 'medium'
  • Apply the preset ('x264->Base->Restriction Settings->Preset->Apply Preset')
  • Command line now is:
    x264 --crf 18.00 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 1 --slices 4 --qpmax 51 --mvrange 511 --weightp 1 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
  • Set 'x264->Frames->General Frame Settings->GOP size min/max' to '1/50' (only min needed to be changed'
  • Command line now is:
    x264 --crf 18.00 --profile high --level 4.1 --bluray-compat --keyint 50 --min-keyint 1 --b-pyramid strict --sync-lookahead 1 --slices 4 --qpmax 51 --mvrange 511 --weightp 1 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
  • Save a Global Profile (Config->Profiles->Global profile->Save global profile)
  • Closed Hybrid
  • Started Hybrid
  • Apply the Global Profile  (Config->Profiles->Global profile->Aplly global profile)
I then looked at the x264 Configuration and it shows:
x264 --crf 18.00 --profile high --level 4.1 --bluray-compat --keyint 50 --min-keyint 1 --b-pyramid strict --sync-lookahead 1 --rc-lookahead 25 --slices 4 --qpmax 51 --mvrange 511 --weightp 1 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -

I also tried;
  • Start Hybrid
  • Reset and restart Hybrid ('Config->Reset->Defaults->All->Reset selected')
  • Set Hybrids default x264 settings (Apply 'x264->Configuration->x264 Hybrid defaul')
  • Set "x264->Base->General Settings->Encoding mode" to "constant rate factor (1-pass)"
  • Enable '264->Base->Restriction Settings->Hardware'
  • Select '264->Base->Restriction Settings->Hardware->Blu-ray/AVCHD'
  • Enable 'x264->Base->Restriction Settings->Preset' to 'medium'
  • Apply the preset ('x264->Base->Restriction Settings->Preset->Apply Preset')
  • Command line now is:
    x264 --crf 18.00 --profile high --level 4.1 --bluray-compat --keyint 50 --min-keyint 1 --b-pyramid strict --sync-lookahead 1 --slices 4 --qpmax 51 --mvrange 511 --weightp 1 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
  • Save a Global Profile (Config->Profiles->Global profile->Save global profile)
  • Closed Hybrid
  • Started Hybrid
  • Apply the Global Profile  (Config->Profiles->Global profile->Aplly global profile)
I then looked at the x264 Configuration and it shows:
x264 --crf 18.00 --profile high --level 4.1 --bluray-compat --keyint 50 --min-keyint 1 --b-pyramid strict --sync-lookahead 1 --rc-lookahead 25 --slices 4 --qpmax 51 --mvrange 511 --weightp 1 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -

Quote:They are different:
X264>Frames, Max GOP = 25 (instead of 50), no way to change it 50 the values do not go above 25.
Okay, that should not be. And is not the case here.
Looking at code to when Hybrid changes the max allowed gop size:
  int bitrate = model->intValue(QString("bitrate"));
  int gopMax = model->intValue(QString("gopMaximum")); //gopMaximum is the keyint value
  int max;
  if (hardware == QString("Blu-ray/AVCHD")) {
    if (bitrate <= 15000) {
      max = (2 * gopMax < 1) ? 1 : 2 * int(model->doubleValue(QString("videoFramerate")) + 0.5); // 2 sec GOP
    } else {
      max = (gopMax < 1) ? 1 : int(model->doubleValue(QString("videoFramerate")) + 0.5); // 1 sec GOP
    }
  } else if (hardware == QString("AVC-Intra")) {
    max = 1;
  } else {
    max = 10000;
  }
  this->doSet(model, QString("gopMaximum"), MAXIMUM, QVariant(max));  //gopMaximum is the keyint value
So the restriction to '1-sec gop' should only be set by Hybrid if the bit rate is > 15000 kbit/s.


Quote:And X264>Base>Restriction Settings->Preset-None, not Medium.
Like I wrote before the preset setting in the drop-down is not saved since it it's not a strict restriction but something that get's applied. So this is as intended.

Quote:Also you mentioned as an option to enable 'Config->Profiles->Auto save', this way Hybrid will remember all the settings. It looks like does not work either. After restarting Hybrid the Preset is None, settings show accordingly: x264 --preset fast -. If I press/apply Medium, settings change, but X264>Frames Min/Max GOP values change to defaults. If I change them, the settings window shows : x264 --preset fast -. But Preset stays at Medium. It all jumping back and forth.
The preset selection is NOT saved, since it caused to much confusion with users, that setting only does something when 'Apply preset' is used.
No clue what you are doing, I again need details, to try to reproduce what you are doing.
My guess is that you changed some setting that is influencing Hybrids settings. May be it helps to reset the Hybrid defaults ('Config->Reset->Defaults->All->Reset selected').

Sadly unless I can reproduce what your are doing I can't fix a potential bug.


Cu Selur

Ps.: Please do not reply inside quotes, it really is annoying having to read through quotes to see whether you added something to them.
Reply


Messages In This Thread
RE: Saving Configuration for all settings - by Rokoko33 - 21.02.2021, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)