27 October 2005

Real men compile their own programs

Mplayer instalation guide:

- Download the CVS version
(http://www.mplayerhq.hu/homepage/design7/dload.html)
- bunzip and untar it somewhere

- Download the essential (or essential-all) codec pack
- bunzip and untar it to /usr/local/bin/codecs

- Download a font [Arial - Western (ISO 8859-1) (4 sizes)] (http://www.mplayerhq.hu/homepage/design7/dload.html)
- bunzip and untar it to /root/mplayersource/font

- Download a Skin [DVDPlayer]
(http://www.mplayerhq.hu/homepage/design7/dload.html)
- bunzip and untar it to /whatever/mplayersource/Skin

- Create a symlink at /root/.mplayer
#ln -s /whatever/mplayersource/font/font-arial-iso-8859-1/font-arial-24-iso-8859-1/ font

- Get FFMpeg
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg/libavcodec ffmpeg/libavutil

- copy the newly created libavcodec and libavutil to the directory you untarred the Mplayer CVS (there's already a dir there, but it doesn't work, overwrite it)
- edit the "Entries" file found at /directory_you_untarred_CVS/CVS/Entries
append:
D/libavcodec////
D/libavutil////


- run #./configure --enable-gui --enable-largefiles --enable-menu --enable-lirc

--datadir=/whatever/mplayersource
PS: /whatever/mplayersource is the directory where the fonts and Skins are untarred.

- Check the available codecs/options before compiling:

Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes

Checking for lirc ... yes

Optimizing for: athlon-xp mmx mmx2 3dnow 3dnowex sse sse2 mtrr

Enabled optional drivers:
Input: ftp network tv-v4l2 tv-v4l edl tv matroska mpdvdkit2 vcd dvb
Codecs: qtx divx5linux libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 libdts liba52

mp3lib libtheora tremor(internal) gif
Audio output: alsa esd arts oss nas mpegpes(dvb)
Video output: xvidix cvidix vesa gif89a md5sum pnm jpeg png mpegpes(dvb) fbdev svga aa opengl xv x11

xover tga
Audio filters:

Disabled optional drivers:
Input: vstream tv-bsdbt848 live.com cdda dvdread smb
Codecs: divx4linux x264 xvid libdv amr_wb amr_nb musepack twolame toolame libmad liblzo faac
Audio output: sgi sun jack polyp dxr2 dsound win32 sdl macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx sdl caca ggi xmga mga dga xvmc directfb tdfx_vid

tdfxfb 3dfx quartz
Audio filters: ladspa

- If everything is ok:
#make
#make install

4 Comments:

Anonymous Anonymous said...

MESSAGE

15 February, 2007 07:59  
Anonymous Anonymous said...

MESSAGE

24 March, 2007 03:15  
Anonymous Anonymous said...

Hi all at eduardosextafeira.blogspot.com!
Make money with unusual business ideas. For example
Thats all

25 March, 2007 19:33  
Anonymous anal info porn remember teen said...

to see in touch until you were ever found! Very VERY bad start. But wait, Ukrainian Girls Ukrainian girls everywhere anal sex teen

23 June, 2009 05:37  

Post a Comment

<< Home