[MPlayer-dev-eng] How to get a working CVS snapshot

Todd Kirby slapcat at pacbell.net
Mon Mar 3 08:48:23 CET 2003


On Monday 03 March 2003 02:42 pm, Gansser, Martin wrote:
> I tried to compile the CVS-Tree from
> http://www2.mplayerhq.hu/MPlayer/cvs/MPlayer-20030303.tar.bz2 but this
> fails with:
>
> the libavcode directory isn't complite, it contains only the dir CVS.

> any suggestion
>
> thanks Martin


libavcodec is not included in CVS versions of mplayer, you have to get it from 
the ffmpeg project. Instructions for obtaining libavcodec are in the README 
file.

STEP1: Installing FFmpeg libavcodec
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you are using an official (pre)release, skip this step, since official 
releases include libavcodec. CVS sources and CVS snapshots do not include 
libavcodec. To verify if you do have libavcodec or not, check if the 
libavcodec subdirectory in the MPlayer source tree is empty or not.

The FFmpeg project provides libavcodec, a very portable codec collection 
(among the supported formats is MPEG4/DivX) with excellent quality and speed, 
that is the preferred MPEG4/DivX codec of MPlayer. You have to get libavcodec 
directly from the FFmpeg CVS server.

To get the FFmpeg sources, use the following commands in a suitable directory 
outside the MPlayer source directory:

cvs -d:pserver:anonymous at cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous at cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co 
ffmpeg/libavcodec

When asked for a password, you can just hit enter.

Now, replace the empty libavcodec directory in the MPlayer source tree with 
the FFmpeg libavcodec source by removing the libavcodec subdirectory in the 
MPlayer source tree and then copying (symbolic linking does NOT suffice) the 
freshly downloaded FFmpeg libavcodec directory back into the MPlayer source 
tree.

Cheers,
Todd




More information about the MPlayer-dev-eng mailing list