FFmpeg in RHEL/CentOS 7 notes

alicewonder at shastaherps.org alicewonder at shastaherps.org
Mon Sep 22 19:16:21 CEST 2014


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.


More information about the rpmfusion-users mailing list