Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27051 - ffmpeg libpostproc patching
Summary: ffmpeg libpostproc patching
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 12999
  Show dependency tree
 
Reported: 2003-08-21 07:04 UTC by Derk-Jan Hartman
Modified: 2004-03-25 11:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
correctly link libavcodec with libpostproc (libpostproc.patch,512 bytes, patch)
2003-08-21 07:07 UTC, Derk-Jan Hartman
Details | Diff
modified ebuild to build a dynamic version of libpostproc and install it. (ffmpeg-0.4.7_pre20030813.ebuild,2.38 KB, patch)
2003-08-21 07:08 UTC, Derk-Jan Hartman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derk-Jan Hartman 2003-08-21 07:04:30 UTC
VLC makes use of ffmpeg's libpostproc library, part of ffmpeg.
When building ffmpeg this library is statically linked to libavcodec. This is not a problem 
for VLC, but the fact that ffmpeg doesn't install the libpostproc header is a problem.

Reproducible: Always
Steps to Reproduce:




I have build a patch and modified an ebuild to compile libpostproc dynamically, link 
libavcodec with -lpostproc and install both ffmpeg and libpostproc.

This will help VLC in not being required to depend on mplayer (which does install this 
header)
Please take a look at the attached files. raker has more information on this issue if 
clarification is needed beyond this.
Comment 1 Derk-Jan Hartman 2003-08-21 07:07:24 UTC
Created attachment 16420 [details, diff]
correctly link libavcodec with libpostproc
Comment 2 Derk-Jan Hartman 2003-08-21 07:08:18 UTC
Created attachment 16421 [details, diff]
modified ebuild to build a dynamic version of libpostproc and install it.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-25 12:46:31 UTC
Actually mplayer installs both the static an dynamic versions of this lib
with 0.91 ...
Comment 4 Derk-Jan Hartman 2003-12-05 04:34:38 UTC
it's irrelevant if mplayer installs the library or not. ffmpeg should install it. Actually mplayer SHOULDN't install it. I think it's a accidental sideeffect of them importing the ffmpeg sources into their source tree and Gentoo acts incorrectly in this area.

mplayer imports all these sources too be independent of their installed versions. But that should also mean that all that code is linked statically (in my eyes). I know this is not conform gentoo ways, but it is the advised way to use mplayer and I think Gentoo should adhere to it.
Comment 5 Joel Martin (RETIRED) gentoo-dev 2004-03-02 08:57:13 UTC
Are you certain that ffmpeg is the original source of libpostproc?

Most of what I've found searching online points to mplayer. And rpms that I've found refer to mplayer as the source.

I'm working on an ebuild for libpostproc and just want to get some certainty that
ffmpeg really is the canonical source for libpostproc.
Comment 6 Derk-Jan Hartman 2004-03-02 09:21:55 UTC
mplayer and ffmpeg developement always is kindof a mixed situation.
It originates from mplayer, it's final destination will be ffmpeg.
Comment 7 Joel Martin (RETIRED) gentoo-dev 2004-03-25 11:00:27 UTC
OK. These changes are in the tree. ffmpeg-0.4.8.20040222 and will install the
libpostproc libraries. mplayer-1.0_pre3-r1 and greater will not install libpostproc anymore.

I'm closing this as resolved.