This is annoying. I've been trying to get motion working correctly on CentOS 6. First, there was no ffmpeg rpms. Now, I try to install it, and it's found on rpmfusion... except that it will not install. It insists that libfaad.so.0 is required, and tells me faad2-libs-2.6.1-5 from el5 is available. (I've done some stuff with my repos to try to get what I need for motion.) I installed faad2-libs. It *still* will not install, telling me the same: Error: Package: ffmpeg-libs-0.4.9-0.52.20080908.el5.x86_64 (rpmfusion-free-updates5-testing) Requires: libfaad.so.0()(64bit) Available: 1:faad2-libs-2.6.1-5.el5.x86_64 (rpmfusion-free-updates5-testing) libfaad.so.0()(64bit) I've run into problems with libfaad being missing before. Here's the real question: how were the ffmpeg and ffmpeg-libs *built*, if a libfaad package isn't available in the repository? mark
---- m.roth at 5-cent.us wrote:> This is annoying. I've been trying to get motion working correctly on > CentOS 6. First, there was no ffmpeg rpms. Now, I try to install it, and > it's found on rpmfusion... except that it will not install. It insists > that libfaad.so.0 is required, and tells me faad2-libs-2.6.1-5 from el5 is > available. (I've done some stuff with my repos to try to get what I need > for motion.) > > I installed faad2-libs. It *still* will not install, telling me the same: > Error: Package: ffmpeg-libs-0.4.9-0.52.20080908.el5.x86_64 > (rpmfusion-free-updates5-testing) > Requires: libfaad.so.0()(64bit) > Available: 1:faad2-libs-2.6.1-5.el5.x86_64 > (rpmfusion-free-updates5-testing) > libfaad.so.0()(64bit) > > I've run into problems with libfaad being missing before. Here's the real > question: how were the ffmpeg and ffmpeg-libs *built*, if a libfaad > package isn't available in the repository? > > markI use ffmpeg with Zoneminder. If you go to their website, there some links to download the latest version with svn. I never could find a rpm that worked.
On Wed, Aug 10, 2011 at 05:11:12PM -0400, m.roth at 5-cent.us wrote:> This is annoying. I've been trying to get motion working correctly on > CentOS 6. First, there was no ffmpeg rpms. Now, I try to install it, and > it's found on rpmfusion... except that it will not install. It insists > that libfaad.so.0 is required, and tells me faad2-libs-2.6.1-5 from el5 is > available. (I've done some stuff with my repos to try to get what I need > for motion.) > > I installed faad2-libs. It *still* will not install, telling me the same: > Error: Package: ffmpeg-libs-0.4.9-0.52.20080908.el5.x86_64 > (rpmfusion-free-updates5-testing) > Requires: libfaad.so.0()(64bit) > Available: 1:faad2-libs-2.6.1-5.el5.x86_64 > (rpmfusion-free-updates5-testing) > libfaad.so.0()(64bit) > > I've run into problems with libfaad being missing before. Here's the real > question: how were the ffmpeg and ffmpeg-libs *built*, if a libfaad > package isn't available in the repository? > > mark >I just use rpmforge's and never have issues. It's not always the latest version, but I've always been able to do everything with it that I need. Don't know if that helps at all, probably doesn't, but the repoforge ones have always worked well for me, through CentOS 5, and now 6. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Look, I know this new guy's a dork, but... Well, I have nothing to follow that. He's pretty much just a dork.
On Wednesday, August 10, 2011 05:11:12 PM m.roth at 5-cent.us wrote:> This is annoying. I've been trying to get motion working correctly on > CentOS 6.> I installed faad2-libs. It *still* will not install, telling me the same: > Error: Package: ffmpeg-libs-0.4.9-0.52.20080908.el5.x86_64 > (rpmfusion-free-updates5-testing) > Requires: libfaad.so.0()(64bit) > Available: 1:faad2-libs-2.6.1-5.el5.x86_64 > (rpmfusion-free-updates5-testing)If you're doing this on C6, why are you using C5 repositories? It doesn't look like rpmfusion for EL6 has ffmpeg yet; you might be able to rebuild the fedora 12/13/14 RPM on C6. RPMfusion still has ffmpeg for F13; you might be able to grab the F13 source RPM for ffmpeg and rebuild it on EL6.
On Thursday, August 11, 2011 01:25:59 PM m.roth at 5-cent.us wrote:> Now, so far, motion, and ffmpeg, are not available for 6. > rpmfusion/updates/free/testing has faad2. I don't see ffmpeg, much less > motion. So I'm stuck trying to work from an 5 repository for ffmpeg.There are basic dependency issues with trying to use what amounts to a Fedora Core 6 repository with what amounts to a Fedora 12/13 OS. You will not likely be successful in using an EL5 ffmpeg with EL6 due to more than just faad. Since you can't use just any repo, and since you can't build from source, then you'll just have to wait on the rpmfusion EL6 repo to get ffmpeg and motion. Sorry. More detail: I typically use rpmforge for ffmpeg for EL5; I enabled rpmfusion on one of my C5 machines, and find several differences between the rpmfusion and rpmforge ffmpeg packages. First, as has been mentioned, the rpmfusion version of ffmpeg is old, 0.4.9. The rpmforge version is 0.6.1. Looking at the requires for the rpmfusion version of ffmpeg, I think the libfaad version is the least of the troubles. But, since faad is where this shows up, note that the version of the shared object is different, and thus probably incompatible: (both of these machines are CentOS 5 fully updated) [root at migration ~]# rpm -q --queryformat "%{NAME}-%{VERSION} for %{ARCH} from %{VENDOR}\n" faad2-libs faad2-libs-2.6.1 for x86_64 from RPM Fusion faad2-libs-2.6.1 for i386 from RPM Fusion [root at migration ~]# rpm -ql faad2-libs /usr/lib64/libfaad.so.0 /usr/lib64/libfaad.so.0.0.0 /usr/lib/libfaad.so.0 /usr/lib/libfaad.so.0.0.0 [root at migration ~]# +++++++++ [root at zoneminder ~]# rpm -q --queryformat "%{NAME}-%{VERSION} for %{ARCH} from %{VENDOR}\n" faad2 faad2-2.7 for x86_64 from Dag Apt Repository, http://dag.wieers.com/apt/ [root at zoneminder ~]# rpm -ql faad2 /usr/bin/faad /usr/lib64/libfaad.la /usr/lib64/libfaad.so.2 /usr/lib64/libfaad.so.2.0.0 /usr/lib64/libmp4ff.a /usr/share/doc/faad2-2.7 /usr/share/doc/faad2-2.7/AUTHORS /usr/share/doc/faad2-2.7/COPYING /usr/share/doc/faad2-2.7/ChangeLog /usr/share/doc/faad2-2.7/NEWS /usr/share/doc/faad2-2.7/README /usr/share/doc/faad2-2.7/README.linux /usr/share/doc/faad2-2.7/TODO /usr/share/man/manm/faad.man.gz [root at zoneminder ~]# Note that libfaad.so.0.0.0 and libfaad.so.2.0.0 are likely incompatible with each other. In other words, an EL5 ffmpeg from rpmfusion is not going to work on EL6, more than likely, without a lot of effort.
On Thursday, August 11, 2011 01:05:46 PM Brandon Ooi wrote:> I work with ffmpeg a lot. I recommend that you don't try to build the rpms > which are constantly out of date. ffmpeg is a moving target so I recommend > compiling it from git.This breaks, with regularity, ZoneMinder for one. I successfully built and am using ZoneMinder 1.24.2 with the rpmforge ffmpeg rpms, at the moment. (yeah, I know 1.24.4 is out, and I'll build that eventually....) I'd much rather take a known working source RPM, and if I'm going to compile out of git then I'm going to create a proper tarball from which I can build from the source RPM so that when updates come down for libraries that ffmpeg depends upon things won't break because the package manager doesn't know about the dependency. Even compiling out of git, using packages gives you a better chance of not hitting update-breaks-things disease. I say a better chance; it's not 100%, but it's better than 0%, which is what compiling out of git without package management will give you. And, IMHO, important packages should not be moving targets, even with version numbers less than 1.0. OpenSSL was one like that, and it was a nightmare.