Log in

View Full Version : x264 failing due to --rc-lookahead?


cubanresourceful
14th September 2009, 18:06
I'm having for some odd reason an error with x264.exe and my avs script. It's actually very simple so I do not see why it's failing.

The error message is as follows:

Standard error stream: C:\Program Files (x86)\megui\tools\x264\x264.exe: unrecognised option `--rc-lookahead'

Here's my avs script:

DGDecode_mpeg2source("F:\HOUSE\VIDEO_TS\VTS_01_VOBID_001_1.d2v", info=3)
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 0, 62, 0, -60)

LanczosResize(480,256) # Lanczos (Sharp)
#denoise


And here's my job command line:

Job commandline: "C:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 3.1 --preset fast --pass 1 --bitrate 1500 --stats "F:\HOUSE\VIDEO_TS\VTS_01_VOBID_001_1.stats" --slow-firstpass --thread-input --nf --no-cabac --bframes 10 --b-adapt 2 --b-pyramid --direct none --b-bias 0 --scenecut 40 --ref 1 --qpmin 16 --vbv-bufsize 2500 --vbv-maxrate 2500 --rc-lookahead 40 --no-mbtree --aq-mode 1 --aq-strength 1.0 --merange 12 --me umh --subme 6 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 0 --psy-rd 1.0:0 --no-mixed-refs --output NUL "F:\HOUSE\VIDEO_TS\hfyu_VTS_01_VOBID_001_1.avs"

And lastly, my computer specs:

Microsoft Windows 7 x64
AMD Phenom 9300
4GB DRR2 RAM

Is there anything else you need?

LoRd_MuldeR
14th September 2009, 18:07
Obviously you are using an outdated x264.exe that doesn't support the "--rc-lookahead" option. You need r1197 at least ;)

Run "x264.exe --version" from the command prompt to check your version...

cubanresourceful
14th September 2009, 18:12
I have 1183 Jeep's patch, grabbed from the latest update from MeGUI Updater. Where would I download the 1197 version? The stickied thread has an even older version, 1181...?

Edit: I checked the current patches thread, seems like the latest x264.exe is there. Now I wonder why MeGUI does not have the latest x264 in its update servers?

LoRd_MuldeR
14th September 2009, 18:25
Q2: What does Summer Break mean?
A: It means, in summer, daily builds are no longer "dailies" for obvious reasons

You can always get the latest vanilla (unpatched) builds at this location:
http://x264.nl/

For recent builds with experimental patches you should follow this thread:
http://forum.doom9.org/showthread.php?t=130364

cubanresourceful
14th September 2009, 18:26
Thanks a lot for your help! :)

talen9
14th September 2009, 19:40
Edit: I checked the current patches thread, seems like the latest x264.exe is there. Now I wonder why MeGUI does not have the latest x264 in its update servers?

Go check the MeGUI thread in the appropriate section of Doom9 forums ... there you'll find all the info you need to keep it updated ;)

Forteen88
14th September 2009, 20:00
I assume you don't have the recent MeGUI (like megui-0.3.1.1056), I had the older and it couldn't update to a newer core and a newer x264..

talen9
14th September 2009, 20:14
Ahem ... the last MeGUI installer I downloaded was 0.3.0.1017, which dates to more than a year ago :)

If you pay a visit to the official MeGUI thread every once and then, it's not impossibile to make it upgrade itself via auto-update ;)

Forteen88
14th September 2009, 20:16
Ahem ... the last MeGUI installer I downloaded was 0.3.0.1017, which dates to more than a year ago :)

If you pay a visit to the official MeGUI thread every once and then, it's not impossibile to make it upgrade itself via auto-update ;)Yeah, that worked for a long time for me as well, but recent versions didn't update the core and x264 for me, so I had to install newer core manually (by uninstalling old MeGUI first).

http://forum.doom9.org/showthread.php?p=1325056#post1325056