I seem to be finding various issues with the ffmpeg aspect of zm. I can get zm working by manually compiling ffmpeg, but then mythtv video conversion etc breaks because there are other requirements. Even if it works, a yum update a few months later and zm breaks again.
What I'd really like to do is have two seperate ffmpeg installs, one from source and one from yum (fedora 12), but I'm not sure how they would co-exist with each other.
So:
Firstly I've NOT installed ffmpeg from the fedora installation
Then I install ffmpeg from source, but with a prefix of /opt/ffmpeg
./configure --enable-gpl –enable-shared --enable-pthreads --prefix=/opt/ffmpeg
I then do a make install
However, do I need to do a make install-libs? What does this step do? I've not bothered for now and all seems well so far.
I'm assuming it copies libraries into the central /lib area, which I want to avoid.
Running the following zm configure and make seems to work, but I've not tested the zm aspect of it yet.
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin/zm --with-webuser=apache --with-webgroup=apache --with-ffmpeg=/opt/ffmpeg ZM_SSL_LIB=openssl
Firstly, will this above configuration work for generating event mpegs with ffmpeg?
Secondly, when I do a yum install ffmpeg ffmpeg-devel for use by mythtv and other programs, will zm and the ffmpeg in /opt/ffmpeg still work OK or will it break.
Hope this all makes sense.
Thanks in advance
ffmpeg, multiple installs, library paths - please explain
-
- Posts: 247
- Joined: Sun Jan 16, 2005 11:26 am
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Re: ffmpeg, multiple installs, library paths - please explai
Without diving deep into this...you might try to statically compile ffmpeg. This will make the binary _huge_ but you wouldn't run into as many library problems with multiple ffmpeg installs.
-
- Posts: 247
- Joined: Sun Jan 16, 2005 11:26 am