PDA

View Full Version : FFMPEG x264 compile problems (Linux)


skottish
22nd March 2007, 03:22
I hope this is a good place to post this.

The current version of FFMPEG on my machine was built from subversion on 03/10/2007. At that time, I believe x264 (also built from subversion) was at 628. I was able to, as usual, build FFMPEG against x264.

About a week ago, I went through the same routine again (I'm using Arch Linux package build files) with x264-634, and now FFMPEG won't compile. It's throwing an "Error: x264 not found... ", then a bunch of stuff about what to do if you see the error. I went over to the FFMPEG development mailing list, and the one post about this error only received a responce something like: "do you have x264-devel installed". I've always just used the x264 sources.

I know FFMPEG just went through some changes in the build system. For instance:

--enable-mp3lame just became --enable-libmp3lame, and so on.

I've tried with a few FFMPEG versions now. Has anyone seen this and know what's going on?

WalterK
23rd March 2007, 06:34
I believe there is a problem with the latest svn ffmpeg ran into some trouble when i was trying to compile with it.
The bug report recommends using the svn trunk 7829.
I used that and i was able to get it to recognize x264.

Note only a few people had the error, so if the latest svn works for you no need to hurry back to 7829
and to download a previous trunk simple type in the terminal

svn checkout -r 7829 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

pete
23rd March 2007, 21:54
Why not use a pipe?
ffmpeg -i $INPUT -f rawvideo - | x264 -o $OUTPUT - $RESOLUTION

skottish
24th March 2007, 02:32
WalterK, thanks. I was searching all over the place to find something, anything, out. Cool.

pete, mainly because I've grown used to doing it the other way. It's not a bad idea to start though; I like x264's syntax and documentation much better than anything else I've seen using it (FFMPEG, Mencoder, ...).

tcrichton
28th March 2007, 17:01
Thanks for posting this guys,

Just started trying to build from CVS and couldn't work out why I was getting this error, will go back to 7829 for now and await the next revision,

Thanks again,

Tristan.

skottish
1st April 2007, 22:25
It turns out that it wasn't a problem with FFMPEG. The newest versions of x264 need to be built against YASM >= 0.6.0, or they won't build completely.