Mercurial > mplayer.hg
comparison DOCS/xml/en/codecs.xml @ 9720:5cd40fe6ba7e
Updated XviD CVS instructions by Dmitry Baryshkov <lumag@qnc.ru>.
correct spelling of XviD + small corrections
author | diego |
---|---|
date | Sat, 29 Mar 2003 01:45:21 +0000 |
parents | c70001c8bde9 |
children | 286ac03ce5c5 |
comparison
equal
deleted
inserted
replaced
9719:aab550eb05e3 | 9720:5cd40fe6ba7e |
---|---|
399 </para></note> | 399 </para></note> |
400 </sect3> | 400 </sect3> |
401 | 401 |
402 | 402 |
403 <sect3 id="xvid"> | 403 <sect3 id="xvid"> |
404 <title>XViD</title> | 404 <title>XviD</title> |
405 | 405 |
406 <para> | 406 <para> |
407 <ulink url="http://www.xvid.org">XViD</ulink> is a forked development of the | 407 <ulink url="http://www.xvid.org">XviD</ulink> is a forked development of the |
408 OpenDivX codec. It happened when ProjectMayo changed OpenDivX to closed source | 408 OpenDivX codec. It happened when ProjectMayo changed OpenDivX to closed source |
409 DivX4 (now DivX5), and the non-ProjectMayo people working on OpenDivX got angry, | 409 DivX4 (now DivX5), and the non-ProjectMayo people working on OpenDivX got angry, |
410 then started XViD. So both projects have the same origin. | 410 then started XviD. So both projects have the same origin. |
411 | 411 |
412 <itemizedlist> | 412 <itemizedlist> |
413 <title>ADVANTAGES</title> | 413 <title>ADVANTAGES</title> |
414 <listitem><simpara> | 414 <listitem><simpara> |
415 open source | 415 open source |
432 currently it does not properly <emphasis role="bold">decode</emphasis> all | 432 currently it does not properly <emphasis role="bold">decode</emphasis> all |
433 DivX/DivX4 files (no problem as <link linkend="ffmpeg">libavcodec</link> | 433 DivX/DivX4 files (no problem as <link linkend="ffmpeg">libavcodec</link> |
434 can play them) | 434 can play them) |
435 </simpara></listitem> | 435 </simpara></listitem> |
436 <listitem><simpara> | 436 <listitem><simpara> |
437 you have to choose between DivX4 <emphasis role="bold">or</emphasis> XViD | 437 you have to choose between DivX4 <emphasis role="bold">or</emphasis> XviD |
438 support at compiletime | 438 support at compiletime |
439 </simpara></listitem> | 439 </simpara></listitem> |
440 <listitem><simpara> | 440 <listitem><simpara> |
441 under development | 441 under development |
442 </simpara></listitem> | 442 </simpara></listitem> |
444 </para> | 444 </para> |
445 | 445 |
446 <procedure> | 446 <procedure> |
447 <title>INSTALLING XVID CVS</title> | 447 <title>INSTALLING XVID CVS</title> |
448 <para> | 448 <para> |
449 It is currently available only from CVS. Here are the download and | 449 It is currently available only from CVS. Here are download and installation |
450 installation instructions: | 450 instructions (you need at least autoconf 2.50, automake and libtool): |
451 </para> | 451 </para> |
452 <step><para> | 452 <step><para> |
453 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen> | 453 <screen>cvs -z3 -d:pserver:anonymous@cvs.xvid.org:/xvid login</screen> |
454 </para></step> | 454 </para></step> |
455 <step><para> | 455 <step><para> |
457 </para></step> | 457 </para></step> |
458 <step><para> | 458 <step><para> |
459 <screen>cd xvidcore/build/generic</screen> | 459 <screen>cd xvidcore/build/generic</screen> |
460 </para></step> | 460 </para></step> |
461 <step><para> | 461 <step><para> |
462 Edit <filename>MakeFile</filename> for your architecture (probably | 462 <screen>./bootstrap.sh</screen> |
463 <filename>Makefile.linuxx86</filename>) to fit your needs. | 463 </para></step> |
464 </para></step> | 464 <step><para> |
465 <step><para> | 465 <screen>./configure</screen> |
466 <screen>make -f Makefile.linux</screen> | 466 You may have to add some options (examine the output of |
467 </para></step> | 467 <screen>./configure --help</screen>). |
468 <step><para> | 468 </para></step> |
469 Copy <filename>divx4.h</filename> and <filename>xvid.h</filename> from | 469 <step><para> |
470 <screen>make && make install</screen> | |
471 </para></step> | |
472 <step><para> | |
473 If you specified <option>--enable-divxcompat</option>, | |
474 copy <filename>../../src/divx4.h</filename> to | |
470 <filename class="directory">/usr/local/include/</filename>. | 475 <filename class="directory">/usr/local/include/</filename>. |
471 </para></step> | 476 </para></step> |
472 <step><para> | 477 <step><para> |
473 Get <filename>encore2.h</filename> and <filename>decore.h</filename> from | |
474 the DivX4Linux package, and copy them to | |
475 <filename class="directory">/usr/local/include/</filename>. | |
476 </para></step> | |
477 <step><para> | |
478 Recompile <application>MPlayer</application> with | 478 Recompile <application>MPlayer</application> with |
479 <option>--with-xvidcore=<replaceable>/path/to/libxvidcore.a</replaceable></option>. | 479 <option>--with-xvidcore=<replaceable>/path/to/</replaceable>libxvidcore.a</option>. |
480 </para></step> | 480 </para></step> |
481 </procedure> | 481 </procedure> |
482 </sect3> | 482 </sect3> |
483 | 483 |
484 | 484 |