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
#17
Selur, I appreciate your efforts trying to resolve the issue I have.
Still problems with Max GOP value setting.
 
This is what I did:
Uninstalled Hybrid, cleaned registry, Installed Hybrid.
Showing step by step:
  •  Start Hybrid
  • x264->Base->General Settings-> changing Bitrate from 1500kbps (default value) to 22500kbps (now the restriction to '1-sec gop' is OK to be set).
  • Enable '264->Base->Restriction Settings->Hardware'
  • Select '264->Base->Restriction Settings->Hardware->Blu-ray/AVCHD'
 
Command line now is:
x264 --preset veryfast --pass 1 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 25 --b-pyramid strict --direct auto --b-adapt 0 --sync-lookahead 12 --qcomp 0.50 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --aq-mode 0 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --preset veryfast --pass 2 --bitrate 22500 --profile high --level 4.1 --bluray-compat --ref 3 --keyint 25 --b-pyramid strict --direct auto --b-adapt 0 --sync-lookahead 12 --qcomp 0.50 --rc-lookahead 40 --slices 4 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --mvrange 511 --subme 5 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
 
  • x264->Frames-> General Frame Settings->GOP size min/max, Max value = 25, does not allow to change to any value above 25.
 
I thought the the sequence is the key, a problem happens when the bitrate is set before setting  x264->Base->Restriction Settings->Hardware->Blu-ray/AVCHD, it still keeps the default bitrate values (1500kps in this case, even the Command Line shows: bitrate 22500) and does not allow to set the restriction to '1-sec gop.
 
I changed the sequence, set Restriction Settings->Hardware->Blu-ray/AVCHD' first, before changing the bitrate, it worked correctly:
  • Start Hybrid
  • Enable '264->Base->Restriction Settings->Hardware'
  • Select '264->Base->Restriction Settings->Hardware->Blu-ray/AVCHD'
 
It already changes from keyint 25 to keyint 50:
Command Line:
x264 --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --direct auto --b-adapt 0 --sync-lookahead 1 --qcomp 0.50 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --aq-mode 0 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --preset veryfast --pass 2 --bitrate 1500 --profile high --level 4.1 --bluray-compat --ref 3 --keyint 50 --b-pyramid strict --direct auto --b-adapt 0 --sync-lookahead 1 --qcomp 0.50 --rc-lookahead 40 --slices 4 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --mvrange 511 --subme 5 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
 
Now I can change Max GOP value, actually under x264->Frames-> General Frame Settings->GOP size max is already set/shows 50. 
 
Next step:
  • Enable 'x264->Base->Restriction Settings->Preset' to 'medium'
  • Apply the preset ('x264->Base->Restriction Settings->Preset->Apply Preset')
 
 
Command Line:
x264 --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 1 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --pass 2 --bitrate 1500 --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 --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
 
As you can see, applying Medium changed the Bitrate to default value 1500kbps.
 
  • x264->Frames-> General Frame Settings-> just checking GOP size, Max value remains the same 50. But again, the bitrate is changed to 1500kbps. From 22500 set before.
 
Going back to:
  • x264->Base->General Settings-> changing Bitrate from 1500kbps to 22500kbps
 
Command Line, now is OK:
x264 --preset veryfast --pass 1 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 1 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --pass 2 --bitrate 22500 --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 --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE –
 
Now is OK.
It tells again that all x264->Base->Restriction Settings have to be set first (including Medium), before General settings, before going in to X264>Frames and etc.
 
Checking this idea:
  • Start Hybrid
  • 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:
x264 --preset veryfast --pass 1 --bitrate 1500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 12 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --pass 2 --bitrate 1500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 12 --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 --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
 
  • x264->Base->General Settings-> changing Bitrate from 1500kbps to 22500kbps
  • x264->Frames-> General Frame Settings-> just checking GOP size, Max value remains the same 50. All good.
 
Command Line now is correct:
x264 --preset veryfast --pass 1 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 12 --rc-lookahead 40 --slices 4 --qpmax 51 --mvrange 511 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --pass 2 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 50 --b-pyramid strict --sync-lookahead 12 --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 --stats "PATH TO THE .stats FILE" --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)
 
 
Command Line now is:
x264 --preset veryfast --pass 1 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 25 --b-pyramid strict --sync-lookahead 12 --rc-lookahead 25 --slices 4 --qpmax 51 --mvrange 511 --nal-hrd cbr --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output NUL -
 
x264 --pass 2 --bitrate 22500 --profile high --level 4.1 --bluray-compat --keyint 25 --b-pyramid strict --sync-lookahead 12 --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 --stats "PATH TO THE .stats FILE" --demuxer raw --input-res 48x48 --input-csp i420 --input-range tv --input-depth 8 --fps 25/1 --output-depth 8 --output OUTPUTFILE -
 
 
Now is the problem:
  • x264->Frames-> General Frame Settings-> just checking GOP size, Max value is changed back to 25, cant be changed, Command Line shows accordingly.
The Command Line shows that Medium is applied:
x264 --pass 2
 
But anyway applying Medium again. It does not change the Command Line, it also does not allow to change up Max GOP from 25.
 
 
This is what I learned:
All x264->Base->Restriction Settings have to be set first (including Medium), before General settings, before going in to X264>Frames and etc.
 
But it still does not allow to properly save/store Global Profile.
After restarting Hybrid values are changed.
That problem still there.
Reply


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

Forum Jump:


Users browsing this thread: 3 Guest(s)