View Full Version : Problems using mencoder with some x264 options
liquidator87
20th February 2009, 07:36
Hi,
I'm not able to set subme = 8... for some reason setting subme = 6 or 7 works fine, but 8 is not recognized (mencoder uses 7 instead)...
I've also a problem using psy-rd option... what's the correct syntax? i use psy-rd=1.0:0.0... mencoder tells me this is an unrecognized option
This is the profile I use:
[pass1]
profile-desc="x264 Encoding"
ovc=x264=1
x264encopts=frameref=4:bitrate=11932:deblock=-1,-1:pass=1:level_idc=41:mixed_refs:bframes=3:subme=8:weight_b:direct_pred=auto:me=umh:trellis=2:partitions=p8x8,b8x8,i8x8,i4x4:8x8dct:chroma_qp_offset=-2:scenecut=40:qcomp=0.60:aq_mode=1:vbv_bufsize=50000:vbv_maxrate=50000:me=umh:threads=auto:nofast_pskip:nopsnr:nossim
ofps=25
nosound=1
of=rawvideo=1
Any Idea?
Thanks in advance
Dark Shikari
20th February 2009, 07:41
Hi,
I'm not able to set subme = 8... for some reason setting subme = 6 or 7 works fine, but 8 is not recognized (mencoder uses 7 instead)...Perhaps the libx264 linked to your mencoder is too old?
liquidator87
20th February 2009, 14:53
mmm... both mencoder and x264 are compiled from snapshots taken days ago... on my system the libx264.so file is new, however I don't know if mencoder uses an "internal" version, which could be older...
nm
20th February 2009, 15:12
mmm... both mencoder and x264 are compiled from snapshots taken days ago... on my system the libx264.so file is new
Do you have more than one version of libx264 installed (for example in both /usr/lib and /usr/local/lib)?
however I don't know if mencoder uses an "internal" version, which could be older...
It doesn't, unless you linked it statically with an older libx264.
What does "ldd /usr/local/bin/mencoder | grep x264" show?
liquidator87
20th February 2009, 16:42
Do you have more than one version of libx264 installed?
mmm... I have "libx264.a" "libx264.so" "libx264.so.59" in /usr/lib and "libx264.a" in /usr/local/lib
What does "ldd /usr/local/bin/mencoder | grep x264" show?
libx264.so.59 => /usr/lib/libx264.so.59 (0x00007f61ebda1000)
kemuri-_9
20th February 2009, 16:55
mmm... I have "libx264.a" "libx264.so" "libx264.so.59" in /usr/lib and "libx264.a" in /usr/local/lib
libx264.so.59 => /usr/lib/libx264.so.59 (0x00007f61ebda1000)
definitely a fairly older version, x264 is currently at core version 66 not 59.
nm
20th February 2009, 17:03
mmm... I have "libx264.a" "libx264.so" "libx264.so.59" in /usr/lib and "libx264.a" in /usr/local/lib
Looks like you have only built a static library yourself. Try making a dynamic .so too:make clean
./configure --enable-shared
make
sudo make install
sudo ldconfig
Also make sure that you have Yasm 0.7.2 (or newer) installed before building x264.
After installing x264, you'll need to rebuild MEncoder. If you want to make sure that it doesn't get linked against the older libx264, you could temporarily remove system's libx264* packages with apt-get/Synaptic/....
liquidator87
20th February 2009, 17:35
Yeah, works now, thanks nm for the help...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.