comparison DOCS/xml/en/faq.xml @ 16005:9f297ab810a0

Moved some entries from playback problems to video/audio driver section where they belong.
author diego
date Tue, 19 Jul 2005 00:45:18 +0000
parents 3bed758b6eae
children 0293e4766b4b
comparison
equal deleted inserted replaced
16004:3bed758b6eae 16005:9f297ab810a0
382 </para></question> 382 </para></question>
383 <answer><para> 383 <answer><para>
384 Your file is most probably broken or a fake file. If you got it from 384 Your file is most probably broken or a fake file. If you got it from
385 a friend, and he says it works, try comparing 385 a friend, and he says it works, try comparing
386 <application>md5sum</application> hashes. 386 <application>md5sum</application> hashes.
387 </para></answer>
388 </qandaentry>
389
390 <qandaentry>
391 <question><para>
392 I've just installed <application>MPlayer</application>. When I want to
393 open a video file it causes a fatal error:
394 <screen>
395 Error opening/initializing the selected video_out (-vo) device.
396 </screen>
397 How can I solve my problem?
398 </para></question>
399 <answer><para>
400 Just change your video output device. Issue the following command to get
401 a list of available video output drivers:
402 <screen>
403 mplayer -vo help
404 </screen>
405 After you've chosen the correct video output driver, add it to
406 your configuration file. Add
407 <programlisting>
408 vo = <replaceable>selected_vo</replaceable>
409 </programlisting>
410 to <filename>~/.mplayer/config</filename> and/or
411 <programlisting>
412 vo_driver = <replaceable>selected_vo</replaceable>
413 </programlisting>
414 to <filename>~/.mplayer/gui.conf</filename>.
415 </para></answer> 387 </para></answer>
416 </qandaentry> 388 </qandaentry>
417 389
418 <qandaentry> 390 <qandaentry>
419 <question><para> 391 <question><para>
488 </para></answer> 460 </para></answer>
489 </qandaentry> 461 </qandaentry>
490 462
491 <qandaentry> 463 <qandaentry>
492 <question><para> 464 <question><para>
493 ... works with <application>xine/vlc/...</application> but doesn't with 465 <application>MPlayer</application> dies with
494 <application>MPlayer</application>. 466 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen>
495 </para></question> 467 </para></question>
496 <answer><para> 468 <answer><para>
497 <application>MPlayer</application> is not <application>xine/vlc/...</application>. 469 Don't use <application>MPlayer</application> on a CPU different from the one
498 Although these players have some code in common, the codecs (DLL) set, 470 it was compiled on or recompile with runtime CPU detection
499 synchronization, demultiplexing etc is different and should not be 471 (<command>./configure --enable-runtime-cpudetection</command>).
500 compared. If you have a file <application>MPlayer</application> fails to 472 </para></answer>
501 play correctly but works in another player, please read the 473 </qandaentry>
502 <link linkend="bugreports">bug reporting guidelines</link> and upload 474
503 the file to our FTP server. 475 <qandaentry>
476 <question><para>
477 When I try to grab from my tuner, it works, but colors are strange. It's OK with other
478 applications.
479 </para></question>
480 <answer><para>
481 Your card probably reports some colorspaces as supported when in fact
482 it does not support them. Try with YUY2 instead of the
483 default YV12 (see the <link linkend="tv-input">TV</link> section).
484 </para></answer>
485 </qandaentry>
486
487 <qandaentry>
488 <question><para>
489 I get very strange percentage values (way too big) while playing files on my notebook.
490 </para></question>
491 <answer><para>
492 It's an effect of the power management / power saving system of your notebook
493 (BIOS, not kernel). Plug the external power connector in
494 <emphasis role="bold">before</emphasis> you power on your notebook. You can also
495 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink>
496 (a SpeedStep interface for Linux) helps you.
497 </para></answer>
498 </qandaentry>
499
500 <qandaentry>
501 <question><para>
502 The audio/video gets totally out of sync when I run <application>MPlayer</application>
503 as root on my notebook. It works normal when i run it as a user.
504 </para></question>
505 <answer><para>
506 This is again a power management effect (see above). Plug the external power
507 connector in <emphasis role="bold">before</emphasis> you power on your notebook
508 or use the <option>-nortc</option> option.
509 </para></answer>
510 </qandaentry>
511
512 <qandaentry>
513 <question><para>
514 While playing a movie it suddenly gets jerky and I get the following message:
515 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen>
516 </para></question>
517 <answer><para>
518 Badly interleaved files and <option>-cache</option> don't work well together.
519 Try <option>-nocache</option>.
520 </para></answer>
521 </qandaentry>
522 </qandadiv>
523
524 <qandadiv id="faq-driver">
525 <title>Video/audio driver problems (vo/ao)</title>
526
527 <qandaentry>
528 <question><para>
529 I've just installed <application>MPlayer</application>. When I want to
530 open a video file it causes a fatal error:
531 <screen>
532 Error opening/initializing the selected video_out (-vo) device.
533 </screen>
534 How can I solve my problem?
535 </para></question>
536 <answer><para>
537 Just change your video output device. Issue the following command to get
538 a list of available video output drivers:
539 <screen>
540 mplayer -vo help
541 </screen>
542 After you've chosen the correct video output driver, add it to
543 your configuration file. Add
544 <programlisting>
545 vo = <replaceable>selected_vo</replaceable>
546 </programlisting>
547 to <filename>~/.mplayer/config</filename> and/or
548 <programlisting>
549 vo_driver = <replaceable>selected_vo</replaceable>
550 </programlisting>
551 to <filename>~/.mplayer/gui.conf</filename>.
552 </para></answer>
553 </qandaentry>
554
555 <qandaentry>
556 <question><para>
557 I have problems with <replaceable>[your window manager]</replaceable>
558 and fullscreen xv/xmga/sdl/x11 modes ...
559 </para></question>
560 <answer><para>
561 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us
562 a proper bug report.
563 Also try experimenting with the <option>-fstype</option> option.
504 </para></answer> 564 </para></answer>
505 </qandaentry> 565 </qandaentry>
506 566
507 <qandaentry> 567 <qandaentry>
508 <question><para> 568 <question><para>
527 </para></answer> 587 </para></answer>
528 </qandaentry> 588 </qandaentry>
529 589
530 <qandaentry> 590 <qandaentry>
531 <question><para> 591 <question><para>
532 <application>MPlayer</application> dies with 592 How can I use <application>dmix</application> with
533 <screen>MPlayer interrupted by signal 4 in module: decode_video</screen> 593 <application>MPlayer</application>?
534 </para></question> 594 </para></question>
535 <answer><para> 595 <answer><para>
536 Don't use <application>MPlayer</application> on a CPU different from the one 596 After setting up your
537 it was compiled on or recompile with runtime CPU detection 597 <ulink url="http://alsa.opensrc.org/index.php?page=DmixPlugin">asoundrc</ulink>
538 (<command>./configure --enable-runtime-cpudetection</command>). 598 you have to use <option>-ao alsa:device=dmix</option>.
539 </para></answer> 599 </para></answer>
540 </qandaentry> 600 </qandaentry>
541 601
542 <qandaentry> 602 <qandaentry>
543 <question><para> 603 <question><para>
544 I have problems with <replaceable>[your window manager]</replaceable> 604 I have no sound when playing a video and get error messages similar to this one:
545 and fullscreen xv/xmga/sdl/x11 modes ... 605 <screen>
546 </para></question> 606 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
547 <answer><para> 607 audio_setup: Can't open audio device /dev/dsp: Device or resource busy
548 Read the <link linkend="bugreports">bug reporting guidelines</link> and send us 608 couldn't open/init audio device -> NOSOUND
549 a proper bug report. 609 Audio: no sound!!!
550 Also try experimenting with the <option>-fstype</option> option. 610 Start playing...
611 </screen>
612 </para></question>
613 <answer><para>
614 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling
615 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option>
616 option to make <application>MPlayer</application> use ARTS or ESD.
617 You might also be running ALSA without OSS emulation, try loading the ALSA OSS
618 kernel modules or add <option>-ao alsa</option> to your command line to
619 directly use the ALSA audio output driver.
551 </para></answer> 620 </para></answer>
552 </qandaentry> 621 </qandaentry>
553 622
554 <qandaentry> 623 <qandaentry>
555 <question><para> 624 <question><para>
561 video starts or disable the arts-daemon in control center. If you want to use 630 video starts or disable the arts-daemon in control center. If you want to use
562 arts sound, specify audio output via our native arts audio driver 631 arts sound, specify audio output via our native arts audio driver
563 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL 632 (<option>-ao arts</option>). If it fails or isn't compiled in, try SDL
564 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet 633 (<option>-ao sdl</option>) and make sure your SDL can handle arts sound. Yet
565 another option is to start <application>MPlayer</application> with artsdsp. 634 another option is to start <application>MPlayer</application> with artsdsp.
635 </para></answer>
636 </qandaentry>
637
638 <qandaentry>
639 <question><para>
640 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed!
641 </para></question>
642 <answer><para>
643 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you
644 try to play a file which has 22050Hz audio. Try the resample audio filter.
566 </para></answer> 645 </para></answer>
567 </qandaentry> 646 </qandaentry>
568 647
569 <qandaentry> 648 <qandaentry>
570 <question><para> 649 <question><para>
590 Your sound driver is buggy. See the <link linkend="audio">audio section</link>. 669 Your sound driver is buggy. See the <link linkend="audio">audio section</link>.
591 </para></listitem> 670 </para></listitem>
592 </itemizedlist> 671 </itemizedlist>
593 </para></answer> 672 </para></answer>
594 </qandaentry> 673 </qandaentry>
595
596 <qandaentry>
597 <question><para>
598 When I try to grab from my tuner, it works, but colors are strange. It's OK with other
599 applications.
600 </para></question>
601 <answer><para>
602 Your card probably reports some colorspaces as supported when in fact
603 it does not support them. Try with YUY2 instead of the
604 default YV12 (see the <link linkend="tv-input">TV</link> section).
605 </para></answer>
606 </qandaentry>
607
608 <qandaentry>
609 <question><para>
610 I have A/V sync problems. Some of my AVIs play fine, but some play with double speed!
611 </para></question>
612 <answer><para>
613 You have a buggy sound card/driver. Most likely it's fixed at 44100Hz, and you
614 try to play a file which has 22050Hz audio. Try the resample audio filter.
615 </para></answer>
616 </qandaentry>
617
618 <qandaentry>
619 <question><para>
620 I get very strange percentage values (way too big) while playing files on my notebook.
621 </para></question>
622 <answer><para>
623 It's an effect of the power management / power saving system of your notebook
624 (BIOS, not kernel). Plug the external power connector in
625 <emphasis role="bold">before</emphasis> you power on your notebook. You can also
626 try whether <ulink url="http://www.brodo.de/cpufreq/">cpufreq</ulink>
627 (a SpeedStep interface for Linux) helps you.
628 </para></answer>
629 </qandaentry>
630
631 <qandaentry>
632 <question><para>
633 The audio/video gets totally out of sync when I run <application>MPlayer</application>
634 as root on my notebook. It works normal when i run it as a user.
635 </para></question>
636 <answer><para>
637 This is again a power management effect (see above). Plug the external power
638 connector in <emphasis role="bold">before</emphasis> you power on your notebook
639 or use the <option>-nortc</option> option.
640 </para></answer>
641 </qandaentry>
642
643 <qandaentry>
644 <question><para>
645 While playing a movie it suddenly gets jerky and I get the following message:
646 <screen>Badly interleaved AVI file detected - switching to -ni mode...</screen>
647 </para></question>
648 <answer><para>
649 Badly interleaved files and <option>-cache</option> don't work well together.
650 Try <option>-nocache</option>.
651 </para></answer>
652 </qandaentry>
653 </qandadiv>
654
655 <qandadiv id="faq-driver">
656 <title>Video/audio driver problems (vo/ao)</title>
657
658 <qandaentry>
659 <question><para>
660 How can I use <application>dmix</application> with
661 <application>MPlayer</application>?
662 </para></question>
663 <answer><para>
664 After setting up your
665 <ulink url="http://alsa.opensrc.org/index.php?page=DmixPlugin">asoundrc</ulink>
666 you have to use <option>-ao alsa:device=dmix</option>.
667 </para></answer>
668 </qandaentry>
669
670 <qandaentry>
671 <question><para>
672 I have no sound when playing a video and get error messages similar to this one:
673 <screen>
674 AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
675 audio_setup: Can't open audio device /dev/dsp: Device or resource busy
676 couldn't open/init audio device -> NOSOUND
677 Audio: no sound!!!
678 Start playing...
679 </screen>
680 </para></question>
681 <answer><para>
682 Are you running KDE or GNOME with the ARTS or ESD sound daemon? Try disabling
683 the sound daemon or use the <option>-ao arts</option> or <option>-ao esd</option>
684 option to make <application>MPlayer</application> use ARTS or ESD.
685 You might also be running ALSA without OSS emulation, try loading the ALSA OSS
686 kernel modules or add <option>-ao alsa</option> to your command line to
687 directly use the ALSA audio output driver.
688 </para></answer>
689 </qandaentry>
690 </qandadiv> 674 </qandadiv>
691 675
692 <qandadiv id="faq-dvd"> 676 <qandadiv id="faq-dvd">
693 <title>DVD playback</title> 677 <title>DVD playback</title>
694 <qandaentry> 678 <qandaentry>