Last edited by Redwol; May 5th, 2012 at 03:33 PM.
A reboot? Inconceivable! I don't understand why it wouldn't recognize "c:v libx264" without a reboot. Do you remember the particular message you got when you did try?
Just that IIRC. Same report you get when you put an incorrect parameter in the chain ....A reboot? Inconceivable! I don't understand why it wouldn't recognize "c:v libx264" without a reboot. Do you remember the particular message you got when you did try?
Didn't have to reboot when I installed to desktop 12.04 though....
(Must confess I didn't spot your headless server section (to quote a song from Beauty and the Beast: "there was something there that wasn't there before ) until I had run the desktop install, so maybe this didn't help?
No longer participating......
Hello all, I'm trying to build FFmpeg with h254 support on my headless Ubuntu 12.04 server, as per https://ffmpeg.org/trac/ffmpeg/wiki/...mpilationGuide
h264 builds fine, but when i try to build FFmpeg it fails every time at the "CC libavcodec/h254" step.
I followed the instructions to the letter, with the exception that I apt-get installed FFmpeg and libx264-dev beforehand and then apt-get removed them when they didn't work.Code:$ make CC libavdevice/alldevices.o CC libavdevice/alsa-audio-common.o CC libavdevice/alsa-audio-dec.o CC libavdevice/alsa-audio-enc.o [...SNIP...] CC libavcodec/h263.o CC libavcodec/h263_parser.o CC libavcodec/h263dec.o CC libavcodec/h264.o gcc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make: *** [libavcodec/h264.o] Error 4 $
Does anyone have any idea why the build might be failing? Apologies if this has been asked before, there's a lot of posts to read through in this thread!
This could be a ram access problem rather than an FFmpeg issue. Have you had a look at available ram / swap file?
You think that's air you're breathing now?
I've used the guide with Pangolin.
...but afterwards when I compiled MEncoder, config couldn't find x264.
So I've had to re-compile x264 with "--enable-shared".
With Natty, MEncoder found x264 OK with "--enable-static".
Maybe something has changed since then.
(Or maybe I was compiling against some other x264 or libx264-dev that it found somewhere).
How you could change this in a mplayer build not sure, possibly ask in the compiling subforum
Otherwise you could just as well build x264 as both static & shared, won't matter much, the libx264 version # is going to be higher than the ubuntu repo's one so they can co-exist
Otherwise you could install gcc-4.4 & configure mplayer with --cc=gcc-4.4
I've done some experiments.
It seems that now with Pangolin...
Maybe it's possible to force the compiler to ignore a static x264 and allow MEncoder to build with libx264-dev.Code:IF x264 is not installed THEN MEncoder is happy to build with libx264-dev ELSE IF x264 is installed THEN MEncoder won't build with libx264-dev
In the meantime, I've compiled x264 'shared' and removed libx264-dev.