Results for HCEnc023 1-pass , 7500 frames identical script/source excepting the xxxSource statements
Code:
*PROFILE BEST
*AUTOGOP 15
*CLOSEDGOPS
*DC_PREC 10
*MATRIX FOX1
*BITRATE 9200
*MAXBITRATE 9400
*CQ_MAXBITRATE 2
SetMTmode(mode=5,threads=4) # start with mode=5 forAVIsource http://forum.doom9.org/showthread.php?p=1067216#post1067216
SetMemoryMax(256)
... source ...
SetMTmode(mode=2,threads=4)
ConvertToYV12(interlaced=FALSE) # for Deblock_QED_MT2 and DeHalo_alpha
Deblock_QED_MT2() #default quant1=20
ConvertToYUY2(interlaced=FALSE) # Ensure YUY2 for the rest including Convolution3D
Convolution3D(0, 3, 4, 3, 4, 2.8, 0)
lanczos4resize(resizeWidth,resizeHeight).LimitedSharpenFaster(smode=4,strength=100)
Converttoyv12()
SetPlanarLegacyAlignment(True)
Distributor() # use this when using HC and SetMTmode, per http://forum.doom9.org/showthread.php?p=1063622#post1063622
HCEnc023 results cut'n'pasted from the log (the times don't look right, but it IS cut'n'paste I assure you. The elapsed time was about 3 mins 10 secs and all 4 cores of the Q9450 belted along at 85%-100%) -
FFIndex(...,indexmask=7,dumpmask=0,overwrite=true)
FFVideoSource(...)
Code:
pass 1 encoding time: 0:03:08 (188.45 s)
fps: 39.8
nr. of gops: 555
nr. of frames: 7500
nr. of I-frames: 555
nr. of P-frames: 2666
nr. of B-frames: 4279
average bitrate: 8138
minimum bitrate: 1163
maximum bitrate: 9361
bytes in bitstream: 305254021
bits in bitstream: 2442032168
average Quantizer: 3.588
total CPU time: 0:11:20 (188.45 s)
total elapsed time: 0:03:36 (216.22 s)
AviSource(...)
Code:
pass 1 encoding time: 0:03:11 (191.09 s)
fps: 39.2
nr. of gops: 556
nr. of frames: 7500
nr. of I-frames: 556
nr. of P-frames: 2664
nr. of B-frames: 4280
average bitrate: 8143
minimum bitrate: 1163
maximum bitrate: 9361
bytes in bitstream: 305448191
bits in bitstream: 2443585528
average Quantizer: 3.586
total CPU time: 0:10:58 (191.09 s)
total elapsed time: 0:03:13 (192.75 s)
Conclusion ? Not a huge difference given the FF indexing time is probably included in the elapsed time. Well acceptable (to me, at least) if the issue in post 1 goes away.