view DOCS/zh/faq.html @ 11918:634a2b279b1a

'video window vanishes after pause' bugfix, based on Andr Khne's (andre.kuehne@gmx.net) bugreport
author pontscho
date Tue, 03 Feb 2004 19:02:45 +0000
parents 49f639c73367
children aa01df570de0
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>

<HEAD>
  <TITLE>FAQ -- MPlayer -- LinuxµĵӰ</TITLE>
  <LINK REL="stylesheet" TYPE="text/css" HREF="../default.css">
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gbk">
  <STYLE TYPE="text/css">
      dt	{
	font-weight : bold;
      }
  </STYLE>
</HEAD>

<BODY>


<H1><A NAME="faq">5. FAQ </A></H1>

<UL>
  <LI><A HREF="#compilation">5.1 </A></LI>
  <LI><A HREF="#general">5.2 һ</A></LI>
  <LI><A HREF="#playback">5.3 </A></LI>
  <LI><A HREF="#driver">5.4 ƵƵ(vo/ao)</A></LI>
  <LI><A HREF="#dvd">5.5 DVD</A></LI>
  <LI><A HREF="#features">5.6 Ҫ</A></LI>
  <LI><A HREF="#encoding">5.7 </A></LI>
</UL>


<H2><A NAME="compilation">5.1 </A></H2>

<DL>

  <DT>QֹͣijϢ
    <PRE>
    In file included from mplayer.c:34:
    mw.h: In function `mplMainDraw':
    mw.h:209: Internal compiler error in print_rtl_and_abort, at flow.c:6458
    Please submit a full bug report,
    with preprocessed source if appropriate.
    </PRE>
  </DT>
  <DD>Agcc 3.0.4һ֪bug3.1ͿԽ⡣ΰװgcc<A HREF="users_against_developers.html#gcc">gcc 2.96</A>֡</DD>
  <DD>&nbsp;</DD>

  <DT>QConfigureʱ֣MPlayer޷룡<BR>
    <CODE>"Your gcc does not support even i386 for '-march' and '-mcpu'."</CODE>
    </DT>
  <DD>AgccûȷİװϸҪ鿴<CODE>config.log</CODE>ļ</DD>
  <DD>&nbsp;</DD>

  <DT>Q"No such file or directory"ʲô˼</DT>
  <DD>AпûļĿ¼</DD>
  <DD>&nbsp;</DD>

  <DT>Qgcc2.96ʲô⣿</DT>
  <DD>A<B>ǿҷʹgcc 2.96</B><BR>
    ϸڲμ<A HREF="users_against_developers.html#gcc"></A>ļ˽ΪʲôRed Hatgcc 2.96Լʲô⡣Ȼ
ȷʵȷʵȷʵȷʵҪʹʹµİ汾configureʱ<CODE>--disable-gcc-checking</CODE>ѡסԼѡ·ġ
һ<B>Ҫ</B>bugһ<B>Ҫ</B>ʼбѰǽ<B></B>ṩκ֧֡</DD>
  <DD>&nbsp;</DD>

  <DT>QüˣôʹRed Hat/Mandrakegcc 3.0.1û⣡</DT>
  <DD>AΪЩͬ⡣Ϊ˽⵱ǰıMPlayer֧״μ<A HREF="documentation.html#installation">װ</A>֡</DD>
  <DD>&nbsp;</DD>

  <DT>QͼMPlayerҵõ
    <PRE>
    In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
                     from /usr/include/g++-v3/bits/fpos.h:40,
                     from /usr/include/g++-v3/bits/char_traits.h:40,
                     from /usr/include/g++-v3/bits/std_string.h:41,
                     from /usr/include/g++-v3/string:31,
                     from libwin32.h:36,
                     from DS_AudioDecoder.h:4,
                     from DS_AudioDec.cpp:5:
    /usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
       wchar_t**, int)':
    /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
    `const
    </PRE>
  </DT>
  <DD>Aglibcµķа档Mandrakeʹ2.2.4-8mdk</DD>
  <DD>&nbsp;</DD>

  <DT>Q... gcc 2.96 ... (ǵģЩ˻Ϊgcc 2.96ϻ)</DT>
  <DD>AA'rpi͵<A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>ʼбһ
<A HREF="http://www.mplayerhq.hu/pipermail/mplayer-users/2001-October/005351.html">ʼ</A>('ideg'˼)
    <BLOCKQUOTE>
    <P>And we have idegs. And our idegcounter overflowed again and again.</P>

    <P>Unfortunately MPlayer is out of our control. It's used by lamers, Linux
    users who can't even use Windows, and never tried to compile a kernel. They
    installed (with default options) Mandrake or Red Hat or SuSE, and without
    RTFM'ing they send messages saying 'it doesn't work! help me! please! i'm
    new to Linux! help! oh! help me!'. We can't stop them, but at least we try
    to force them to RTFM and to read the messages of ./configure and MPlayer.</P>

    <P>And you clever guys come and flame us with gcc 2.96 and binary packages.
    Instead of helping users or making patches to help solve problems.</P>

    <P>Half of our spare/free time is spent by answering silly mails here and
    making newer tricks and checks to configure to avoid such mails.</P>

    <P>And there is a balance. On the one side are you, clever guys, saying we
    are very bad because we don't like buggy gcc 2.96, and on the other side
    there are the 'new to Linux' guys who are showing us gcc 2.96 is buggy.</P>

    <P>Conclusion: We can't be good. Half the people will always say we are bad.</P>

    <P>Maybe we should close the project, make it closed source, commercial, and
    provide install support for it. then we could leave current work, so
    development could go faster, and we could earn lots of money with it and buy
    a big house, etc etc. Do you really want it? It seems.</P>
    </BLOCKQUOTE>
  </DD>
  <DD>&nbsp;</DD>

  <DT>QSDLܹ߱롣...</DT>
  <DD>ASDL 1.2.xܹSDL 1.1.7+ܹκǰİ汾϶<B></B>ѡʹİ汾ԼΡ</DD>
  <DD>&nbsp;</DD>

  <DT>QڱSDLֵ֧ʱȻ⡣gcc˵ʲô"undefined reference to `SDL_EnableKeyRepeat'"ô죿</DT>
  <DD>ASDLװ װ/usr/local(ĬĿ¼)ô༭config.mak"X_LIBS="֮"-L/usr/local/lib"ڴmake㶨ˣ</DD>
  <DD>&nbsp;</DD>

  <DT>Qܱ룬Ҳuint64_t inttypes.h֮Ķ...</DT>
  <DD>Aetc/inttypes.hƵMPlayerĿ¼(<CODE>cp etc/inttypes.h .</CODE>)Ȼһ...</DD>
  <DD>&nbsp;</DD>

  <DT>QPentium IIILinux<CODE>./configure </CODE>ûҵSSE...</DT>
  <DD>Aֻ2.4.xں֧SSE(2.2.19µİ汾׼ó)</DD>
  <DD>&nbsp;</DD>

  <DT>QG200G400αʹmga_vid</DT>
  <DD>AĶ<A HREF="video.html#mga_vid">mga_vidĵ</A></DD>
  <DD>&nbsp;</DD>

  <DT>QMPlayerrpm/deb/...֮İװ</DT>
  <DD>AԼ.debװ<A HREF="documentation.html#debian">Debianװ</A>һڡ
վ<A HREF="http://www.mplayerhq.hu/homepage/dload.html">ҳ</A>йٷRed HatRPMӡ</DD>
  <DD>&nbsp;</DD>

  <DT>Q'make'ʱMPlayerûX11⡣Ҳ⣬ȷʵװX</DT>
  <DD>A...ûװXĿûȷװRed HatXFree86-devel*Debianxlibs-dev
ҲǷ<CODE>/usr/X11</CODE><CODE>/usr/include/X11</CODE>ķ(MandrakeϵͳϿ)
<BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6 /usr/X11</CODE><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>$ ln -sf /usr/X11R6/include/X11 /usr/include/X11</CODE><BR>
    ķаܲ<A HREF="http://www.pathname.com/fhs/">ļϵͳα׼</A></DD>
  <DD>&nbsp;</DD>

  <DT>QҲܱSVGAlibʹ2.3/2.4ں...</DT>
  <DD>A༭SVGAlibMakefile.cfg<CODE>BACKGROUND = y</CODE>ע͵</DD>
  <DD>&nbsp;</DD>

  <DT>QҵMPlayerlibdvdcss/libdivxdecore֧֣ǵͼʱ˵<BR>
    <CODE>&gt; error while loading shared libraries: lib*.so.0: cannot load
    shared object file: No such file or directory</CODE><BR>
    Ҽļȷʵ<CODE>/usr/local/lib</CODE>...</DT>
  <DD>A<CODE>/etc/ld.so.conf</CODE><CODE>/usr/local/lib</CODE>Ȼ<CODE>ldconfig</CODE></DD>
  <DD>&nbsp;</DD>

  <DT>QHmm֡Ҽmga_vid.oںģlogҵ<BR>
    <CODE>Warning: loading mga_vid.o will taint the kernel: no license</CODE></DT>
  <DD>AµںmodutilsҪһ֤ı(ҪںhackersԷǿԴ)ںˣ
modutilsMPlayer</DD>
  <DD>&nbsp;</DD>

    <DT>QMEncoderУʱsegfaults</DT>
    <DD>Aӳ⡣binutilsӦ(2.11.92.*߸°汾Ӧò)ǵ⣬
һ<B>Ҫ</B>棡</DD>
    <DD>&nbsp;</DD>

    <DT>QMPlayerpthread checkʱΪsegmentation fault</DT>
    <DD>Achmod 644 /usr/lib/libc.so</DD>
    <DD>&nbsp;</DD>

    <DT>QMinixϱMPlayer</DT>
    <DD>AҲ롣:)</DD>

</DL>


<H2><A NAME="general">5.2 һ</A></H2>

<DL>

  <DT>Q: ôMPlayerʵIJ</DT>
  <DD>A: һ<A HREF="../tech/patches.txt">Сļ</A>бҪϸڡIJ</DD>
  <DD>&nbsp;</DD>

  <DT>Q: ô֧MPlayerĿ</DT>
  <DD>A: ǷdzڽӲ<A HREF="http://www.mplayerhq.hu/homepage/donations.html"></A>
ܰdzĸĽMPlayer</DD>
  <DD>&nbsp;</DD>

  <DT>Q: ôΪMPlayerĿߣ</DT>
  <DD>A: ǻӭдĺдĵġĶ<A HREF="../tech/">ĵ</A>и˽⡣ȻӦö<A
  HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</A>ʼбʼ̡</DD>
  <DD>&nbsp;</DD>

  <DT>QͬʱжMPlayerʵ</DT>
  <DD>AǵġЩƵxvdga(x)mgaΨһģ㽫ܹгһʹƵMPlayerʵ
ƵҲڲǺصij̶ϴ⡣еͬ豸ϲŶ</DD>
  <DD>&nbsp;</DD>

  <DT>QϽһʱôȥ</DT>
  <DD>A<CODE>o</CODE>ʹ<CODE>-osdlevel</CODE>ѡ</DD>
  <DD>&nbsp;</DD>

  <DT>Q<CODE>-xy</CODE><CODE>-fs</CODE>ѡx11(<CODE>-vo x11</CODE>)...</DT>
  <DD>Aã<CODE>-zoom</CODE>ѡȷָʹ(ʮֻ)ʹXF86VidMode֧֣
ָ<CODE>-vm</CODE><CODE>-fs</CODE>ѡȻ͸㶨ˡȷXF86Configļȷ趨modelinesҳʹ<A
HREF="video.html#dga">DGA</A>Լ<A HREF="video.html#sdl">SDLDGA</A>öࡣSDLDGAܹҪ졣</DD>
  <DD>&nbsp;</DD>

  <DT>Q״̬ϵֵʲô˼</DT>
  <DD>A磺
    <CODE>A: 2.1  V: 2.2  A-V: -0.167  ct: 0.042  57/57  41%  0%  2.6% 0 4 49%</CODE>
    <UL>
      <LI>AƵλ</LI>
      <LI>VƵλ</LI>
      <LI>A-VƵƵλò(ӳ)</LI>
      <LI>ctɵA-Vͬ</LI>
      <LI>ŵ֡(һʼ)</LI>
      <LI>֡(һʼ)</LI>
      <LI>Ƶռõcpuİٷֱ(sliceDRƵռ)</LI>
      <LI>Ƶcpuռ</LI>
      <LI>Ƶռõcpuİٷֱ</LI>
      <LI>ΪA-Vͬ֡</LI>
      <LI>Ŀǰͼļ(ʹ<CODE>-autoq</CODE>ʱ)</LI>
      <LI>ǰcacheʹ(Լ50%)</LI>
    </UL>
    дΪ˵Եģʵʱȥ</DD>
  <DD>&nbsp;</DD>

  <DT>QҲҪdzô죿</DT>
  <DD>Aʹ<CODE>-quiet</CODE>ѡĶman page</DD>
  <DD>&nbsp;</DD>

  <DT>QΪʲôЩļƵcpuռ(0%)</DT>
  <DD>A1㣬ɽõIJܱӦ<CODE>-vo null</CODE>ļȻ<CODE>-vo ...</CODE>ţ
ǵIJͬ鿴Ƶٶȡ</DD>
  <DD>A2ʹֱȾɽԼȾԴ档£ռõİٷֱҲʾռõİٷֱȡ</DD>
  <DD>&nbsp;</DD>

  <DT>Qֹ<CODE>/usr/lib/win32/</CODE>ҲļĴ...</DT>
  <DD>Aǵ<AHREF="http://www.mplayerhq.hu/MPlayer/releases/codecs/">ҳ</A>Win32
(avifileĽDLLһ)װ</DD>
  <DD>&nbsp;</DD>

  <DT>QйMPlayerʼб</DT>
  <DD>Aеġǵҳ<A HREF="http://www.mplayerhq.hu/homepage/info.html">Ϣҳ</A>ĵײġ</DD>
  <DD>&nbsp;</DD>

  <DT>QͼϲƵʱҷһbugӦñ˭</DT>
  <DD>AĶ<A HREF="bugreports.html">bugָ</A>IJ</DD>
  <DD>&nbsp;</DD>

  <DT>Q...ļʱ⡣ʹ</DT>
  <DD>A<A HREF="http://www.mplayerhq.hu/DOCS/codecs-status.html">״̬</A>Ľ
Ķ<A HREF="codecs.html">ļ</A>ر<A HREF="codecs.html#importing">HOWTO</A>Ȼϵǡ</DD>
  <DD>&nbsp;</DD>

  <DT>QUmm"IdegCounter"ʲô</DT>
  <DD>AӢĽϡ"Ideg"ʵ˼ڡydaeghA'rpiʣ
һЩCVSĴ(umm)صġʧ֮)</DD>
  <DD>&nbsp;</DD>

  <DT>Q"Faszom(C)ounter"ʲô</DT>
  <DD>AFasz㲻Ҫ֪ʻ㣬ĸMPlayerǵаԴйء</DD>
  <DD>&nbsp;</DD>

  <DT>QLIRCΪ...</DT>
  <DD>Aȷʹõ<CODE>mplayer</CODE><CODE>mplayer-lirc</CODE> ע⣬<CODE>mplayer_lirc</CODE>
ʹ˺ܳʱ䣬0.60ķа棬ֱ<CODE>mplayer</CODE>ˡ</DD>
  <DD>&nbsp;</DD>

  <DT>QĻdzҼƯģǽͲٶȣ Dzܵ...</DT>
  <DD>A<CODE>./configure</CODE>֮󣬱༭<CODE>config.h</CODE><CODE>#undef FAST_OSD</CODE>
<CODE>#define FAST_OSD</CODE>Ȼ±롣</DD>
  <DD>&nbsp;</DD>

  <DT>Qonscreen display(OSD)ͣ˸</DT>
  <DD>Aʹõvo(x11,xv)xvʹ<CODE>-double</CODE>ѡҲ<CODE>-vf expand</CODE></DD>
  <DD>&nbsp;</DD>

  <DT>Qlibavcodecֶʲô</DT>
  <DD>Aμ<A HREF="codecs.html#libavcodec">libavcodec</A>һڡ</DD>
  <DD>&nbsp;</DD>

  <DT>QConfigure"Checking for libavcodec ... no"</DT>
  <DD>AҪFFmpegCVSлlibavcodecĶ<A HREF="codecs.html#libavcodec">libavcodec</A>˵</DD>
  <DD>&nbsp;</DD>

  <DT>QIcewmȫʱסӰ</DT>
  <DD>AⲻӦٷˣȷʵȻʹ<CODE>-fstype layer</CODE>ѡ<A
HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>ʼб档</DD>
  <DD>&nbsp;</DD>

  <DT>QҲܷGUI˵ҰҼҲܷκβ˵</DT>
  <DD>AʹõFVWM з<BR>
    Start -&gt; Settings -&gt; Configuration -&gt; Base Configuration<BR>
    "Use Applications position hints"Ϊ"Yes"</DD>
  <DD>&nbsp;</DD>

  <DT>Qں̨MPlayer</DT>
  <DD>A÷<CODE>mplayer &lt;options&gt; &lt;filename&gt; &lt; /dev/null &amp;</CODE></DD>

</DL>


<H2><A NAME="playback">5.3 </A></H2>

<DL>

  <DT>QܲijЩAVIļֳϢ
    <PRE>
    Detected audio codec: [divx] afm:4 (DivX audio (WMA))
    Requested audio codec family [divx] (afm=4) not available (enable it at
    compile time!)
    </PRE>
  </DT>
  <DD>AļƵʹһMPlayerֵ֧ĽREADME<A HREF="documentation.html#installation">
װ</A>е˵װWin32</DD>
  <DD>&nbsp;</DD>

  <DT>Q...avifile/aviplayܹMPlayerܡ</DT>
  <DD>AMPlayeravifile֮ΨһĹ֮ͬWin32 DLLװcodecs(DLL)ͬźŷȵȫͬ
ԲӦñȽϡʲôaviplayŲζMPlayerܹ֮Ȼ</DD>
  <DD>&nbsp;</DD>

  <DT>QAVIļʱƵͬ</DT>
  <DD>A<CODE>-bps</CODE><CODE>-nobps</CODE>ѡûиƣĶ<A HREF="bugreports.html">
</A>ļصFTPϡ</DD>
  <DD>&nbsp;</DD>

  <DT>QMPlayerʹl3codeca.acmʱΪһЩ˳</DT>
  <DD>A<CODE>ldd /usr/local/bin/mplayer</CODE><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 =&gt; /lib/libc.so.6 (0x4???????)</CODE><BR>
    "?"ֱʾû⣬ǣ<BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>libc.so.6 =&gt; /lib/libc.so.6 (0x00??????)</CODE><BR>
    Ǿͱʾں/libc⡣ʹһЩȫ(Solar DesignerOpenWall)ǿȰѿصܵ͵ڴַ
Ϊl3codeca.acmDz¶λDLL뱻ص0x00400000ûıӦʹûд򲹶ĺģ
ʹMPlayer<CODE>-afm 1</CODE>ѡl3codeca.acm</DD>
  <DD>&nbsp;</DD>

  <DT>QҵĵԲŷֱ640x300mp3M$ DivX AVIļʱdzʹ-nosoundѡʱһ(û)</DT>
  <DD>AĻ̫ˡĵǷܡ</DD>
  <DD>&nbsp;</DD>

  <DT>QMPlayer"MPlayer interrupted by signal 4 in module: decode_video"</DT>
  <DD>AMPlayerĻ±ʱCPU⹦(<CODE>./configure --enable-runtime-cpudetection</CODE>)
ûʹᵽԣҪͬCPUʹMPlayer</DD>
  <DD>&nbsp;</DD>

  <DT>Qи[your window manager]xv/xmga/sdl/x11ģʽȫ...</DT>
  <DD>Aȡǵ<A HREF="bugreports.html">bugָ</A>һȷbug</DD>
  <DD>&nbsp;</DD>

  <DT>QҲMPEGļʱĴ Can't find codec for video format 0x10000001!</DT>
  <DD>A<CODE>~/.mplayer/</CODE>µcodecs.confİ汾̫ɡ<CODE>/etc/</CODE>ļ<BR>
    <B></B>ļа<CODE>vc=</CODE>ѡƶ</DD>
  <DD>&nbsp;</DD>

  <DT>QKDEµMPlayerֻһɫĻʲôûСڴԼһ֮ſʼƵ</DT>
  <DD>AKDEartsػ̻豸һֱȵƵʼڿнartsʹartsƵ
ƵָΪDZصartsƵ<CODE>-ao arts</CODE>)ʧܻûбSDL
(<CODE>-ao sdl</CODE>)ȷSDLܴartsƵһѡartsdspMPlayer</DD>
  <DD>&nbsp;</DD>

  <DT>QһAVIļ<CODE>-vc odivx</CODE>ʱʱֻɫĻ<CODE>-vc divx4</CODE>ʱɫĻ</DT>
  <DD>AⲻDivXļM$ MPEG4v3codecs.conf</DD>
  <DD>&nbsp;</DD>

  <DT>QҲŵӰʱƵƵͬ/MPlayerϢ<BR>
    <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></DT>
  <DD>Aкܶԭ
    <UL>
      <LI>CPU<B>/</B>Կ<B>/</B>̫MPlayerʾϢ(ҵ֡Ѹ)</LI>
      <LI>AVIļҲĽ⡣<CODE>-ni</CODE>ѡ</LI>
      <LI>̫buggyALSA 0.5ʹ<CODE>-ao oss</CODE>
        μ<A HREF="sound.html"></A></LI>
      <LI>AVIļͷ⣬<CODE>-nobps</CODE>ѡ/<CODE>-mc 0</CODE></LI>
    </UL></DD>
  <DD>&nbsp;</DD>

  <DT>QиMJPEGļŵMPlayerֻʾһɫͼ</DT>
  <DD>A<CODE>codecs.conf</CODE>нWindows DLLʹ<CODE>-vc ffmjpeg</CODE>ѡ(ΪҪΪMPlayerlibavcodec֧)</DD>
  <DD>&nbsp;</DD>

  <DT>Qͼҵĵѡ̨ȡʱܹɫ֡û⡣</DT>
  <DD>AĿƬпܴ󱨸ɫʿռYUY2ȱʡYV12(<A HREF="documentation.html#tv">ĵ</A>)</DD>
  <DD>&nbsp;</DD>

  <DT>QÿҿʼǣϢһƺ<BR>
    <CODE>Linux RTC init: ioctl (rtc_pie_on): Permission denied</CODE></DT>
  <DD>AҪrootȨ޻һ趨ںʹüʱ롣ϸڲμĵ<A HREF="documentation.html#rtc">RTC</A></DD>
  <DD>&nbsp;</DD>

  <DT>Qҵͬ⡣һЩAVIţһЩȴ˫ٶȲţ</DT>
  <DD>A/buggyпĹ̶44100Hzͼ22050HzƵļresampleƵ˾</DD>
  <DD>&nbsp;</DD>

  <DT>QҲWMV (.. )ļʱֻһɫ/ɫĴں MPlayer棺<BR>
    <CODE>Detected video codec: [null] drv:0 (NULL codec (no decoding))</CODE></DT>
  <DD>A<CODE>codecs.conf</CODE></DD>
  <DD>&nbsp;</DD>

  <DT>QҵıʼDZļʱõʮֵCPUٷֵ(̫)</DT>
  <DD>AıʼDZĵԴ/ϵͳ(BIOSں)Ӱ졣ıʼDZ<B>֮ǰ</B>ⲿԴҲ<A
HREF="http://www.brodo.de/cpufreq/">cpufreq</A>(һLinuxµSpeedStep)Ƿа</DD>
  <DD>&nbsp;</DD>

  <DT>QrootȨҵıʼDZMPlayerʱƵƵȫͬΪͨûʱ</DT>
  <DD>A⻹ǵԴĽ()ıʼDZ<B>֮ǰ</B>ⲿԴʹ<CODE>-nortc</CODE>ѡ</DD>
  <DD>&nbsp;</DD>

  <DT>Q: һӰʱͻȻԾҳϢ:<BR>
    <CODE>Badly interleaved AVI file detected - switching to -ni
    mode...</CODE>
  <DD>A: Ľļܺ<CODE>-cache</CODE>ѡЭͬ. <CODE>-nocache</CODE>.</DD>
  <DD>&nbsp;</DD>

</DL>


<H2><A NAME="driver">5.4 ƵƵ(vo/ao)</A></H2>

<DL>

  <DT>QҲƵʱûҵõijϢ
    <PRE>
    AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
    audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    couldn't open/init audio device -&gt; NOSOUND
    Audio: no sound!!!
    Start playing...
    </PRE>
  </DT>
  <DD>AеKDEGNOMEARTSESDƵػ ԽƵػ̣ʹ<CODE>-ao arts</CODE>
<CODE>-ao esd</CODE>ѡMPlayerʹARTSESD</DD>
  <DD>&nbsp;</DD>

  <DT>QDGAôˣ Ҳ</DT>
  <DD>A<CODE>./configure</CODE>ԶDGA<CODE>-vo help</CODE>ûʾDGAXװ⡣
<CODE>./configure --enable-dga</CODE>Ҷȡ<A HREF="video.html#dga">ĵ</A>ߣʹ<CODE>-vo sdl:dga</CODE>
ѡSDLDGA</DD>
  <DD>&nbsp;</DD>

  <DT>Qܺã<CODE>-vo help</CODE>ʾDGAԹȨޡң</DT>
  <DD>AֻrootȨ޹ DGAơӦóΪroot(<CODE>su -</CODE>)ȻһΡһΪ
MPlayerSUID rootַ<B>Ƽ</B><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chown root /usr/local/bin/mplayer</CODE><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod 755 /usr/local/bin/mplayer</CODE><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>chmod +s /usr/local/bin/mplayer</CODE><BR>
    <BLOCKQUOTE>
      <B>棺ȫ</B><BR>
      һ<B>ܴ</B>ȫգ<B>ԶҪ</B>ڳ֮⻹˿ʹõķΪͨSUID root
MPlayerrootȨޡ<B>㱻ˡ</B>
    </BLOCKQUOTE>
  </DD>
  <DD>&nbsp;</DD>

  <DT>QʹXvideoʱҵVoodoo 3/Banshee˵<BR>
    <CODE>X Error of failed request:  BadAccess (attempt to access private
    resource denied)<BR>
    &nbsp;&nbsp;Major opcode of failed request:  147 (MIT-SHM)<BR>
    &nbsp;&nbsp;Minor opcode of failed request:  1 (X_ShmAttach)<BR>
    &nbsp;&nbsp;Serial number of failed request:  26<BR>
    &nbsp;&nbsp;Current serial number in output stream:27</CODE></DT>
  <DD>AXFree86 4.0.2/4.0.3ġtdfxbugѾ<A
HREF="http://www.xfree86.org/cvs/changes_4_1.html">bugfix #621 of the XFree86 4.1.0 CVS log</A>ˣXFree86
4.1.0߸µİ汾ߣҪôǴ<A HREF="http://dri.sourceforge.net">DRIҳ</A>()0.6汾DRIҪô
ʹCVSDRI</DD>
  <DD>&nbsp;</DD>

  <DT>QOpenGL(<CODE>-vo gl</CODE>)(/ɫ/X11/...)</DT>
  <DD>AOpenGLֶ֧̬ʸ(glTexSubImage)֪nVidiaĶƵļһϲͬʱҲ֪Utah-GLX/DRI
Matrox G400ԿܹRadeonԿDRIҲСԿDRIСͬ3DFXԿϹΪ256x256ʴСơ</DD>
  <DD>&nbsp;</DD>

  <DT>QһnVidia TNT/TNT2ԿҵĵӰһɫֵĴӣ ʲôϣ</DT>
  <DD>AnVidiaXһbugЩbugTNT/TNT2ԿϣʲôҲɲˡҪ⣬°汾nVidiaƵ
ȻУnVidiaԹȥɣ</DD>
  <DD>&nbsp;</DD>

  <DT>QʹnVidia XYZԿҵʾGUIʾGUIʱҵĵطһɫ顣Ұװµ</DT>
  <DD>AûnVidiaһĴ()µbugףǡ£<A
HREF="users_against_developers.html#nvidia">nVidia</A>˵Ѿˡ</DD>
  <DD>&nbsp;</DD>

  <DT>QʹGUIʱʹSDLƵᴴڶƵڡ</DT>
  <DD>A֪ĿǰGUIʹSDL</DD>
  <DD>&nbsp;</DD>

  <DT>QDzп... SDLֻ<CODE>x11</CODE><CODE>xv</CODE></DT>
  <DD>Aһ<CODE>x11</CODE>ڳ<CODE>-vo x11 -fs -zoom</CODE>ˣûУãSDL<CODE>x11</CODE>
ֻҪxvþͻʹxv㲻Ϊ...ע⣺ʹ<CODE>-forcexv</CODE><CODE>-noxv</CODE>ǿ/SDLʹxv</DD>
  <DD>&nbsp;</DD>

</DL>


<H2><A NAME="dvd">5.5 DVD</A></H2>

<DL>

  <DT>Q: ûDVD˵</DT>
  <DD>A: MPlayerеdvdnav֧ĿǰˣIJſԹҪIJ˵ҪʹñIJ<A
  HREF="http://xine.sourceforge.net">xine</A><A HREF="http://www.dtek.chalmers.se/groups/dvd/">Ogle</A>
ȷʵҪDVDһ<A HREF="../tech/patches.txt"></A>.</DD>
  <DD>&nbsp;</DD>

  <DT>QDVDʱ<BR>
    <CODE>mplayer: ifo_read.c:1143: ifoRead_C_ADT_internal: Assertion
    nfo_length / sizeof(cell_adr_t) &gt;= c_adt-&gt;nr_of_vobs' failed.</CODE></DT>
  <DD>A֪libdvdread 0.9.1/0.9.2bugʹ<B>libmpdvdkit2</B>MPlayerԴУȱʡʹ</DD>
  <DD>&nbsp;</DD>

  <DT>QҵSolarisµĿɰSPARCϱlibdvdreadlibdvdcss</DT>
  <DD>A֪...˵ܹṩҲlibdvdreadļҳDzlibdvdreadߡʹ<B>libmpdvdkit2</B>
MPlayerԴУȱʡʹá</DD>
  <DD>&nbsp;</DD>

  <DT>QĻô MPlayerʾ</DT>
  <DD>Aǡμĵ<A HREF="cd-dvd.html#dvd">DVD</A>֡</DD>
  <DD>&nbsp;</DD>

  <DT>QôҵDVDĵ룿 ûWindows</DT>
  <DD>Aʹ<A HREF="http://www.linuxtv.org/download/dvd/dvd_disc_20000215.tar.gz">regionset</A></DD>
  <DD>&nbsp;</DD>

  <DT>QһҪ(setuid) root/setuid fibmap_mplayerDVD</DT>
  <DD>AֻʽDVD֧֡ȻзDVD豸ʵȨ(<CODE>/dev/</CODE>)</DD>
  <DD>&nbsp;</DD>

  <DT>Qʲôطҵlibdvdreadlibdvdcss</DT>
  <DD>A㲻Ҫʹ<B>libmpdvdkit2</B>MPlayerԴУȱʡʹáЩܴ<A
HREF="http://www.dtek.chalmers.se/groups/dvd">Ogleվ</A>õ</DD>
  <DD>&nbsp;</DD>

  <DT>QԵ/ѡchapter</DT>
  <DD>Aԣ<CODE>-chapter</CODE>ѡ</DD>
  <DD>&nbsp;</DD>

  <DT>QҵDVDطҪ</DT>
  <DD>Aʹ<CODE>-cache</CODE>ѡ(man pageн)hdparmΪDVDDMA(ĵ<A
HREF="cd-dvd.html#cd">CD</A>н)</DD>
  <DD>&nbsp;</DD>

</DL>


<H2><A NAME="features">5.6 Ҫ</A></H2>

<DL>

  <DT>Q<B>MPlayer</B>֮ͣͼ߰<B>MPlayer</B>ֹͣͣԸܹͣʱڵӰ</DT>
  <DD>AڲʧȥA/VͬʵܡΪֹгԶʧˣܻӭġ</DD>
  <DD>&nbsp;</DD>

  <DT>QҪ+/- 1֡10롣</DT>
  <DD>Aⲻᱻʵ֡ʵֹŪA/VͬԸʵҷͲҪҪ</DD>
  <DD>&nbsp;</DD>

  <DT>QWindows汾</DT>
  <DD>AûзУҽҲᡣWindows(ԴASFԴASFȵ)Ȼ֪Ϊʲôˡ
Dz˳˵һ£Լ<A HREF="documentation.html#cygwin">Cygwin</A>¡</DD>
  <DD>&nbsp;</DD>

</DL>


<H2><A NAME="encoding">5.7 </A></H2>

<DL>

  <DT>Qô룿</DT>
  <DD>AȡMEncoder<A HREF="encoding.html">ĵ</A></DD>
  <DD>&nbsp;</DD>

  <DT>QôVCD</DT>
  <DD>A<CODE>TOOLS</CODE>Ŀ¼µ<CODE>mencvcd</CODE>űʹܰDVDӰΪVCDSVCDʽ
ֱӰǿ̵CDϡ</DD>
  <DD>&nbsp;</DD>

  <DT>Q: ôϲƵļ</DT>
  <DD>A: mplayer-usersĻ⡣<A
HREF="http://mplayerhq.hu/cgi-bin/htsearch?restrict=/mplayer-users/">ʼĵ</A>ѰĴ𰸡
Ǹӵ⣬IJΪҪϲļкֱܴMPEGֱӳһļ
AVIõĹ<A HREF="http://fixounet.free.fr/avidemux/">avidemux</A>avimerge(<A
HREF="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">transcode</A>߼һ)
ܿļʹͬķֱʺͱҲMEncoder<BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>cat file1 file2 &gt; file3</CODE><BR>
    &nbsp;&nbsp;&nbsp;&nbsp;<CODE>mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi</CODE></DD>
  <DD>&nbsp;</DD>
  <DT>Qҵĵѡ̨MPlayerۿƵMEncoderƵ룡</DT>
  <DD>ALinuxĵƵĿǰûʵ֣ŬĿǰֻBSDϹ</DD>
  <DD>&nbsp;</DD>

  <DT>QҲܰDVDĻAVI</DT>
  <DD>Aȷ趨<CODE>-sid</CODE>ѡ</DD>
  <DD>&nbsp;</DD>

  <DT>QMEncoderʱsegfaults</DT>
  <DD>ADivX4Linux</DD>
  <DD>&nbsp;</DD>

  <DT>QνһDVDѡchapterб룿</DT>
  <DD>Aȷʹ<CODE>-chapter</CODE>ѡ
    <CODE>-chapter 5-7</CODE></DD>
  <DD>&nbsp;</DD>

  <DT>QͼVFATļϵͳϴ2GB+ļ</DT>
  <DD>AVFAT֧2GB+ļ</DD>
  <DD>&nbsp;</DD>

  <DT>QΪʲôMEncoderʾƼʶǸģ</DT>
  <DD>AΪƵı̫κCDϲڵӰǷȷװlibmp3lame</DD>
  <DD>&nbsp;</DD>

</DL>

</BODY>
</HTML>