[Mplayer-cvslog] CVS: main/DOCS CDROM,NONE,1.1 AUTHORS,1.25,1.26 SOUNDCARDS,1.12,1.13 example.conf,1.12,1.13 mplayer.1,1.18,1.19

Berczi Gabor gabucino at users.sourceforge.net
Thu Apr 19 11:17:44 CEST 2001


Update of /cvsroot/mplayer/main/DOCS
In directory usw-pr-cvs1:/tmp/cvs-serv16052/DOCS

Modified Files:
	AUTHORS SOUNDCARDS example.conf mplayer.1 
Added Files:
	CDROM 
Log Message:



--- NEW FILE ---

Tune up CDROM
~~~~~~~~~~~~~

Introduction
~~~~~~~~~~~~
>From Linux documentation:

Some CDROM drives are capable of changing their head-speed. There are several
reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may
benefit from less-than-maximum head rate. Modern CDROM drives can obtain very
high head rates (up to 24-times is common).  It has been reported that these
drives can make reading errors at these high speeds, reducing the speed can
prevent data loss in these circumstances.  Finally, some of these drives can
make an annoyingly loud noise, which a lower speed may reduce.

Howto
~~~~~
The recommended way to do it is with a program called 'setcd' . It's kinda
old, but won't be too hard to find on the Net.
Use it with :
	setcd -x <speed> <cdrom device>

Also you can try :
	echo current_speed:4 >/proc/ide/<cdrom device>/settings
but you'll need root privileges. (It didn't work for me - Gabucino)

I use following command too :
	echo file_readahead:2000000 >/proc/ide/<cdrom device>/settings
for 2MB prefetched reading from the file (it's useful for scratched CDROMs).

It's recommended that you tuneup your CDROM drive also with hdparm:

hdparm -d1 -a8 -u1 <cdrom device>
to enable using DMA access, readahead, and IRQ unmasking.
(if you don't understand these, *read the hdparm manpage*)

Final words
~~~~~~~~~~~
Please refer to "/proc/ide/<cdrom device>/settings" for fine-tuning your CDROM.

	Nick Kurshev & Gabucino
	  <nickols_k at mail.ru>



Index: AUTHORS
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/AUTHORS,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** AUTHORS	2001/04/18 19:12:35	1.25
--- AUTHORS	2001/04/19 09:17:41	1.26
***************
*** 30,34 ****
  - ./configure script improvements
  - Makefile improvements
! - preliminary DVD support
  
  Gábor Bérczi (Gabucino):  <gabucino at k2.jozsef.kando.hu>
--- 30,34 ----
  - ./configure script improvements
  - Makefile improvements
! - prelimenary DVD support
  
  Gábor Bérczi (Gabucino):  <gabucino at k2.jozsef.kando.hu>
***************
*** 74,77 ****
--- 74,81 ----
  - Additional YUV formats support
  - found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization
+ 
+ Nick Kurshev: <nickols_k at mail.ru>
+ - memcpy optimizations for AMD K7 and Intel Pentium III
+ - CDROM tune info
  
  Main testers:

Index: SOUNDCARDS
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/SOUNDCARDS,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** SOUNDCARDS	2001/04/15 23:05:12	1.12
--- SOUNDCARDS	2001/04/19 09:17:41	1.13
***************
*** 3,15 ****
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
! Aureal Vortex 2:        In config.h, change #define HAVE_AUDIO_SELECT to
! 			  #undef HAVE_AUDIO_SELECT or run 
! 			  ./configure script with --disable-select option
! 			  
! ALSA with GUS PnP:	see Aureal Vortex2
  
  SB Live!:
  			OSS	: OK
! 			ALSA	: (untested)
  			Max kHz : 48
  
--- 3,17 ----
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
! Aureal Vortex 2:
! 			run ./configure script with --disable-select option
  
+ GUS PnP:
+ 			OSS	: OK (?)
+ 			ALSA	: see Aureal Vortex2
+ 			Max kHz	: 48 (?)
+ 
  SB Live!:
  			OSS	: OK
! 			ALSA	: (?)
  			Max kHz : 48
  
***************
*** 21,25 ****
  Gravis UltraSound MAX:
  			OSS     : OK
! 			ALSA    : OK (should be)
  			Max kHz : 48
  
--- 23,27 ----
  Gravis UltraSound MAX:
  			OSS     : OK
! 			ALSA    : OK (?)
  			Max kHz : 48
  
***************
*** 38,48 ****
   - MPlayer is mostly intended for OSS
   - use at least 2.4 if possible, 2.2 isn't tested
!  - In case of any problems, first try to change "#define HAVE_AUDIO_SELECT" to
!    "#undef HAVE_AUDIO_SELECT" in config.h , and recompile!
!    (make distclean ; make)
     Your soundcard may not support querying of its buffer.
   - if sound clicks when playing from CD-ROM, turn on IRQ unmasking !
     for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!)
!    This is also recommended anyways... (for XMMS, etc...)
   - don't use your soundcard by other application ( for ex. XMMS ) !
     if you use ESD, start MPlayer with the esddsp utility !
--- 40,49 ----
   - MPlayer is mostly intended for OSS
   - use at least 2.4 if possible, 2.2 isn't tested
!  - In case of any problems, first try recompiling with
!    ./configure --disable-select , then make distclean ; make .
     Your soundcard may not support querying of its buffer.
   - if sound clicks when playing from CD-ROM, turn on IRQ unmasking !
     for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!)
!    This is recommended anyways... (for XMMS, etc...)
   - don't use your soundcard by other application ( for ex. XMMS ) !
     if you use ESD, start MPlayer with the esddsp utility !

Index: example.conf
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/example.conf,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** example.conf	2001/04/18 18:52:35	1.12
--- example.conf	2001/04/19 09:17:41	1.13
***************
*** 72,75 ****
--- 72,78 ----
  ##
  
+ # fb = /dev/fb0				# framebuffer device to use
+ # fbmode = 640x480-120			# use this mode (read from fb.modes!)
+ # fbmodeconfig = /etc/fb.modes		# the fb.modes file
  # monitor_hfreq = 31.5k-50k,70k		# horizontal frequency range
  # monitor_vfreq = 50-90			# vertical frequency range
***************
*** 80,84 ****
  ##
  
! dvd = /dev/dvd
  
  ##
--- 83,87 ----
  ##
  
! # dvd = /dev/dvd
  
  ##

Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/mplayer.1,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** mplayer.1	2001/04/17 17:32:35	1.18
--- mplayer.1	2001/04/19 09:17:41	1.19
***************
*** 115,118 ****
--- 115,119 ----
  .B \-subfps\ rate
  specify frame/sec rate of subtitle file
+ (ONLY for frame-based SUB files, i.e. NOT MicroDVD format!)
  (default: the same as the movie)
  .TP


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list