PDA

View Full Version : error when trying the preset with x264


msm_007
20th September 2009, 01:29
Hi all,
I’ve tried to encode raw video with x264, with different preset (http://mewiki.project357.com/wiki/X264_Settings), I’ve found a several error like
unrecognized option '--rc-lookahead'
unrecognized option '-- no-mixed-refs '

do you have idea, plz, from where I get this error?
I work with x264 under linux

Dark Shikari
20th September 2009, 01:32
Your x264 is too old. Update to the latest version.

msm_007
20th September 2009, 12:01
could you plz give me the link of the latest x264 under linux, I've found just the windows version
thx a lot,

nm
20th September 2009, 12:18
Build it yourself.

Install git, GCC, yasm, make and libc headers. For example on Ubuntu:
sudo apt-get install git-core build-essential yasm

Fetch the latest x264 source code tree. (When updating later, just run "git pull" in the x264 directory and recompile):
git clone git://git.videolan.org/x264.git

Compile:
cd x264
./configure
make

Optionally, install to /usr/local:
sudo make install

msm_007
20th September 2009, 14:14
thx a lot, it works well