# HG changeset patch # User diego # Date 1121732922 0 # Node ID 3bed758b6eaec9109c2d7741b1b67524e692900b # Parent d7a8675c2fe1b80cdee31a2c377747248d54a06e Big cleanup all over the place; wording/grammar/typo fixes as usual, many entries rephrased for better clarity and shortness, a bit of old cruft removed, better semantic markup, consistency... diff -r d7a8675c2fe1 -r 3bed758b6eae DOCS/xml/en/faq.xml --- a/DOCS/xml/en/faq.xml Tue Jul 19 00:21:18 2005 +0000 +++ b/DOCS/xml/en/faq.xml Tue Jul 19 00:28:42 2005 +0000 @@ -25,7 +25,7 @@ Read the translation HOWTO, it should explain everything. You can get further help on the -MPlayer-docs +MPlayer-translations mailing list. @@ -91,7 +91,7 @@ -Are there binary (RPM/deb) packages of MPlayer? +Are there binary (RPM/Debian) packages of MPlayer? See the Debian and RPM @@ -101,7 +101,7 @@ -How can I build a 32 bit MPlayer on 64 bit Athlon? +How can I build a 32 bit MPlayer on a 64 bit Athlon? Try the following configure options: @@ -124,7 +124,8 @@ -I have a Matrox G200/G400/G450/G550, how do I compile/use the mga_vid driver? +I have a Matrox G200/G400/G450/G550, how do I compile/use the +mga_vid driver? Read the mga_vid section. @@ -133,23 +134,18 @@ -During 'make', MPlayer complains about X11 libraries. -I don't understand, I DO have X installed!? +During 'make', MPlayer complains about +missing X11 libraries. I don't understand, I do +have X11 installed!? -... but you don't have the X development package installed. Or not correctly. +... but you don't have the X11 development package installed. Or not correctly. It's called XFree86-devel* under Red Hat, and xlibs-dev under Debian Woody, libx11-dev under Debian Sarge. Also check if the /usr/X11 and /usr/include/X11 symlinks exist (this -can be a problem on Mandrake systems). They can be created with these commands: - - # ln -sf /usr/X11R6 /usr/X11 - # ln -sf /usr/X11R6/include/X11 /usr/include/X11 - -Your distribution may differ from the -Filesystem Hierarchy Standard. +can be a problem on Mandrake systems). @@ -213,69 +209,59 @@ -The or option doesn't work with -the x11 driver () ... - - -It does, but you have to explicitly specify software scaling (very slow) with the - option. You better use XF86VidMode support: You must -specify the and the option, and you're -done. Make sure you have the right modelines in your XF86Config -file, and try to make the DGA driver and -SDL's DGA driver work for you. It's much -faster. If SDL's DGA works, use that, it'll be even faster. - - - - - What is the meaning of the numbers on the status line? Example: -A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% - -A: audio position in seconds -V: video position in seconds -A-V: audio-video difference in seconds (delay) -ct: total A-V sync correction done -frames played (counting from last seek) -frames decoded (counting from last seek) -video codec CPU usage in percent (for slices and DR this includes -video_out) +A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x + +A: 2.1 +audio position in seconds + +V: 2.2 +video position in seconds + +A-V: -0.167 +audio-video difference in seconds (delay) + +ct: 0.042 +total A-V sync correction done + +57/57 +frames played/decoded (counting from last seek) + +41% +video codec CPU usage in percent + (for slice rendering and direct rendering this + includes video_out) + +0% video_out CPU usage + +2.6% audio codec CPU usage in percent -frames needed to drop to maintain A-V sync + +0 +frames dropped to maintain A-V sync + +4 current level of image postprocessing (when using ) + +49% current cache size used (around 50% is normal) + +1.00x playback speed as a factor of original speed - -Most of them are for debug purposes and will be removed at some point. - - - - - -What if I don't want them to appear? - - -Use the option and read the man page. - - - - - -Why is video_out CPU usage zero (0%) for some files? - - -It's not zero, but it's called from the codec and thus cannot be measured -separately. You should try to play the file using and -then and check the difference to see the video_out speed. - - -You are using Direct Rendering, where the codec renders to the video memory -itself. In this case, the decoding percentage contains the display percentage, too. + + +Most of them are for debug purposes, use the +option to make them disappear. +You might notice that video_out CPU usage is zero (0%) for some files. +This is because it is called directly from the codec and thus cannot +be measured separately. If you wish to know the video_out speed, compare +the difference when playing the file with and +your usual video output driver. @@ -284,9 +270,20 @@ There are error messages about file not found /usr/local/lib/codecs/ ... -Download the binary codecs from our -codecs page -and install it. +Download and install the binary codecs from our +codecs page. + + + + + +How can I make MPlayer remember the options I +use for a particular file, e.g. movie.avi? + + +Create a file named movie.avi.conf with the file-specific +options in it and put it in ~/.mplayer +or in the same directory as the file. @@ -522,7 +519,7 @@ My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound -too slow. When I use option, everything is OK (but quiet). +too slow. When I use the option, everything is OK (but quiet). Your machine is too slow or your sound card driver is broken. Consult the @@ -536,17 +533,16 @@ MPlayer interrupted by signal 4 in module: decode_video -Try running MPlayer on the machine you compiled on. -Or recompile with runtime CPU detection +Don't use MPlayer on a CPU different from the one +it was compiled on or recompile with runtime CPU detection (./configure --enable-runtime-cpudetection). -Don't use MPlayer on a CPU different from the one -it was compiled on, without using the feature mentioned just now. -I have problems with [your window manager] and fullscreen xv/xmga/sdl/x11 modes ... +I have problems with [your window manager] +and fullscreen xv/xmga/sdl/x11 modes ... Read the bug reporting guidelines and send us @@ -585,14 +581,13 @@ dropped frames counter goes up fast). -If it is an AVI, maybe it has bad interleaving. Try the option. +If it is an AVI, maybe it has bad interleaving, try the + to work around this. +Or it may have a bad header, in this case +and/or can help. -Your sound driver is buggy, or you use ALSA 0.5 with . -See the sound card section. - - -The AVI has a bad header, try the option, and/or . +Your sound driver is buggy. See the audio section. @@ -768,7 +763,7 @@ Use the option to refer to the directory that contains the files: -mplayer dvd://1 -dvd-device /path/to/directory +mplayer dvd://1 -dvd-device /path/to/directory @@ -790,7 +785,7 @@ -I'd like to seek +/- 1 frames instead of 10 seconds. +I'd like to seek +/- 1 frame instead of 10 seconds. You can step forward one frame by pressing .. @@ -799,18 +794,6 @@ Stepping backwards is unlikely to be implemented anytime soon. - - - -How can I make MPlayer remember the options I use -for a particular file, e.g. movie.avi? - - -Create a file named movie.avi.conf with the file-specific -options in it and put it in ~/.mplayer or -in the same directory as the file. - - @@ -834,7 +817,7 @@ MPlayer, use the option . For example: -mplayer -dumpstream dvd://5 -dumpfile dvd_dump.vob +mplayer dvd://5 -dumpstream -dumpfile dvd_dump.vob will dump the 5th title of the DVD into the file dvd_dump.vob @@ -877,9 +860,10 @@ For AVI files, you can use MEncoder's multiple file support like this: -mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi +mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi -This will only work if the files are of the same resolution and codec. +This will only work if the files are of the same resolution +and use the same codec. You can also try avidemux and avimerge (part of the @@ -890,23 +874,24 @@ -How can I fix AVI files with broken index or interleaving? +How can I fix AVI files with a broken index or bad interleaving? -Simply copy the video and audio streams into a new file, and -MEncoder generates the index. +To avoid having to use to be able to seek in +AVI files with a broken index or to play AVI +files with bad interleaving, use the command + +mencoder input.avi -idx -ovc copy -oac copy -o output.avi + +to copy the video and audio streams into a new AVI file while +regenerating the index and correctly interleaving the data. Of course this cannot fix possible bugs in the video and/or audio streams. -It also fixes files with broken interleaving, thus the - option will not be needed for them anymore. - -mencoder -idx input.avi -ovc copy -oac copy -o output.avi - -How can I fix the aspect ration of an AVI file? +How can I fix the aspect ratio of an AVI file? You can do such a thing thanks to MEncoder's @@ -923,7 +908,7 @@ I can't encode DVD subtitles into the AVI! -You have to specify the option correctly! +You have to properly specify the option. @@ -932,7 +917,7 @@ How can I encode only selected chapters from a DVD? -Use the option correctly, like: +Use the option correctly, like: . @@ -960,8 +945,8 @@ I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps. -Because ASF uses variable frame rate but AVI uses a fixed one, you -have to set it by hand using . +Since ASF uses variable framerate but AVI uses a fixed one, you +have to set it by hand with the option. @@ -1021,7 +1006,7 @@ mencoder input.avi -o output.avi -ffourcc XVID -Note that this will set the FourCC as XVID rather than as DIVX. +Note that this will set the FourCC to XVID rather than DIVX. This is recommended as DIVX FourCC means DivX4, which is a very basic MPEG-4 codec, whereas DX50 and XVID both mean full MPEG-4 (ASP). Therefore, if you change the FourCC to DIVX, some bad software or