On Sun, Jun 17, 2012 at 04:36:43PM +0100, Ken Moffat wrote:
> On Sun, Jun 17, 2012 at 12:10:24PM +0100, Andrew Benton wrote:
> 
>  Somehow, I doubt transcode will reappear in the book : development
> was at berlios, and stopped some time ago, the site we were using is
> just a copy of what is/was at berlios (because that will be going
> away).  Unfortunately, google is not very helpful for the *package*
> transcode, it just finds references to transcoding.
> 
 Since current ffmpeg also prevents me using a system version of
ffmpeg with gstreamer, I came back to this.  Normally, I have
nothing in /usr/local, so I decided to build old (0.10-series)
ffmpeg and transcode in /usr/local.

 For transcode, just a simple
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
in front of ./configure --prefix=/usr/local.  Even the man-pages are
found.  I'll keep the programs in /usr/local/bin as a reminder to
myself that they are using the old version of ffmpeg.

 I did this at the end of my main AV build, I suppose it's possible
that the things using ffmpeg will now find the old headers but the
new libraries - if ever I have to recompile them.

 Then I moved on to gst-ffmpeg.  My only user for this is totem, so
I really need it to be in /usr.

 Again, set PKG_CONFIG_PATH.  After the install, almost everything
that the libraries linked to was shown by ldd.  The exceptions were
libavcodec.so.53 and libavformat.so.53.  I've added symlinks for
those in /usr/lib - initially, that seemed a little scary
(libavutil.so.51, libavcodec.so.54 and libpostproc.so.52 - both from
libgstpostproc.so - provided by current ffmpeg, but it's probably
no different from having two versions in /usr/lib which distros
often do.

 I've now tested totem with all the video file formats I have
available (it won't offer to play a DVD, probably a missing
dependency) and this all seems to work.  Not suitable for the book,
but maybe I'll now gt back to DVD->CD ripping one of these days :)

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to