jdobbs
29th August 2009, 17:56
I've been doing a lot of testing of Blu-ray reencodes using the X264 "--preset veryfast" setting and I noticed that in all my encodes the second pass is considerably faster than the first pass (~25fps compared to ~15fps). That seems to be the opposite of what I see in other presets. I'm sure there is a good reason, but I'm just not seeing it and its driving me nuts... I was just wondering if someone could explain it?
Here are my command lines -- almost identical except the first pass outputs to NUL.
"E:\BD_Rebuilder\tools\x264.exe" "E:\WORKING4\WORKFILES\VID_00102.AVS" --preset veryfast --bitrate 7114
--level 4.1 --sar 1:1 --fps 24000/1001 --aud --vbv-bufsize 25000 --keyint 24 --min-keyint 1
--ipratio 1.1 --pbratio 1.1 --vbv-maxrate 35000 --threads auto --thread-input
--stats "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV.stats" --pass 1
--output NUL
"E:\BD_Rebuilder\tools\x264.exe" "E:\WORKING4\WORKFILES\VID_00102.AVS" --preset veryfast --bitrate 7114
--level 4.1 --sar 1:1 --fps 24000/1001 --aud --vbv-bufsize 25000 --keyint 24 --min-keyint 1
--ipratio 1.1 --pbratio 1.1 --vbv-maxrate 35000 --threads auto --thread-input
--stats "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV.stats" --pass 2
--output "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV" I thought about the fact that fast first pass doesn't really have any effect with that preset, and that might contribute to the difference in behaviour with other higher quality presets -- but is seems like 10fps (60% speed difference) is a lot of delta between passes.
Here are my command lines -- almost identical except the first pass outputs to NUL.
"E:\BD_Rebuilder\tools\x264.exe" "E:\WORKING4\WORKFILES\VID_00102.AVS" --preset veryfast --bitrate 7114
--level 4.1 --sar 1:1 --fps 24000/1001 --aud --vbv-bufsize 25000 --keyint 24 --min-keyint 1
--ipratio 1.1 --pbratio 1.1 --vbv-maxrate 35000 --threads auto --thread-input
--stats "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV.stats" --pass 1
--output NUL
"E:\BD_Rebuilder\tools\x264.exe" "E:\WORKING4\WORKFILES\VID_00102.AVS" --preset veryfast --bitrate 7114
--level 4.1 --sar 1:1 --fps 24000/1001 --aud --vbv-bufsize 25000 --keyint 24 --min-keyint 1
--ipratio 1.1 --pbratio 1.1 --vbv-maxrate 35000 --threads auto --thread-input
--stats "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV.stats" --pass 2
--output "E:\WORKING4\WORKFILES\VID_00102.AVS.MKV" I thought about the fact that fast first pass doesn't really have any effect with that preset, and that might contribute to the difference in behaviour with other higher quality presets -- but is seems like 10fps (60% speed difference) is a lot of delta between passes.