FFMpeg with H.264 Support

FFMpeg with H.264 Support

Posted by: digitalsadhu
Posted on: 2008-12-03 10:06:00

Does anyone have any experience getting FFMpeg compiled on dreamhost with H.264 support?

I've spent hours working my way through the process and have hit a wall.

I managed to compile yasm (necessary for libx264) into $HOME/bin and then libx264 but when I try to compile ffmpeg with the --enable-libx264 ./configure param I'm getting the following error:

BEGIN /tmp/ffmpeg-conf-11285-31070-10484.c
1 #include <x264.h>
2 int x;
END /tmp/ffmpeg-conf-11285-31070-10484.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-20597-31070-10001.o /tmp/ffmpeg-conf-11285-31070-10484.c
/tmp/ffmpeg-conf-11285-31070-10484.c:1:18: x264.h: No such file or directory
ERROR: libx264 not found

Anyone have any idea?

Re: FFMpeg with H.264 Support

Posted by: sXi
Posted on: 2008-12-03 11:02:00

Did you compile libx264 with --enable-shared ?




How To Install PHP.INI / ionCube on DreamHost

Re: FFMpeg with H.264 Support

Posted by: digitalsadhu
Posted on: 2008-12-03 17:12:00

yea,

I did find that tutorials on the subject say that it is important to run sudo ldconfig after you compile x264 which in this case I can't do on account of the sudo...



Re: FFMpeg with H.264 Support

Posted by: sXi
Posted on: 2008-12-04 01:47:00

Try adding the path to .bash_profile before you compile FFmpeg.




How To Install PHP.INI / ionCube on DreamHost

Tags: ffmpegdreamhost