

Regardless of what it _says_ the dependencies are, have you tried installing x264-svn-encoder? Otherwise, I'm not sure how mencoder is going to encode something in a format that it doesn't have the encoder for...TheCoop wrote:I'm using mencoder, which just has a dependancy on the .so library (which x264-svn provides...)

I've got a similar problem with the newest version 20070325 (masked ~x86), which worked fine on the first DVD I tried encoding, but not the second one so far:TheCoop wrote:And I can't encode with the newest version:
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0xb95480]SwScaler: using unscaled yuv420p -> yuv420p special converter
x264 [error]: width or height not divisible by 2 (576x1)
x264_encoder_open failed.
FATAL: Cannot initialize video driver.
Code: Select all
--- /usr/portage/media-libs/x264-svn/x264-svn-20070325.ebuild 2007-03-25 21:38:52.000000000 +0200
+++ /usr/portage/media-libs/x264-svn/x264-svn-20070601.ebuild 2007-06-02 23:05:31.000000000 +0200
@@ -8,7 +8,7 @@ IUSE="debug threads"
DESCRIPTION="A free library for encoding X264/AVC streams."
HOMEPAGE="http://developers.videolan.org/x264.html"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
+SRC_URI="mirror://gentoo/${P/svn/snapshot}-2245.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
@@ -21,7 +21,7 @@ DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
x86-fbsd? ( dev-lang/nasm )"
-S="${WORKDIR}/${PN}"
+S="${WORKDIR}/${P/svn/snapshot}-2245"
src_unpack() {
unpack ${A}
Code: Select all
--- /usr/portage/media-video/x264-svn-encoder/x264-svn-encoder-20070325.ebuild 2007-03-25 21:40:48.000000000 +0200
+++ /usr/portage/media-video/x264-svn-encoder/x264-svn-encoder-20070601.ebuild 2007-06-02 22:06:33.000000000 +0200
@@ -6,7 +6,8 @@ inherit multilib eutils toolchain-funcs
IUSE="debug mp4 gtk threads"
-X264_SVN_P=${P/-encoder/}
+X264_SVN_P1=${P/-encoder/}
+X264_SVN_P=${X264_SVN_P1/svn/snapshot}-2245
DESCRIPTION="A free library for encoding X264/AVC streams."
HOMEPAGE="http://developers.videolan.org/x264.html"
@@ -18,20 +19,20 @@ KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~spa
RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 )
gtk? ( >=x11-libs/gtk+-2.6.10 >=dev-libs/glib-2.10.3 )
- ~media-libs/${X264_SVN_P}"
+ ~media-libs/${X264_SVN_P1}"
DEPEND="${RDEPEND}
amd64? ( >=dev-lang/yasm-0.6.0 )
x86? ( dev-lang/nasm )
x86-fbsd? ( dev-lang/nasm )"
-S=${WORKDIR}/${PN/-encoder/}
+S=${WORKDIR}/${X264_SVN_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-nostrip.patch"
- epatch "${FILESDIR}/${P}-nolib.patch"
+ epatch "${FILESDIR}/${PN}-20070325-nolib.patch"
}
src_compile() {Code: Select all
--- x264-snapshot-20070601-2245/configure.orig 2007-06-01 22:45:02.000000000 +0200
+++ x264-snapshot-20070601-2245/configure 2007-06-02 21:44:13.000000000 +0200
@@ -375,11 +375,6 @@ if [ "$pic" = "yes" ] ; then
ASFLAGS="$ASFLAGS -D__PIC__"
fi
-if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
- CFLAGS="$CFLAGS -s -fomit-frame-pointer"
- LDFLAGS="$LDFLAGS -s"
-fi
-
if [ "$debug" = "yes" ]; then
CFLAGS="-O1 -g $CFLAGS"
else