[MPlayer-users] mplayer 1.0pre5 compilation question

Torinthiel torinthiel at megapolis.pl
Sun Sep 5 16:19:05 CEST 2004

On Sun, Sep 05, 2004 at 03:39:17PM +0200, wwp wrote:
> 2/ the Makefile looks for unexisting libavformat (I do create a symlink
> libavformat/ in MPlayer's sources dir too, to point to the existing sources dir
> in ffmpeg's sources). Since MPlayer comes w/ a version of libavcodec, why not
> shipping libavformat? Or did ./configure (or I) do something wrong?
> With that changes, MPLayer 1.0pre5 compiles (and plays) well.
> But did I miss something or did something wrong?

Yes, you've missed something. BTW libavformat is not necessary to build.
Quoting the documentation
<quote>Move the libavcodec directory from the FFmpeg sources to the root of the MPlayer CVS tree. It should look like this: main/libavcodec 

Symlinking is not enough, you have to copy/move it!</quote>

The same applies to libavformat. And it's not shipped because (I think,
I'm not sure) it's less frequently used.

> 3/ if I also rename MPlayer's libavcodec and create a symlink to points to my
> ffmpegs's one (a bit more recent), I will have to fight a bit more, since my
> ffmpeg version is compiled w/ faac support, so MPlayer will fail linking,
> lacking of -lfaac. Adding -lfaac to the link command works fine. But then I
> encounter problem w/ the version of liba52. I gave up :-) and used libavcodec
> that came w/ MPlayer.

See above. And if you copy libavcodec, not symlink it, it will use
MPlayers' config.*, so no problems with faad support or whatever.

 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040905/27696ef3/attachment.pgp>

More information about the MPlayer-users mailing list