Page 1 of 1

Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Fri Nov 02, 2012 9:21 am
by si_blakely
Does anyone have any guidelines for building ffmpeg on Centos

I cannot find a Centos RPM for ffmpeg 1.0.1 (and libs) so it looks like I have to build my own, but it has not gone well so far.

Has anyone else tried (and I have tried one of the static ffmpeg builds but it fails due to an incompatible kernel)

I found the src rpm for Mandriva but this fails with missing rpm macros.

I really want to build ffmpeg static with as many libraries as possible.

Si

Re: Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Fri Nov 02, 2012 10:03 am
by will
Its for 6.0, but should apply. Scroll down to the bottom there is a guide for building ffmpeg.

http://wiki.serviio.org/doku.php?id=how ... all:centos

Re: Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Fri Nov 02, 2012 1:08 pm
by si_blakely
I had tried that link, but had not made it work.

With a bunch of mucking about, I did succeed (albeit without Theora support, but that should not be an issue). I had to move some libraries and header files so that configure could find them, but I really don't know why.

I will test it tonight (all I really need is mkv-mt2s for my BDP-S370) and hopefully all will be well - I had a strange episode where a selfcompiled ffmpeg 1.0.1 started failing on all my mkv files, so I backed it out and reinstalled an older version, but then only some worked (some mkv format weirdness, I think).

Now it looks like 1.0.1 is good (tested on a bunch of mkv files) but I have to test it from my S370 when I get home.

Re: Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Sat Nov 03, 2012 3:55 pm
by zip
It'd be great if you could update the wiki page with your findings :-)

Re: Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Mon Nov 05, 2012 7:49 am
by si_blakely
Just to report that everything is now working fine with ffmpeg 1.0.1 and Serviio.

I'll build a raw Centos server and start again from source (as far as possible), as some of my issues were library/repository based (SME servers have a restricted subset of repositories, and I needed to find the right ones for the various libs).

I'll feed that back when I have done that.

Si

Re: Building ffmpeg 1.0.1 on Centos 5.8

PostPosted: Mon Nov 05, 2012 12:28 pm
by zip
thanks