Quote:Set rc-lookahead to 40 in Hybrid, and the value of it in the encoded file always be 60.Hybrid doesn't show '--rc-lookahead 40' inside the command line since it's the default value:
Quote:--rc-lookahead <integer> Number of frames for frametype lookahead [40]If you apply a preset, this might change.
What I tried to reproduce this is:
- start Hybrid
- loaded a source
- set x264->Base->General Settings->Encoding mode to 'constant rate factor (1-pass)' to get a shorter command line, which gave me:
x264 --crf 18.00 --profile high --level 4.1 --direct auto --sync-lookahead 27 --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 640x480 --input-csp i420 --input-depth 8 --fps 25 --output-depth 8 --output "H:\Temp\Test-AC3-5.1_new.264" -
- since no preset was applied, 'x264->Rate Control->Settings->Lookahead (frames)' is set to 40 and not shown inside the command line.
- set an output
- added a job to the job queue
- started the job
- waited for it to finish
- looked at the output using mediainfo to look at the 'Encoding settings'-info
Quote:Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x111 / me=hex / subme=5 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=15 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=0 / crf=18.0 / qcomp=0.50 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0which looks right to me.
Note that:
- applying 'preset slower/veryslow/placebo' does change the lookahead to 60 and the lookahead doesn't still show up in the command line since the presets change the assumed defaults.
- if you are confused by Hybrid minimizing the command line for presets&co, you can disable 'x264->Misc->Main->Adjustments->Minimize command line' to see and Hybrid using an unshortened command line.
-> Can't reproduce that the output always shows 60 without further details.
So please provide more details into how you produce the problem.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.