FFmpeg in RHEL/CentOS 7 notes
by Alice Wonder
FFmpeg in RHEL/CentOS 7 notes
Hi, I know you don't have RHEL/CentOS7 (further referred to as EL7) repo
yet so I got ffmpeg working myself and thought I'd share my notes.
Initially I tried the 0.10.11 version and I got it to build, but encoding
to h.264 would segfault.
Also I had to disable libcdio because w/ libcdio support, the
libcdio-devel in EL7 doesn't provide a header it wants, it looks like a
change in libcdio.
I then tried 0.10.15 and still would segfault going to h.264
Then I tried a radical change to 2.4.1 and still would segfault.
Going to 2.4.1 also wanted a newer version of celt but celt is now merged
into opus anyway.
The problem I was experiencing was actually the fault of the x264 snapshot.
The x264 snapshop you have in your EL6 src.rpm repo is a few years old, so
I grabbed a new snapshop - redid the bootstrap - and then FFmpeg did not
have a problem encoding to h.264
http://awel.domblogger.net/7/media/src/repoview/x264.html
has my x264 package. I *hope* I got the version right.
Also to build it after the bootstrap, I had to disable gpac support
because I couldn't get gpac to build against the updated x264.
It's possible an updated snapshot of gpac will fix that, I haven't tried
(yet).
Anyway if anyone else is trying to build ffmpeg in EL7 and having the same
segfault issue I had, updating the x264 snapshot did resolves it for me.
9 years, 11 months
libmodplug-devel
by Alice Wonder
Attempting to build ffmpeg with aac support for CentOS 7.
Using CentOS and EPEL binary builds for all the dependencies where they
exist for CentOS 7, I've managed to hunt down/build/install the
necessary dependency src.rpm's for everything from Fedora 20, CentOS 6,
EPEL for RHEL 6, and rpmforge for RHEL 6
All except for libmodplug-devel
I don't know if I'm just not seeing it or what, but where does
libmodplug-devel come from?
I've found it elsewhere (e.g. rpmforge) but I'd rather grab a src.rpm
from CentOS/EPEL or Fedora 20 if possible.
Unfortunately I'm not at home where I have a Fedora 20 system I could
query yum for where it came from (I have ffmpeg w/faac there, built from
rpmforge src.rpm).
Any help would be appreciated.
9 years, 12 months