cvs commit: hints mplayer.txt

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Tue Dec 10 10:28:34 PST 2002


timothy     02/12/10 13:28:34

  Modified:    .        mplayer.txt
  Log:
  Updates by author.
  
  Revision  Changes    Path
  1.3       +128 -26   hints/mplayer.txt
  
  Index: mplayer.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/mplayer.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mplayer.txt	28 Nov 2002 14:27:54 -0000	1.2
  +++ mplayer.txt	10 Dec 2002 18:28:34 -0000	1.3
  @@ -9,8 +9,8 @@
   	Your system is too slow for avifile and you like pure gcc code
   	without object orientation better anyway. Why not trying
   	MPlayer? You don't even need an X-Server to let it run. And now
  -	that I've rewritten lots of it, it should be easy enough for
  -	everyone.
  +	that I've rewritten lots of this hint, it should be easy enough
  +	for everyone. And it plays (almost) everything you throw at it.
   
   DOWNLOADS:
   	http://www.MPlayerHQ.hu/downloads.html (CVS version should be
  @@ -18,14 +18,20 @@
   
   	You should also load a recent package of the windows codecs and
   	of the OSD fonts (if you don't want a On Screen Display anyway,
  -	you could leave those alone).
  +	you could leave those alone). Every package is now .bz2-packed,
  +	so you don't need unzip anymore.
   
   	If you want gui support, you should load a gui skin of your
  -	liking, too.
  +	liking, too, plus you'll definitely need libpng and gtk+.
   
  -	In CVS from 19.11.2002, Sorenson support was added. If you're
  -	interested in that feature, additionally load
  -	http://www.MPlayerHQ.hu/MPlayer/releases/qt-dotwine.tar.bz2
  +	Since 19.11.2002 (CVS) and release 0.90rc1, Sorenson support was
  +	added. If you're interested in that feature, additionally click
  +	"More binary codecs" on the download page. Get whatever you
  +	want. If you load The Quicktime6 dlls, be sure to load the
  +	Quicktime5 dlls, too, because the latter provides a file
  +	necessary for the usage of the first. The Quicktime "extra"
  +	dlls are codecs not yet supported. The rp8/9codecs are shared
  +	objects for linux.
   
   	In further versions, this codecs might be integrated into the
   	windows codec pack.
  @@ -49,7 +55,7 @@
   	xvid: http://www.xvid.org
   	divx4linux: (Videocodec: http://www.projectmayo.com, look on
   	http://www.divx.com or http://avifile.sourceforge.net for an
  -	actual binary version)
  +	actual binary version or get the cvs version)
   	ffmpeg (dito: http://ffmpeg.sourceforge.net; use CVS if
   	possible, obsolete when using mplayer release version)
   	LZO: http://www.oberhumer.com/opensource/lzo/
  @@ -64,12 +70,6 @@
   	MAD (Mpeg Audio Decoder): http://mad.sourceforge.net
   	cdparanoia: (for CD playing) http://www.xiph.org
   
  -	Others:
  -	
  -	unzip (for unpacking the mp3fonts package, which are currently
  -	available in .zip-Format only:)
  -	http://www.info-zip.org
  -
   INSTALL:
   	aalib:
   	------
  @@ -205,8 +205,64 @@
   	divx4linux (libdivxdecore)
   	--------------------------
   	
  -	If you want to use the source library (and since you're on LFS,
  -	I do think so), simply:
  +	The CVS version compiled fine for me, at least the decoding
  +	stuff (I'm still working on getting the encoder running). To
  +	get it, type
  +
  +	cvs -d:pserver:anonymous at cvs.projectmayo.com:/cvsroot \
  +	login &&
  +	cvs -d:pserver:anonymous at cvs.projectmayo.com:/cvsroot \
  +	co divxcore
  +
  +	Compile the CVS version:
  +
  +	cd divxcore/decore/build/linux &&
  +	make &&
  +	cp libdivxdecore.so /usr/local/lib &&
  +	ln -s /usr/local/lib/libdivxdecore.so \
  +	/usr/local/lib/libdivxdecore.so.0 &&
  +	cp ../../src/decore.h /usr/local/include &&
  +	cd ../../../encore/build &&
  +	mkdir linux &&
  +	cd linux &&
  +	cat >> Makefile << "EOF"
  +CC=gcc
  +
  +SRCDIR=../../src
  +
  +CFLAGS_INTEL=-D_ATT_SYNTAX -I$(SRCDIR)
  +
  +CFLAGS=-g -fPIC -Wall -DLINUX -D_DECORE -I$(SRCDIR) $(CFLAGS_PLATFORM)
  +
  +SOURCES=$(SRCDIR)/_test_main.c $(SRCDIR)/encore.c \
  +    $(SRCDIR)/bitstream.c $(SRCDIR)/mom_access.c $(SRCDIR)/mom_util.c \
  +    $(SRCDIR)/mot_code.c $(SRCDIR)/mot_est_comp.c $(SRCDIR)/mot_est_mb.c \
  +    $(SRCDIR)/mot_util.c $(SRCDIR)/putvlc.c $(SRCDIR)/rate_ctl.c \
  +    $(SRCDIR)/text_bits.c $(SRCDIR)/text_code.c $(SRCDIR)/text_code_mb.c \
  +    $(SRCDIR)/text_dct.c $(SRCDIR)/vop_code.c
  +                                 
  +
  +OBJECTS=$(SOURCES:.c=.o) $(SOURCES_PLATFORM:.c=.o)
  +
  +all: libdivxencore.so
  +
  +libdivxencore.so: $(OBJECTS)
  +        $(CC) -shared -lc -lm $^ -o $@
  +
  +clean:
  +        rm -f libdivxencore.so $(OBJECTS)
  +EOF &&
  +	make &&
  +	cp libdivxencore.so /usr/local/lib &&
  +	ln -s /usr/local/lib/libdivxdecore.so \
  +	/usr/local/lib/libdivxdecore.so.0 &&
  +	cp ../../src/encore.h /usr/local/include &&
  +	ldconfig
  +
  +	You may exchange /usr/local with any prefix of your liking.
  +
  +	If you want to use the released source library (and since you're
  +	on LFS,	I do think so), simply:
   
   	./configure --prefix=<e.g /usr/X11R6> &&
   	make &&
  @@ -273,7 +329,7 @@
   	make &&
   	make install
   
  -	The prefix should be replaced here, too.
  +	The prefix could be replaced here, too.
   
   
   	w32-binaries
  @@ -290,6 +346,19 @@
   	look at the documentation and contact the authors.
   
   
  +	Quicktime and other codec packs
  +	-------------------------------
  +
  +	All dll codecs should go right into the /usr/lib/win32
  +	directory or whatever you've used for it when you installed the
  +	windows codecs. If you want Quicktime, you need to use the
  +	--enable-qtx switch on ./configure.
  +	The realplayer codecs are in linux shared object (.so) format,
  +	so you can unpack them directly to /usr/local or another
  +	directory of your liking and tell ./configure the place where
  +	you've put them: --with-reallibdir=<e.g /usr/local/rp9codecs>.
  +
  +
   	mplayer
   	-------
   
  @@ -790,6 +859,12 @@
   				encrypted DVDs.
   				[nope (illegal)]
   
  +	--with-madlibdir=...	MAD, the mpeg audio decoder can be used
  +				to decode mp2/3 audio with astonishing
  +				precision. Point mplayer to where it's
  +				installed.
  +				[mostly autofound]
  +
   	--with-win32libdir=...	Normally, the windows codecs are stored 
   				to /usr/lib/win32. If you want another
   				place, you can set it here.
  @@ -798,6 +873,9 @@
   	--with-xanimdir=...	Where the xanim codecs are installed.
   				[nope (illegal)]
   
  +	--with-reallibdir=...	Where the real codecs are installed.
  +				[e.g. =/usr/local/rp9codecs]
  +
   	--with-sdl-config=...	If it's not found automatically
   				[e.g. =/usr/X11R6/bin/sdl-config]
   
  @@ -838,18 +916,37 @@
   	mencoder
   	--------
   	With mplayer comes an "everything to divx4"-encoder. You can
  -	convert everything you can watch with mplayer to high quality
  -	divx4! The help should be enough. If you are curious on what
  -	these options are, you should try the transcode-hint of the
  -	same author.
  +	convert everything you can watch with mplayer to every encoder
  +	you've installed before mplayer! Since the docs are pretty
  +	good, only a short example of a three-pass libavcodec divx5
  +	encoding of a dvd:
   
   
  -OTHER USEFUL PROGRAMS:
  +	rm frameno.avi 
  +	mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
  +	-lameopts vbr=3 -o frameno.avi
  +
  +	# mencoder should output bitrates for average encodings
  +	# now, choose one of your liking! In the following lines,
  +	# replace <bitrate> and <name.avi> with statements of your
  +	# liking
  +
  +	mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
  +	-lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=<bitrate> \
  +	-o <name.avi>
  +
  +	mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
  +	-lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> \
  +	-o <name.avi>
  +
  +	mencoder -forceidx <name.avi>
   
  -	mplayer may not use aviplay of the avifile library, but I found
  -	that this plays some .avi files that mplayer doesn't support.
  -	The avifile windows-dll package is not compatible to the one
  -	mplayer comes with, but the other way round works.
  +
  +	Will encode first audio and then 2-pass video and finally
  +	build the index (so you can jump back and forth in the movie).
  +
  +
  +OTHER USEFUL PROGRAMS:
   
   	http://avifile.sourceforge.net
   
  @@ -858,6 +955,11 @@
   	cutting.
   
   	Read the transcode hint of the same author.
  +
  +	Another neat program for avi cutting is avidemux. You'll find
  +	it at
  +
  +	http://fixounet.free.fr/avidemux/
   
   Since this hint will never ever be complete nor perfect, I'd like your
   updates send to alex at 22-music.com!
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe hints' in the subject header of the message



More information about the hints mailing list