1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter5.Frequently Asked Questions</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="index.html" title="MPlayer - The Movie Player"><link rel="prev" href="vcd.html" title="4.3.VCD playback"><link rel="next" href="containers.html" title="Chapter6.Containers"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter1.Introduction"><link rel="chapter" href="install.html" title="Chapter2.Installation"><link rel="chapter" href="usage.html" title="Chapter3.Usage"><link rel="chapter" href="cd-dvd.html" title="Chapter4.CD/DVD usage"><link rel="chapter" href="faq.html" title="Chapter5.Frequently Asked Questions"><link rel="chapter" href="containers.html" title="Chapter6.Containers"><link rel="chapter" href="codecs.html" title="Chapter7.Codecs"><link rel="chapter" href="video.html" title="Chapter8.Video output devices"><link rel="chapter" href="audio.html" title="Chapter9.Audio output devices"><link rel="chapter" href="tv.html" title="Chapter10.TV"><link rel="chapter" href="radio.html" title="Chapter11.Radio"><link rel="chapter" href="ports.html" title="Chapter12.Ports"><link rel="chapter" href="mencoder.html" title="Chapter13.Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter14.Encoding with MEncoder"><link rel="appendix" href="bugreports.html" title="AppendixA.How to report bugs"><link rel="appendix" href="bugs.html" title="AppendixB.Known bugs"><link rel="appendix" href="skin.html" title="AppendixC.MPlayer skin format"><link rel="appendix" href="history.html" title="AppendixD.History"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter5.Frequently Asked Questions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="vcd.html">Prev</a></td><th width="60%" align="center"></th><td width="20%" align="right"><a accesskey="n" href="containers.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="faq"></a>Chapter5.Frequently Asked Questions</h2></div></div></div><div class="qandaset"><dl><dt>5.1. <a href="faq.html#faq-development">Development</a></dt><dd><dl><dt>Q: <a href="faq.html#id2538492">
How do I create a proper patch for MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2540768">
How do I translate MPlayer to a new language?
</a></dt><dt>Q: <a href="faq.html#id2540801">
How can I support MPlayer development?
</a></dt><dt>Q: <a href="faq.html#id2540833">
How can I become an MPlayer developer?
</a></dt><dt>Q: <a href="faq.html#id2540875">
Why don't you use autoconf/automake?
</a></dt></dl></dd><dt>5.2. <a href="faq.html#faq-compilation-installation">Compilation and installation</a></dt><dd><dl><dt>Q: <a href="faq.html#id2540908">
Compilation fails with an error and gcc bails out
with some cryptic message containing the phrase
internal compiler error or
unable to find a register to spill.
</a></dt><dt>Q: <a href="faq.html#id2540963">
Are there binary (RPM/Debian) packages of MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2540997">
How can I build a 32 bit MPlayer on a 64 bit Athlon?
</a></dt><dt>Q: <a href="faq.html#id2541023">
Configure ends with this text, and MPlayer won't compile!
Your gcc does not support even i386 for '-march' and '-mcpu'
</a></dt><dt>Q: <a href="faq.html#id2541056">
I have a Matrox G200/G400/G450/G550, how do I compile/use the
mga_vid driver?
</a></dt><dt>Q: <a href="faq.html#id2541082">
During 'make', MPlayer complains about
missing X11 libraries. I don't understand, I do
have X11 installed!?
</a></dt><dt>Q: <a href="faq.html#id2541143">
Building on Mac OS 10.3 leads to several link errors</a></dt></dl></dd><dt>5.3. <a href="faq.html#faq-general">General questions</a></dt><dd><dl><dt>Q: <a href="faq.html#id2541252">
Are there any mailing lists on MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2541278">
I've found a nasty bug when I tried to play my favorite video! Who should I inform?
</a></dt><dt>Q: <a href="faq.html#id2541300">
I have problems playing files with the ... codec. Can I use them?
</a></dt><dt>Q: <a href="faq.html#id2541336">
When I start playing, I get this message but everything seems fine:
Linux RTC init: ioctl (rtc_pie_on): Permission denied
</a></dt><dt>Q: <a href="faq.html#id2541366">
How can I make a screenshot?
</a></dt><dt>Q: <a href="faq.html#id2541414">
What is the meaning of the numbers on the status line?
</a></dt><dt>Q: <a href="faq.html#id2541623">
There are error messages about file not found /usr/local/lib/codecs/ ...
</a></dt><dt>Q: <a href="faq.html#id2541649">
How can I make MPlayer remember the options I
use for a particular file, e.g. movie.avi?
</a></dt><dt>Q: <a href="faq.html#id2541690">
Subtitles are very nice, the most beautiful I've ever seen, but they
slow down playing! I know it's unlikely ...
</a></dt><dt>Q: <a href="faq.html#id2541728">
I can't access the GUI menu. I press right click, but I can't
access any menu items!
</a></dt><dt>Q: <a href="faq.html#id2541771">
How can I run MPlayer in the background?
</a></dt></dl></dd><dt>5.4. <a href="faq.html#faq-playback">Playback problems</a></dt><dd><dl><dt>Q: <a href="faq.html#id2541814">
I cannot pinpoint the cause of some strange playback problem.
</a></dt><dt>Q: <a href="faq.html#id2541870">
How can I get subtitles to appear on the black margins around a movie?
</a></dt><dt>Q: <a href="faq.html#id2541898">
How can I select audio/subtitle tracks from a DVD, OGM, Matroska or NUT file?
</a></dt><dt>Q: <a href="faq.html#id2541957">
I'm trying to play a random stream off the internet but it fails.
</a></dt><dt>Q: <a href="faq.html#id2541974">
I downloaded a movie off a P2P network and it doesn't work!
</a></dt><dt>Q: <a href="faq.html#id2541995">
I'm having trouble getting my subtitles to display, help!!
</a></dt><dt>Q: <a href="faq.html#id2542029">
Why doesn't MPlayer work on Fedora Core?
</a></dt><dt>Q: <a href="faq.html#id2542183">
MPlayer dies with
MPlayer interrupted by signal 4 in module: decode_video
</a></dt><dt>Q: <a href="faq.html#id2542222">
When I try to grab from my tuner, it works, but colors are strange. It's OK with other
applications.
</a></dt><dt>Q: <a href="faq.html#id2542244">
I get very strange percentage values (way too big) while playing files on my notebook.
</a></dt><dt>Q: <a href="faq.html#id2542275">
The audio/video gets totally out of sync when I run MPlayer
as root on my notebook. It works normal when i run it as a user.
</a></dt><dt>Q: <a href="faq.html#id2542306">
While playing a movie it suddenly gets jerky and I get the following message:
Badly interleaved AVI file detected - switching to -ni mode...
</a></dt></dl></dd><dt>5.5. <a href="faq.html#faq-driver">Video/audio driver problems (vo/ao)</a></dt><dd><dl><dt>Q: <a href="faq.html#id2542345">
When I go into fullscreen mode I just get black borders around the image
and no real scaling to fullscreen mode.
</a></dt><dt>Q: <a href="faq.html#id2542397">
I've just installed MPlayer. When I want to
open a video file it causes a fatal error:
Error opening/initializing the selected video_out (-vo) device.
How can I solve my problem?
</a></dt><dt>Q: <a href="faq.html#id2542465">
I have problems with [your window manager]
and fullscreen xv/xmga/sdl/x11 modes ...
</a></dt><dt>Q: <a href="faq.html#id2542494">
Audio goes out of sync playing an AVI file.
</a></dt><dt>Q: <a href="faq.html#id2542522">
My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound
too slow. When I use the -nosound option, everything is OK (but quiet).
</a></dt><dt>Q: <a href="faq.html#id2542542">
How can I use dmix with
MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2542577">
I have no sound when playing a video and get error messages similar to this one:
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 -> NOSOUND
Audio: no sound!!!
Start playing...
</a></dt><dt>Q: <a href="faq.html#id2542622">
When starting MPlayer under KDE I just get a black
screen and nothing happens. After about one minute the video starts playing.
</a></dt><dt>Q: <a href="faq.html#id2542661">
I have A/V sync problems. Some of my AVIs play fine, but some play with double speed!
</a></dt><dt>Q: <a href="faq.html#id2542683">
When I play this movie I get video-audio desync and/or MPlayer
crashes with the following message:
DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
</a></dt><dt>Q: <a href="faq.html#id2542762">
How can I get rid of A/V desynchronization while seeking through RealMedia streams?
</a></dt></dl></dd><dt>5.6. <a href="faq.html#faq-dvd">DVD playback</a></dt><dd><dl><dt>Q: <a href="faq.html#id2542789">
What about DVD navigation/menus?
</a></dt><dt>Q: <a href="faq.html#id2542837">
I can't watch any recent DVDs from Sony Pictures/BMG.
</a></dt><dt>Q: <a href="faq.html#id2542860">
What about subtitles? Can MPlayer display them?
</a></dt><dt>Q: <a href="faq.html#id2542885">
How can I set the region code of my DVD-drive? I don't have Windows!
</a></dt><dt>Q: <a href="faq.html#id2542905">
I can't play a DVD, MPlayer hangs or outputs "Encrypted VOB file!" errors.
</a></dt><dt>Q: <a href="faq.html#id2542921">
Do I need to be (setuid) root to be able to play a DVD?
</a></dt><dt>Q: <a href="faq.html#id2542943">
Is it possible to play/encode only selected chapters?
</a></dt><dt>Q: <a href="faq.html#id2542960">
My DVD playback is sluggish!
</a></dt><dt>Q: <a href="faq.html#id2542991">
I copied a DVD using vobcopy. How do I play/encode it from my hard disk?
</a></dt></dl></dd><dt>5.7. <a href="faq.html#faq-features">Feature requests</a></dt><dd><dl><dt>Q: <a href="faq.html#id2543030">
If MPlayer is paused and I try to seek or press any key at all,
MPlayer ceases to be paused. I would like to be able
to seek in the paused movie.
</a></dt><dt>Q: <a href="faq.html#id2543058">
I'd like to seek +/- 1 frame instead of 10 seconds.
</a></dt></dl></dd><dt>5.8. <a href="faq.html#faq-encoding">Encoding</a></dt><dd><dl><dt>Q: <a href="faq.html#id2543091">
How can I encode?
</a></dt><dt>Q: <a href="faq.html#id2543113">
How can I dump a full DVD title into a file?
</a></dt><dt>Q: <a href="faq.html#id2543152">
How can I create (S)VCDs automatically?
</a></dt><dt>Q: <a href="faq.html#id2543181">
How can I create (S)VCDs?
</a></dt><dt>Q: <a href="faq.html#id2543213">
How can I join two video files?
</a></dt><dt>Q: <a href="faq.html#id2543271">
How can I fix AVI files with a broken index or bad interleaving?
</a></dt><dt>Q: <a href="faq.html#id2543310">
How can I fix the aspect ratio of an AVI file?
</a></dt><dt>Q: <a href="faq.html#id2543348">
How can I backup and encode a VOB file with a broken beginning?
</a></dt><dt>Q: <a href="faq.html#id2543410">
I can't encode DVD subtitles into the AVI!
</a></dt><dt>Q: <a href="faq.html#id2543427">
How can I encode only selected chapters from a DVD?
</a></dt><dt>Q: <a href="faq.html#id2543447">
I'm trying to work with 2GB+ files on a VFAT file system. Does it work?
</a></dt><dt>Q: <a href="faq.html#id2543460">
What is the meaning of the numbers on the status line during the encoding process?
</a></dt><dt>Q: <a href="faq.html#id2543597">
Why is the recommended bitrate printed by MEncoder negative?
</a></dt><dt>Q: <a href="faq.html#id2543618">
I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps.
</a></dt><dt>Q: <a href="faq.html#id2543636">
How can I put subtitles in the output file?
</a></dt><dt>Q: <a href="faq.html#id2543663">
How do I encode only sound from a music video?
</a></dt><dt>Q: <a href="faq.html#id2543715">
Why do third-party players fail to play MPEG-4 movies encoded by
MEncoder versions later than 1.0pre7?
</a></dt><dt>Q: <a href="faq.html#id2543830">
How can I encode an audio only file?
</a></dt><dt>Q: <a href="faq.html#id2543858">
How can I play subtitles embedded in AVI?
</a></dt><dt>Q: <a href="faq.html#id2543893">
MPlayer won't...
</a></dt></dl></dd></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-development"></a><h3 class="title"><a name="faq-development"></a>5.1. Development</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2538492">
How do I create a proper patch for MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2540768">
How do I translate MPlayer to a new language?
</a></dt><dt>Q: <a href="faq.html#id2540801">
How can I support MPlayer development?
</a></dt><dt>Q: <a href="faq.html#id2540833">
How can I become an MPlayer developer?
</a></dt><dt>Q: <a href="faq.html#id2540875">
Why don't you use autoconf/automake?
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2538492"></a><a name="id2538494"></a><b>Q:</b></td><td align="left" valign="top"><p>
How do I create a proper patch for <span class="application">MPlayer</span>?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
We made a <a href="../../tech/patches.txt" target="_top">short document</a>
describing all the necessary details. Please follow the instructions.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540768"></a><a name="id2540770"></a><b>Q:</b></td><td align="left" valign="top"><p>
How do I translate <span class="application">MPlayer</span> to a new language?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Read the <a href="../../tech/translations.txt" target="_top">translation HOWTO</a>,
it should explain everything. You can get further help on the
<a href="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-translations" target="_top">MPlayer-translations</a>
mailing list.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540801"></a><a name="id2540803"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I support <span class="application">MPlayer</span> development?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
We are more than happy to accept your hardware and software
<a href="http://www.mplayerhq.hu/donations.html" target="_top">donations</a>.
They help us in continuously improving <span class="application">MPlayer</span>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540833"></a><a name="id2540835"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I become an <span class="application">MPlayer</span> developer?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
We always welcome coders and documenters. Read the
<a href="../../tech/" target="_top">technical documentation</a>
to get a first grasp. Then you should subscribe to the
<a href="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng" target="_top">MPlayer-dev-eng</a>
mailing list and start coding. If you want to help out with the documentation,
join the
<a href="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs" target="_top">MPlayer-docs</a>
mailing list.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540875"></a><a name="id2540877"></a><b>Q:</b></td><td align="left" valign="top"><p>
Why don't you use autoconf/automake?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
We have a modular, handwritten build system. It does a reasonably good
job, so why change? Besides, we dislike the auto* tools, just like
<a href="http://freshmeat.net/articles/view/889/" target="_top">other people</a>.
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-compilation-installation"></a><h3 class="title"><a name="faq-compilation-installation"></a>5.2. Compilation and installation</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2540908">
Compilation fails with an error and gcc bails out
with some cryptic message containing the phrase
internal compiler error or
unable to find a register to spill.
</a></dt><dt>Q: <a href="faq.html#id2540963">
Are there binary (RPM/Debian) packages of MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2540997">
How can I build a 32 bit MPlayer on a 64 bit Athlon?
</a></dt><dt>Q: <a href="faq.html#id2541023">
Configure ends with this text, and MPlayer won't compile!
Your gcc does not support even i386 for '-march' and '-mcpu'
</a></dt><dt>Q: <a href="faq.html#id2541056">
I have a Matrox G200/G400/G450/G550, how do I compile/use the
mga_vid driver?
</a></dt><dt>Q: <a href="faq.html#id2541082">
During 'make', MPlayer complains about
missing X11 libraries. I don't understand, I do
have X11 installed!?
</a></dt><dt>Q: <a href="faq.html#id2541143">
Building on Mac OS 10.3 leads to several link errors</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540908"></a><a name="id2540910"></a><b>Q:</b></td><td align="left" valign="top"><p>
Compilation fails with an error and <span class="application">gcc</span> bails out
with some cryptic message containing the phrase
<code class="systemitem">internal compiler error</code> or
<code class="systemitem">unable to find a register to spill</code>.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You have stumbled over a bug in <span class="application">gcc</span>. Please
<a href="http://gcc.gnu.org/bugs.html" target="_top">report it to the gcc team</a>
but not to us. For some reason <span class="application">MPlayer</span> seems to
trigger compiler bugs frequently. Nevertheless we cannot fix them and do not
add workarounds for compiler bugs to our sources. To avoid this problem,
either stick with a compiler version that is known to be reliable and
stable, or upgrade frequently.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540963"></a><a name="id2540966"></a><b>Q:</b></td><td align="left" valign="top"><p>
Are there binary (RPM/Debian) packages of <span class="application">MPlayer</span>?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
See the <a href="linux.html#debian" title="12.1.1.Debian packaging">Debian</a> and <a href="linux.html#rpm" title="12.1.2.RPM packaging">RPM</a>
section for details.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2540997"></a><a name="id2540999"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I build a 32 bit <span class="application">MPlayer</span> on a 64 bit Athlon?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Try the following configure options:
</p><pre class="screen">
./configure --target=athlon_xp --cc="gcc -m32" --as="as --32" --with-extralibdir=/usr/lib
</pre><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541023"></a><a name="id2541025"></a><b>Q:</b></td><td align="left" valign="top"><p>
Configure ends with this text, and <span class="application">MPlayer</span> won't compile!
</p><pre class="screen">Your gcc does not support even i386 for '-march' and '-mcpu'</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Your gcc isn't installed correctly, check the <tt class="filename">configure.log</tt>
file for details.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541056"></a><a name="id2541058"></a><b>Q:</b></td><td align="left" valign="top"><p>
I have a Matrox G200/G400/G450/G550, how do I compile/use the
<code class="systemitem">mga_vid</code> driver?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Read the <a href="output-trad.html#mga_vid" title="8.2.6.Matrox framebuffer (mga_vid)">mga_vid</a> section.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541082"></a><a name="id2541084"></a><b>Q:</b></td><td align="left" valign="top"><p>
During 'make', <span class="application">MPlayer</span> complains about
missing X11 libraries. I don't understand, I <span class="emphasis"><em>do</em></span>
have X11 installed!?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
... but you don't have the X11 development package installed. Or not correctly.
It's called <tt class="filename">XFree86-devel*</tt> under Red Hat, and
<tt class="filename">xlibs-dev</tt> under Debian Woody,
<tt class="filename">libx11-dev</tt> under Debian Sarge. Also check if the
<tt class="filename">/usr/X11</tt> and
<tt class="filename">/usr/include/X11</tt> symlinks exist (this
can be a problem on Mandrake systems).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541143"></a><a name="id2541146"></a><b>Q:</b></td><td align="left" valign="top"><p>
Building on Mac OS 10.3 leads to several link errors</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
The link error you're experiencing most likely looks like this:
</p><pre class="screen">
ld: Undefined symbols:
_LLCStyleInfoCheckForOpenTypeTables referenced from QuartzCore expected to be defined in ApplicationServices
_LLCStyleInfoGetUserRunFeatures referenced from QuartzCore expected to be defined in ApplicationServices
</pre><p>
This problem is the result of Apple developers using 10.4 to compile
their software and distributing the binaries to 10.3 users via
Software Update.
The undefined symbols are present in Mac OS 10.4,
but not 10.3.
One solution can be to downgrade to QuickTime 7.0.1.
Here is a better solution.
</p><p>
Get an <a href="http://rapidshare.de/files/20281171/CompatFrameworks.tgz.html" target="_top">older copy of the frameworks</a>.
This will give you a compressed file that contains the QuickTime
7.0.1 Framework and a 10.3.9 QuartzCore Framework.
</p><p>
Uncompress the files somewhere that is not in your System folder.
(i.e. do not install these frameworks into your
<tt class="filename">/System/Library/Frameworks</tt>!
Using this older copy is only meant to get around link errors!)
</p><pre class="screen">
gunzip < CompatFrameworks.tgz | tar xvf -
</pre><p>
In config.mak, you should append
<code class="systemitem">-F/path/to/where/you/extracted</code>
to the <code class="systemitem">OPTFLAGS</code> variable.
If you use <span class="application">X-Code</span>, you can just select these
frameworks instead of the system ones.
</p><p>
The resulting <span class="application">MPlayer</span> binary will actually
use the framework that is installed on your system via dynamic links that
are resolved at run-time.
(You can verify this using <code class="systemitem">otool -l</code>).
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-general"></a><h3 class="title"><a name="faq-general"></a>5.3. General questions</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2541252">
Are there any mailing lists on MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2541278">
I've found a nasty bug when I tried to play my favorite video! Who should I inform?
</a></dt><dt>Q: <a href="faq.html#id2541300">
I have problems playing files with the ... codec. Can I use them?
</a></dt><dt>Q: <a href="faq.html#id2541336">
When I start playing, I get this message but everything seems fine:
Linux RTC init: ioctl (rtc_pie_on): Permission denied
</a></dt><dt>Q: <a href="faq.html#id2541366">
How can I make a screenshot?
</a></dt><dt>Q: <a href="faq.html#id2541414">
What is the meaning of the numbers on the status line?
</a></dt><dt>Q: <a href="faq.html#id2541623">
There are error messages about file not found /usr/local/lib/codecs/ ...
</a></dt><dt>Q: <a href="faq.html#id2541649">
How can I make MPlayer remember the options I
use for a particular file, e.g. movie.avi?
</a></dt><dt>Q: <a href="faq.html#id2541690">
Subtitles are very nice, the most beautiful I've ever seen, but they
slow down playing! I know it's unlikely ...
</a></dt><dt>Q: <a href="faq.html#id2541728">
I can't access the GUI menu. I press right click, but I can't
access any menu items!
</a></dt><dt>Q: <a href="faq.html#id2541771">
How can I run MPlayer in the background?
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541252"></a><a name="id2541254"></a><b>Q:</b></td><td align="left" valign="top"><p>
Are there any mailing lists on <span class="application">MPlayer</span>?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Yes. Look at the
<a href="http://www.mplayerhq.hu/design7/mailing_lists.html" target="_top">mailing lists section</a>
of our homepage.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541278"></a><a name="id2541280"></a><b>Q:</b></td><td align="left" valign="top"><p>
I've found a nasty bug when I tried to play my favorite video! Who should I inform?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Please read the
<a href="bugreports.html" title="AppendixA.How to report bugs">bug reporting guidelines</a>
and follow the instructions.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541300"></a><a name="id2541302"></a><b>Q:</b></td><td align="left" valign="top"><p>
I have problems playing files with the ... codec. Can I use them?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Check the <a href="../../codecs-status.html" target="_top">codec status</a>,
if it doesn't contain your codec, read the <a href="codecs.html" title="Chapter7.Codecs">codec documentation</a>,
especially the <a href="codec-importing.html" title="7.3.Win32 codecs importing HOWTO">codec importing HOWTO</a> and contact us.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541336"></a><a name="id2541339"></a><b>Q:</b></td><td align="left" valign="top"><p>
When I start playing, I get this message but everything seems fine:
</p><pre class="screen">Linux RTC init: ioctl (rtc_pie_on): Permission denied</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You need a specially set up kernel to use the RTC timing
code. For details see the <a href="rtc.html" title="2.7.RTC">RTC</a> section of the documentation.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541366"></a><a name="id2541368"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I make a screenshot?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You have to use a video output driver that does not employ an overlay to be
able to take a screenshot. Under X11, <tt class="option">-vo x11</tt> will do, under
Windows <tt class="option">-vo directx:noaccel</tt> works.
</p><p>
Alternatively you can run <span class="application">MPlayer</span> with the
<code class="systemitem">screenshot</code> video filter
(<tt class="option">-vf screenshot</tt>), and press the <span class="keycap"><b>s</b></span>
key to grab a screenshot.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541414"></a><a name="id2541416"></a><b>Q:</b></td><td align="left" valign="top"><p>
What is the meaning of the numbers on the status line?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Example:
</p><pre class="screen">A: 2.1 V: 2.2 A-V: -0.167 ct: 0.042 57/57 41% 0% 2.6% 0 4 49% 1.00x</pre><p>
</p><div class="variablelist"><dl><dt><span class="term"><code class="systemitem">A: 2.1</code></span></dt><dd><p>audio position in seconds</p></dd><dt><span class="term"><code class="systemitem">V: 2.2</code></span></dt><dd><p>video position in seconds</p></dd><dt><span class="term"><code class="systemitem">A-V: -0.167</code></span></dt><dd><p>audio-video difference in seconds (delay)</p></dd><dt><span class="term"><code class="systemitem">ct: 0.042</code></span></dt><dd><p>total A-V sync correction done</p></dd><dt><span class="term"><code class="systemitem">57/57</code></span></dt><dd><p>frames played/decoded (counting from last seek)</p></dd><dt><span class="term"><code class="systemitem">41%</code></span></dt><dd><p>video codec CPU usage in percent
(for slice rendering and direct rendering this
includes video_out)</p></dd><dt><span class="term"><code class="systemitem">0%</code></span></dt><dd><p>video_out CPU usage</p></dd><dt><span class="term"><code class="systemitem">2.6%</code></span></dt><dd><p>audio codec CPU usage in percent</p></dd><dt><span class="term"><code class="systemitem">0</code></span></dt><dd><p>frames dropped to maintain A-V sync</p></dd><dt><span class="term"><code class="systemitem">4</code></span></dt><dd><p>current level of image postprocessing (when using
<tt class="option">-autoq</tt>)</p></dd><dt><span class="term"><code class="systemitem">49%</code></span></dt><dd><p>current cache size used (around 50% is normal)</p></dd><dt><span class="term"><code class="systemitem">1.00x</code></span></dt><dd><p>playback speed as a factor of original speed</p></dd></dl></div><p>
Most of them are for debug purposes, use the <tt class="option">-quiet</tt>
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 <tt class="option">-vo null</tt> and
your usual video output driver.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541623"></a><a name="id2541626"></a><b>Q:</b></td><td align="left" valign="top"><p>
There are error messages about file not found <tt class="filename">/usr/local/lib/codecs/</tt> ...
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Download and install the binary codecs from our
<a href="http://www.mplayerhq.hu/design7/dload.html" target="_top">download page</a>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541649"></a><a name="id2541651"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I make <span class="application">MPlayer</span> remember the options I
use for a particular file, e.g. <tt class="filename">movie.avi</tt>?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Create a file named <tt class="filename">movie.avi.conf</tt> with the file-specific
options in it and put it in <tt class="filename">~/.mplayer</tt>
or in the same directory as the file.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541690"></a><a name="id2541692"></a><b>Q:</b></td><td align="left" valign="top"><p>
Subtitles are very nice, the most beautiful I've ever seen, but they
slow down playing! I know it's unlikely ...
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
After running <tt class="filename">./configure</tt>, edit <tt class="filename">config.h</tt>
and replace <code class="systemitem">#undef FAST_OSD</code> with
<code class="systemitem">#define FAST_OSD</code>. Then recompile.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541728"></a><a name="id2541731"></a><b>Q:</b></td><td align="left" valign="top"><p>
I can't access the GUI menu. I press right click, but I can't
access any menu items!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Are you using FVWM? Try the following:
</p><div class="orderedlist"><ol type="1"><li><p>Start -> Settings -> Configuration -> Base Configuration</p></li><li><p>Set <code class="systemitem">Use Applications position hints</code>
to <code class="systemitem">Yes</code></p></li></ol></div><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541771"></a><a name="id2541773"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I run <span class="application">MPlayer</span> in the background?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use:
</p><pre class="screen">mplayer <em class="replaceable"><code>options</code></em> <em class="replaceable"><code>filename</code></em> < /dev/null &</pre><p>
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-playback"></a><h3 class="title"><a name="faq-playback"></a>5.4. Playback problems</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2541814">
I cannot pinpoint the cause of some strange playback problem.
</a></dt><dt>Q: <a href="faq.html#id2541870">
How can I get subtitles to appear on the black margins around a movie?
</a></dt><dt>Q: <a href="faq.html#id2541898">
How can I select audio/subtitle tracks from a DVD, OGM, Matroska or NUT file?
</a></dt><dt>Q: <a href="faq.html#id2541957">
I'm trying to play a random stream off the internet but it fails.
</a></dt><dt>Q: <a href="faq.html#id2541974">
I downloaded a movie off a P2P network and it doesn't work!
</a></dt><dt>Q: <a href="faq.html#id2541995">
I'm having trouble getting my subtitles to display, help!!
</a></dt><dt>Q: <a href="faq.html#id2542029">
Why doesn't MPlayer work on Fedora Core?
</a></dt><dt>Q: <a href="faq.html#id2542183">
MPlayer dies with
MPlayer interrupted by signal 4 in module: decode_video
</a></dt><dt>Q: <a href="faq.html#id2542222">
When I try to grab from my tuner, it works, but colors are strange. It's OK with other
applications.
</a></dt><dt>Q: <a href="faq.html#id2542244">
I get very strange percentage values (way too big) while playing files on my notebook.
</a></dt><dt>Q: <a href="faq.html#id2542275">
The audio/video gets totally out of sync when I run MPlayer
as root on my notebook. It works normal when i run it as a user.
</a></dt><dt>Q: <a href="faq.html#id2542306">
While playing a movie it suddenly gets jerky and I get the following message:
Badly interleaved AVI file detected - switching to -ni mode...
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541814"></a><a name="id2541816"></a><b>Q:</b></td><td align="left" valign="top"><p>
I cannot pinpoint the cause of some strange playback problem.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Do you have a stray <tt class="filename">codecs.conf</tt> file in
<tt class="filename">~/.mplayer/</tt>, <tt class="filename">/etc/</tt>,
<tt class="filename">/usr/local/etc/</tt> or a similar location? Remove it,
an outdated <tt class="filename">codecs.conf</tt> file can cause obscure
problems and is intended for use only by developers working on codec
support. It overrides <span class="application">MPlayer</span>'s internal
codec settings, which will wreak havoc if incompatible changes are
made in newer program versions. Unless used by experts it is a recipe
for disaster in the form of seemingly random and very hard to localize
crashes and playback problems. If you still have it somewhere on your
system, you should remove it now.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541870"></a><a name="id2541873"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I get subtitles to appear on the black margins around a movie?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use the <code class="systemitem">expand</code> video filter to increase the
area onto which the movie is rendered vertically and place the movie
at the top border, for example:
</p><pre class="screen">
mplayer -vf expand=0:-100:0:0 -slang de dvd://1
</pre><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541898"></a><a name="id2541900"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I select audio/subtitle tracks from a DVD, OGM, Matroska or NUT file?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You have to use <tt class="option">-aid</tt> (audio ID) or <tt class="option">-alang</tt>
(audio language), <tt class="option">-sid</tt>(subtitle ID) or <tt class="option">-slang</tt>
(subtitle language), for example:
</p><pre class="screen">
mplayer -alang eng -slang eng <em class="replaceable"><code>example.mkv</code></em>
mplayer -aid 1 -sid 1 <em class="replaceable"><code>example.mkv</code></em>
</pre><p>
To see which ones are available:
</p><pre class="screen">
mplayer -vo null -ao null -frames 0 -v <em class="replaceable"><code>filename</code></em> | grep sid
mplayer -vo null -ao null -frames 0 -v <em class="replaceable"><code>filename</code></em> | grep aid
</pre><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541957"></a><a name="id2541959"></a><b>Q:</b></td><td align="left" valign="top"><p>
I'm trying to play a random stream off the internet but it fails.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Try playing the stream with the <tt class="option">-playlist</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541974"></a><a name="id2541976"></a><b>Q:</b></td><td align="left" valign="top"><p>
I downloaded a movie off a P2P network and it doesn't work!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Your file is most probably broken or a fake file. If you got it from
a friend, and he says it works, try comparing
<span class="application">md5sum</span> hashes.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2541995"></a><a name="id2541997"></a><b>Q:</b></td><td align="left" valign="top"><p>
I'm having trouble getting my subtitles to display, help!!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Make sure you have installed fonts properly. Run through the steps in the
<a href="fonts-osd.html" title="2.6.Fonts and OSD">Fonts and OSD</a> part of the installation
section again. If you are using TrueType fonts, verify that you have the
<code class="systemitem">FreeType</code> library installed.
Other things include checking your subtitles in a text editor or with other
players. Also try converting them to another format.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542029"></a><a name="id2542032"></a><b>Q:</b></td><td align="left" valign="top"><p>
Why doesn't <span class="application">MPlayer</span> work on Fedora Core?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
There is a bad interaction on Fedora between exec-shield,
prelink, and any applications which use Windows DLLs
(such as <span class="application">MPlayer</span>).
</p><p>
The problem is that exec-shield randomizes the load addresses of all the
system libraries. This randomization happens at prelink time (once every
two weeks).
</p><p>
When <span class="application">MPlayer</span> tries to load a Windows DLL it
wants to put it at a specific address (0x400000). If an important system
library happens to be there already, <span class="application">MPlayer</span>
will crash.
(A typical symptom would be a segmentation fault when trying
to play Windows Media 9 files.)
</p><p>
If you run into this problem you have two options:
</p><div class="itemizedlist"><ul type="disc"><li><p>Wait two weeks. It might start working again.</p></li><li><p>Relink all the binaries on the system with different
prelink options. Here are step by step instructions:</p><p>
</p><div class="orderedlist"><ol type="1"><li><p>Edit <tt class="filename">/etc/syconfig/prelink</tt> and change</p><p>
</p><pre class="programlisting">
PRELINK_OPTS=-mR
</pre><p>
</p><p>
to
</p><pre class="programlisting">
PRELINK_OPTS="-mR --no-exec-shield"
</pre><p>
</p></li><li><p><span><strong class="command">touch /var/lib/misc/prelink.force</strong></span></p></li><li><p><span><strong class="command">/etc/cron.daily/prelink</strong></span>
(This relinks all the applications, and it takes
quite a while.)</p></li><li><p><span><strong class="command">execstack -s <em class="replaceable"><code>/path/to/</code></em>mplayer</strong></span>
(This turns off exec-shield for the <span class="application">MPlayer</span> binary.)
</p></li></ol></div><p>
</p></li></ul></div><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542183"></a><a name="id2542185"></a><b>Q:</b></td><td align="left" valign="top"><p>
<span class="application">MPlayer</span> dies with
</p><pre class="screen">MPlayer interrupted by signal 4 in module: decode_video</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Don't use <span class="application">MPlayer</span> on a CPU different from the one
it was compiled on or recompile with runtime CPU detection
(<span><strong class="command">./configure --enable-runtime-cpudetection</strong></span>).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542222"></a><a name="id2542224"></a><b>Q:</b></td><td align="left" valign="top"><p>
When I try to grab from my tuner, it works, but colors are strange. It's OK with other
applications.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Your card probably reports some colorspaces as supported when in fact
it does not support them. Try with YUY2 instead of the
default YV12 (see the <a href="tv-input.html" title="10.1.TV input">TV</a> section).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542244"></a><a name="id2542247"></a><b>Q:</b></td><td align="left" valign="top"><p>
I get very strange percentage values (way too big) while playing files on my notebook.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
It's an effect of the power management / power saving system of your notebook
(BIOS, not kernel). Plug the external power connector in
<span class="bold"><strong>before</strong></span> you power on your notebook. You can also
try whether <a href="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufreq.html" target="_top">cpufreq</a>
(a SpeedStep interface for Linux) helps you.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542275"></a><a name="id2542277"></a><b>Q:</b></td><td align="left" valign="top"><p>
The audio/video gets totally out of sync when I run <span class="application">MPlayer</span>
as root on my notebook. It works normal when i run it as a user.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
This is again a power management effect (see above). Plug the external power
connector in <span class="bold"><strong>before</strong></span> you power on your notebook
or use the <tt class="option">-nortc</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542306"></a><a name="id2542308"></a><b>Q:</b></td><td align="left" valign="top"><p>
While playing a movie it suddenly gets jerky and I get the following message:
</p><pre class="screen">Badly interleaved AVI file detected - switching to -ni mode...</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Badly interleaved files and <tt class="option">-cache</tt> don't work well together.
Try <tt class="option">-nocache</tt>.
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-driver"></a><h3 class="title"><a name="faq-driver"></a>5.5. Video/audio driver problems (vo/ao)</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2542345">
When I go into fullscreen mode I just get black borders around the image
and no real scaling to fullscreen mode.
</a></dt><dt>Q: <a href="faq.html#id2542397">
I've just installed MPlayer. When I want to
open a video file it causes a fatal error:
Error opening/initializing the selected video_out (-vo) device.
How can I solve my problem?
</a></dt><dt>Q: <a href="faq.html#id2542465">
I have problems with [your window manager]
and fullscreen xv/xmga/sdl/x11 modes ...
</a></dt><dt>Q: <a href="faq.html#id2542494">
Audio goes out of sync playing an AVI file.
</a></dt><dt>Q: <a href="faq.html#id2542522">
My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound
too slow. When I use the -nosound option, everything is OK (but quiet).
</a></dt><dt>Q: <a href="faq.html#id2542542">
How can I use dmix with
MPlayer?
</a></dt><dt>Q: <a href="faq.html#id2542577">
I have no sound when playing a video and get error messages similar to this one:
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 -> NOSOUND
Audio: no sound!!!
Start playing...
</a></dt><dt>Q: <a href="faq.html#id2542622">
When starting MPlayer under KDE I just get a black
screen and nothing happens. After about one minute the video starts playing.
</a></dt><dt>Q: <a href="faq.html#id2542661">
I have A/V sync problems. Some of my AVIs play fine, but some play with double speed!
</a></dt><dt>Q: <a href="faq.html#id2542683">
When I play this movie I get video-audio desync and/or MPlayer
crashes with the following message:
DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
</a></dt><dt>Q: <a href="faq.html#id2542762">
How can I get rid of A/V desynchronization while seeking through RealMedia streams?
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542345"></a><a name="id2542347"></a><b>Q:</b></td><td align="left" valign="top"><p>
When I go into fullscreen mode I just get black borders around the image
and no real scaling to fullscreen mode.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Your video output driver does not support scaling in hardware and since
scaling in software can be incredibly slow <span class="application">MPlayer</span>
does not automatically enable it. Most likely you are using the
<code class="systemitem">x11</code> instead of the <code class="systemitem">xv</code>
video output driver. Try adding <tt class="option">-vo xv</tt> to the command
line or read the <a href="video.html" title="Chapter8.Video output devices">video section</a> to find out
about alternative video output drivers. The <tt class="option">-zoom</tt>
option explicitly enables software scaling.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542397"></a><a name="id2542399"></a><b>Q:</b></td><td align="left" valign="top"><p>
I've just installed <span class="application">MPlayer</span>. When I want to
open a video file it causes a fatal error:
</p><pre class="screen">
Error opening/initializing the selected video_out (-vo) device.
</pre><p>
How can I solve my problem?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Just change your video output device. Issue the following command to get
a list of available video output drivers:
</p><pre class="screen">
mplayer -vo help
</pre><p>
After you've chosen the correct video output driver, add it to
your configuration file. Add
</p><pre class="programlisting">
vo = <em class="replaceable"><code>selected_vo</code></em>
</pre><p>
to <tt class="filename">~/.mplayer/config</tt> and/or
</p><pre class="programlisting">
vo_driver = <em class="replaceable"><code>selected_vo</code></em>
</pre><p>
to <tt class="filename">~/.mplayer/gui.conf</tt>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542465"></a><a name="id2542467"></a><b>Q:</b></td><td align="left" valign="top"><p>
I have problems with <em class="replaceable"><code>[your window manager]</code></em>
and fullscreen xv/xmga/sdl/x11 modes ...
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Read the <a href="bugreports.html" title="AppendixA.How to report bugs">bug reporting guidelines</a> and send us
a proper bug report.
Also try experimenting with the <tt class="option">-fstype</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542494"></a><a name="id2542496"></a><b>Q:</b></td><td align="left" valign="top"><p>
Audio goes out of sync playing an AVI file.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Try the <tt class="option">-bps</tt> or <tt class="option">-nobps</tt> option. If it does not
improve, read the
<a href="bugreports.html" title="AppendixA.How to report bugs">bug reporting guidelines</a>
and upload the file to FTP.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542522"></a><a name="id2542525"></a><b>Q:</b></td><td align="left" valign="top"><p>
My computer plays MS DivX AVIs with resolutions ~ 640x300 and stereo MP3 sound
too slow. When I use the <tt class="option">-nosound</tt> option, everything is OK (but quiet).
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Your machine is too slow or your sound card driver is broken. Consult the
documentation to see if you can improve performance.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542542"></a><a name="id2542544"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I use <span class="application">dmix</span> with
<span class="application">MPlayer</span>?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
After setting up your
<a href="http://alsa.opensrc.org/index.php?page=DmixPlugin" target="_top">asoundrc</a>
you have to use <tt class="option">-ao alsa:device=dmix</tt>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542577"></a><a name="id2542579"></a><b>Q:</b></td><td align="left" valign="top"><p>
I have no sound when playing a video and get error messages similar to this one:
</p><pre class="screen">
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 -> NOSOUND
Audio: no sound!!!
Start playing...
</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Are you running KDE or GNOME with the aRts or ESD sound daemon? Try disabling
the sound daemon or use the <tt class="option">-ao arts</tt> or <tt class="option">-ao esd</tt>
option to make <span class="application">MPlayer</span> use aRts or ESD.
You might also be running ALSA without OSS emulation, try loading the ALSA OSS
kernel modules or add <tt class="option">-ao alsa</tt> to your command line to
directly use the ALSA audio output driver.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542622"></a><a name="id2542624"></a><b>Q:</b></td><td align="left" valign="top"><p>
When starting <span class="application">MPlayer</span> under KDE I just get a black
screen and nothing happens. After about one minute the video starts playing.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
The KDE aRts sound daemon is blocking the sound device. Either wait until the
video starts or disable the aRts daemon in control center. If you want to use
aRts sound, specify audio output via our native aRts audio driver
(<tt class="option">-ao arts</tt>). If it fails or isn't compiled in, try SDL
(<tt class="option">-ao sdl</tt>) and make sure your SDL can handle aRts sound. Yet
another option is to start <span class="application">MPlayer</span> with artsdsp.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542661"></a><a name="id2542663"></a><b>Q:</b></td><td align="left" valign="top"><p>
I have A/V sync problems. Some of my AVIs play fine, but some play with double speed!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you
try to play a file which has 22050Hz audio. Try the
<code class="systemitem">resample</code> audio filter.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542683"></a><a name="id2542685"></a><b>Q:</b></td><td align="left" valign="top"><p>
When I play this movie I get video-audio desync and/or <span class="application">MPlayer</span>
crashes with the following message:
</p><pre class="screen">DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</pre><p>
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
This can have multiple reasons.
</p><div class="itemizedlist"><ul type="disc"><li><p>
Your CPU <span class="emphasis"><em>and/or</em></span> video card <span class="emphasis"><em>and/or</em></span>
bus is too slow. <span class="application">MPlayer</span> displays a message if
this is the case (and the dropped frames counter goes up fast).
</p></li><li><p>
If it is an AVI, maybe it has bad interleaving, try the
<tt class="option">-ni</tt> to work around this.
Or it may have a bad header, in this case <tt class="option">-nobps</tt>
and/or <tt class="option">-mc 0</tt> can help.
</p></li><li><p>
Your sound driver is buggy. See the <a href="audio.html" title="Chapter9.Audio output devices">audio section</a>.
</p></li></ul></div><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542762"></a><a name="id2542764"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I get rid of A/V desynchronization while seeking through RealMedia streams?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
<tt class="option">-mc 0.1</tt> can help.
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-dvd"></a><h3 class="title"><a name="faq-dvd"></a>5.6. DVD playback</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2542789">
What about DVD navigation/menus?
</a></dt><dt>Q: <a href="faq.html#id2542837">
I can't watch any recent DVDs from Sony Pictures/BMG.
</a></dt><dt>Q: <a href="faq.html#id2542860">
What about subtitles? Can MPlayer display them?
</a></dt><dt>Q: <a href="faq.html#id2542885">
How can I set the region code of my DVD-drive? I don't have Windows!
</a></dt><dt>Q: <a href="faq.html#id2542905">
I can't play a DVD, MPlayer hangs or outputs "Encrypted VOB file!" errors.
</a></dt><dt>Q: <a href="faq.html#id2542921">
Do I need to be (setuid) root to be able to play a DVD?
</a></dt><dt>Q: <a href="faq.html#id2542943">
Is it possible to play/encode only selected chapters?
</a></dt><dt>Q: <a href="faq.html#id2542960">
My DVD playback is sluggish!
</a></dt><dt>Q: <a href="faq.html#id2542991">
I copied a DVD using vobcopy. How do I play/encode it from my hard disk?
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542789"></a><a name="id2542791"></a><b>Q:</b></td><td align="left" valign="top"><p>
What about DVD navigation/menus?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
<span class="application">MPlayer</span> does not support DVD menus due to serious
architectural limitations that prevent proper handling of still images and
interactive content. If you want to have fancy menus, you will have to use
another player like <span class="application">xine</span>,
<span class="application">vlc</span> or <span class="application">Ogle</span>.
If you want to see DVD navigation in <span class="application">MPlayer</span> you
will have to implement it yourself, but be aware that it is a major
undertaking.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542837"></a><a name="id2542839"></a><b>Q:</b></td><td align="left" valign="top"><p>
I can't watch any recent DVDs from Sony Pictures/BMG.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
This is normal; you've been ripped off and sold an intentionally defective disk.
The only way to play these DVDs is to circumvent the bad blocks of the disk
by using DVDnav instead of mpdvdkit2.
You can do so by compiling MPlayer with DVDnav support and then replacing
dvd:// by dvdnav:// on the command line.
DVDnav is so far mutually exclusive with mpdvdkit2, so make sure you pass
<tt class="option">--disable-mpdvdkit</tt> to the configure script.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542860"></a><a name="id2542862"></a><b>Q:</b></td><td align="left" valign="top"><p>
What about subtitles? Can <span class="application">MPlayer</span> display them?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Yes. See the <a href="dvd.html" title="4.2.DVD playback">DVD chapter</a>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542885"></a><a name="id2542887"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I set the region code of my DVD-drive? I don't have Windows!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use the <a href="http://linvdr.org/projects/regionset/" target="_top">regionset tool</a>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542905"></a><a name="id2542907"></a><b>Q:</b></td><td align="left" valign="top"><p>
I can't play a DVD, MPlayer hangs or outputs "Encrypted VOB file!" errors.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
CSS decryption code does not work with some DVD drives unless you set
the region code appropriately. See the answer to the previous question.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542921"></a><a name="id2542923"></a><b>Q:</b></td><td align="left" valign="top"><p>
Do I need to be (setuid) root to be able to play a DVD?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
No. However you must have the proper rights
on the DVD device entry (in <tt class="filename">/dev/</tt>).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542943"></a><a name="id2542945"></a><b>Q:</b></td><td align="left" valign="top"><p>
Is it possible to play/encode only selected chapters?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Yes, try the <tt class="option">-chapter</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542960"></a><a name="id2542962"></a><b>Q:</b></td><td align="left" valign="top"><p>
My DVD playback is sluggish!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use the <tt class="option">-cache</tt> option (described in the man page) and try
enabling DMA for the DVD drive with the <span><strong class="command">hdparm</strong></span> tool (described
in the <a href="drives.html" title="4.1.CD/DVD drives">CD chapter</a>).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2542991"></a><a name="id2542993"></a><b>Q:</b></td><td align="left" valign="top"><p>
I copied a DVD using vobcopy. How do I play/encode it from my hard disk?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use the <tt class="option">-dvd-device</tt> option to refer to the directory
that contains the files:
</p><pre class="screen">
mplayer dvd://1 -dvd-device <em class="replaceable"><code>/path/to/directory</code></em>
</pre><p>
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-features"></a><h3 class="title"><a name="faq-features"></a>5.7. Feature requests</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2543030">
If MPlayer is paused and I try to seek or press any key at all,
MPlayer ceases to be paused. I would like to be able
to seek in the paused movie.
</a></dt><dt>Q: <a href="faq.html#id2543058">
I'd like to seek +/- 1 frame instead of 10 seconds.
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543030"></a><a name="id2543032"></a><b>Q:</b></td><td align="left" valign="top"><p>
If <span class="application">MPlayer</span> is paused and I try to seek or press any key at all,
<span class="application">MPlayer</span> ceases to be paused. I would like to be able
to seek in the paused movie.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
This is very tricky to implement without losing A/V synchronization.
All attempts have failed so far, but patches are welcome.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543058"></a><a name="id2543060"></a><b>Q:</b></td><td align="left" valign="top"><p>
I'd like to seek +/- 1 frame instead of 10 seconds.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You can step forward one frame by pressing <span class="keycap"><b>.</b></span>.
If the movie was not paused it will be paused afterwards
(see the man page for details).
Stepping backwards is unlikely to be implemented anytime soon.
</p></td></tr><tr class="qandadiv"><td align="left" valign="top" colspan="2"><a name="faq-encoding"></a><h3 class="title"><a name="faq-encoding"></a>5.8. Encoding</h3></td></tr><tr class="toc" colspan="2"><td align="left" valign="top" colspan="2"><dl><dt>Q: <a href="faq.html#id2543091">
How can I encode?
</a></dt><dt>Q: <a href="faq.html#id2543113">
How can I dump a full DVD title into a file?
</a></dt><dt>Q: <a href="faq.html#id2543152">
How can I create (S)VCDs automatically?
</a></dt><dt>Q: <a href="faq.html#id2543181">
How can I create (S)VCDs?
</a></dt><dt>Q: <a href="faq.html#id2543213">
How can I join two video files?
</a></dt><dt>Q: <a href="faq.html#id2543271">
How can I fix AVI files with a broken index or bad interleaving?
</a></dt><dt>Q: <a href="faq.html#id2543310">
How can I fix the aspect ratio of an AVI file?
</a></dt><dt>Q: <a href="faq.html#id2543348">
How can I backup and encode a VOB file with a broken beginning?
</a></dt><dt>Q: <a href="faq.html#id2543410">
I can't encode DVD subtitles into the AVI!
</a></dt><dt>Q: <a href="faq.html#id2543427">
How can I encode only selected chapters from a DVD?
</a></dt><dt>Q: <a href="faq.html#id2543447">
I'm trying to work with 2GB+ files on a VFAT file system. Does it work?
</a></dt><dt>Q: <a href="faq.html#id2543460">
What is the meaning of the numbers on the status line during the encoding process?
</a></dt><dt>Q: <a href="faq.html#id2543597">
Why is the recommended bitrate printed by MEncoder negative?
</a></dt><dt>Q: <a href="faq.html#id2543618">
I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps.
</a></dt><dt>Q: <a href="faq.html#id2543636">
How can I put subtitles in the output file?
</a></dt><dt>Q: <a href="faq.html#id2543663">
How do I encode only sound from a music video?
</a></dt><dt>Q: <a href="faq.html#id2543715">
Why do third-party players fail to play MPEG-4 movies encoded by
MEncoder versions later than 1.0pre7?
</a></dt><dt>Q: <a href="faq.html#id2543830">
How can I encode an audio only file?
</a></dt><dt>Q: <a href="faq.html#id2543858">
How can I play subtitles embedded in AVI?
</a></dt><dt>Q: <a href="faq.html#id2543893">
MPlayer won't...
</a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543091"></a><a name="id2543093"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I encode?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Read the <a href="mencoder.html" title="Chapter13.Basic usage of MEncoder"><span class="application">MEncoder</span></a>
section.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543113"></a><a name="id2543115"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I dump a full DVD title into a file?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Once you have selected your title, and made sure it plays fine with
<span class="application">MPlayer</span>, use the option <tt class="option">-dumpstream</tt>.
For example:
</p><pre class="screen">
mplayer dvd://5 -dumpstream -dumpfile <em class="replaceable"><code>dvd_dump.vob</code></em>
</pre><p>
will dump the 5th title of the DVD into the file
<em class="replaceable"><code>dvd_dump.vob</code></em>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543152"></a><a name="id2543154"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I create (S)VCDs automatically?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Try the <tt class="filename">mencvcd</tt> script from the <tt class="filename">TOOLS</tt>
subdirectory. With it you can encode DVDs or other movies to VCD or SVCD format
and even burn them directly to CD.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543181"></a><a name="id2543183"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I create (S)VCDs?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Newer versions of <span class="application">MEncoder</span> can directly
generate MPEG-2 files that can be used as a base to create a VCD or SVCD and
are likely to be playable out of the box on all platforms (for example,
to share a video from a digital camcorder with your computer-illiterate
friends).
Please read
<a href="menc-feat-vcd-dvd.html" title="14.7.Using MEncoder to create VCD/SVCD/DVD-compliant files.">Using MEncoder to create VCD/SVCD/DVD-compliant files</a>
for more details.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543213"></a><a name="id2543215"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I join two video files?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
MPEG files can be concatenated into a single file with luck.
For AVI files, you can use <span class="application">MEncoder</span>'s
multiple file support like this:
</p><pre class="screen">
mencoder -ovc copy -oac copy -o <em class="replaceable"><code>out.avi</code></em> <em class="replaceable"><code>file1.avi</code></em> <em class="replaceable"><code>file2.avi</code></em>
</pre><p>
This will only work if the files are of the same resolution
and use the same codec.
You can also try
<a href="http://fixounet.free.fr/avidemux/" target="_top">avidemux</a> and
<span class="application">avimerge</span> (part of the
<a href="http://www.transcoding.org/" target="_top">transcode</a>
tool set).
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543271"></a><a name="id2543273"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I fix AVI files with a broken index or bad interleaving?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
To avoid having to use <tt class="option">-idx</tt> to be able to seek in
AVI files with a broken index or <tt class="option">-ni</tt> to play AVI
files with bad interleaving, use the command
</p><pre class="screen">
mencoder <em class="replaceable"><code>input.avi</code></em> -idx -ovc copy -oac copy -o <em class="replaceable"><code>output.avi</code></em>
</pre><p>
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.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543310"></a><a name="id2543312"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I fix the aspect ratio of an AVI file?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You can do such a thing thanks to <span class="application">MEncoder</span>'s
<tt class="option">-force-avi-aspect</tt> option, which overrides the aspect
stored in the AVI OpenDML vprp header option. For example:
</p><pre class="screen">
mencoder <em class="replaceable"><code>input.avi</code></em> -ovc copy -oac copy -o <em class="replaceable"><code>output.avi</code></em> -force-avi-aspect 4/3
</pre><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543348"></a><a name="id2543350"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I backup and encode a VOB file with a broken beginning?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
The main problem when you want to encode a VOB file which is corrupted
<sup>[<a name="fn-corrupted-files-or-copy-protection" href="#ftn.fn-corrupted-files-or-copy-protection">1</a>]</sup>
is that it will be hard to get an encode with perfect A/V sync.
One workaround is to just shave off the corrupted part and encode just the
clean part.
First you need to find where the clean part starts:
</p><pre class="screen">
mplayer <em class="replaceable"><code>input.vob</code></em> -sb <em class="replaceable"><code>nb_of_bytes_to_skip</code></em>
</pre><p>
Then you can create a new file which contains just the clean part:
</p><pre class="screen">
dd if=<em class="replaceable"><code>input.vob</code></em> of=<em class="replaceable"><code>output_cut.vob</code></em> skip=1 ibs=<em class="replaceable"><code>nb_of_bytes_to_skip</code></em>
</pre><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543410"></a><a name="id2543412"></a><b>Q:</b></td><td align="left" valign="top"><p>
I can't encode DVD subtitles into the AVI!
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
You have to properly specify the <tt class="option">-sid</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543427"></a><a name="id2543429"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I encode only selected chapters from a DVD?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use the <tt class="option">-chapter</tt> option correctly, like: <tt class="option">-chapter 5-7</tt>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543447"></a><a name="id2543449"></a><b>Q:</b></td><td align="left" valign="top"><p>
I'm trying to work with 2GB+ files on a VFAT file system. Does it work?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
No, VFAT doesn't support 2GB+ files.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543460"></a><a name="id2543462"></a><b>Q:</b></td><td align="left" valign="top"><p>
What is the meaning of the numbers on the status line during the encoding process?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Example:
</p><pre class="screen">Pos: 264.5s 6612f ( 2%) 7.12fps Trem: 576min 2856mb A-V:0.065 [2126:192]</pre><p>
</p><div class="variablelist"><dl><dt><span class="term"><code class="systemitem">Pos: 264.5s</code></span></dt><dd><p>time position in the encoded stream</p></dd><dt><span class="term"><code class="systemitem">6612f</code></span></dt><dd><p>number of video frames encoded</p></dd><dt><span class="term"><code class="systemitem">( 2%)</code></span></dt><dd><p>portion of the input stream encoded</p></dd><dt><span class="term"><code class="systemitem">7.12fps</code></span></dt><dd><p>encoding speed</p></dd><dt><span class="term"><code class="systemitem">Trem: 576min</code></span></dt><dd><p>estimated remaining encoding time</p></dd><dt><span class="term"><code class="systemitem">2856mb</code></span></dt><dd><p>estimated size of the final encode</p></dd><dt><span class="term"><code class="systemitem">A-V:0.065</code></span></dt><dd><p>current delay between audio and video streams</p></dd><dt><span class="term"><code class="systemitem">[2126:192]</code></span></dt><dd><p>average video bitrate (in Mb/s) and average audio bitrate (in Mb/s)</p></dd></dl></div><p>
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543597"></a><a name="id2543599"></a><b>Q:</b></td><td align="left" valign="top"><p>
Why is the recommended bitrate printed by <span class="application">MEncoder</span> negative?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Because the bitrate you encoded the audio with is too large to fit the
movie on any CD. Check if you have libmp3lame installed properly.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543618"></a><a name="id2543620"></a><b>Q:</b></td><td align="left" valign="top"><p>
I can't encode an ASF file to AVI/MPEG-4 (DivX) because it uses 1000 fps.
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Since ASF uses variable framerate but AVI uses a fixed one, you
have to set it by hand with the <tt class="option">-ofps</tt> option.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543636"></a><a name="id2543638"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I put subtitles in the output file?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Just pass the <tt class="option">-sub <filename></tt> (or <tt class="option">-sid</tt>,
respectively) option to <span class="application">MEncoder</span>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543663"></a><a name="id2543666"></a><b>Q:</b></td><td align="left" valign="top"><p>
How do I encode only sound from a music video?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
It's not possible directly, but you can try this (note the
<span class="bold"><strong>&</strong></span> at the end of
<span><strong class="command">mplayer</strong></span> command):
</p><pre class="screen">
mkfifo encode
mplayer -ao pcm -aofile encode dvd://1 &
lame <em class="replaceable"><code>your_opts</code></em> encode music.mp3
rm encode
</pre><p>
This allows you to use any encoder, not only <span class="application">LAME</span>,
just replace <span><strong class="command">lame</strong></span> with your favorite audio encoder in the
above command.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543715"></a><a name="id2543717"></a><b>Q:</b></td><td align="left" valign="top"><p>
Why do third-party players fail to play MPEG-4 movies encoded by
<span class="application">MEncoder</span> versions later than 1.0pre7?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
<code class="systemitem">libavcodec</code>, the native MPEG-4
encoding library usually shipped with <span class="application">MEncoder</span>,
used to set the FourCC to 'DIVX' when encoding MPEG-4 videos
(the FourCC is an AVI tag to identify the software used to encode and
the intended software to use for decoding the video).
This led many people to think that
<code class="systemitem">libavcodec</code>
was a DivX encoding library, when in fact it is a completely different
MPEG-4 encoding library which implements the MPEG-4 standard much
better than DivX does.
Therefore, the new default FourCC used by
<code class="systemitem">libavcodec</code> is 'FMP4', but you
may override this behavior using <span class="application">MEncoder</span>'s
<tt class="option">-ffourcc</tt> option.
You may also change the FourCC of existing files in the same way:
</p><pre class="screen">
mencoder <em class="replaceable"><code>input.avi</code></em> -o <em class="replaceable"><code>output.avi</code></em> -ffourcc XVID
</pre><p>
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
hardware players may choke on some advanced features that
<code class="systemitem">libavcodec</code> supports, but DivX
doesn't; on the other hand <code class="systemitem">XviD</code>
is closer to <code class="systemitem">libavcodec</code> in
terms of functionality, and is supported by all decent players.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543830"></a><a name="id2543832"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I encode an audio only file?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use <tt class="filename">aconvert</tt> from the
<tt class="filename">TOOLS</tt>
subdirectory in the MPlayer source tree.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543858"></a><a name="id2543860"></a><b>Q:</b></td><td align="left" valign="top"><p>
How can I play subtitles embedded in AVI?
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Use <tt class="filename">avisubdump.c</tt> from the
<tt class="filename">TOOLS</tt> subdirectory or read
<a href="http://xlife.zuavra.net/curse/0012/" target="_top">this document about extracting/demultiplexing subtitles embedded in OpenDML AVI files</a>.
</p></td></tr><tr class="question"><td align="left" valign="top"><a name="id2543893"></a><a name="id2543895"></a><b>Q:</b></td><td align="left" valign="top"><p>
MPlayer won't...
</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
Have a look at the <tt class="filename">TOOLS</tt>
subdirectory for a collection of random scripts and hacks.
<tt class="filename">TOOLS/README</tt> contains documentation.
</p></td></tr></tbody></table></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.fn-corrupted-files-or-copy-protection" href="#fn-corrupted-files-or-copy-protection">1</a>] </sup>
To some extent, some forms of copy protection used in DVDs can be
assumed to be content corruption.
</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="vcd.html">Prev</a></td><td width="20%" align="center"></td><td width="40%" align="right"><a accesskey="n" href="containers.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.3.VCD playback</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Chapter6.Containers</td></tr></table></div></body></html>
|