Mercurial > mplayer.hg
comparison DOCS/DXR3 @ 5361:3e81a50e33ff
XorA added the option of switching between fame/avcodec without
recompiling. Docs updated accordingly
author | mswitch |
---|---|
date | Tue, 26 Mar 2002 18:47:42 +0000 |
parents | 974cd3ff4f92 |
children | d72dc493c5d3 |
comparison
equal
deleted
inserted
replaced
5360:40f87aaaa2f3 | 5361:3e81a50e33ff |
---|---|
5 harddisk. | 5 harddisk. |
6 | 6 |
7 1. Requirements | 7 1. Requirements |
8 | 8 |
9 * First of all you will need the DXR3/H+ drivers properly installed. | 9 * First of all you will need the DXR3/H+ drivers properly installed. |
10 Version 0.10.0 or later. You can find it at | 10 Version 0.12.0 or later. You can find it at |
11 http://dxr3.sourceforge.net/ | 11 http://dxr3.sourceforge.net/ |
12 (you only need to run "make install devices" in em8300-x.y.z/modules | |
13 not in the root dir) | |
12 | 14 |
13 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes | 15 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes |
14 if you want to play files other than mpeg libmp1e should be = yes as well | 16 if you want to play files other than mpeg libmp1e should be = yes as well |
15 | 17 |
16 From here on compilation (of at least my code ;) should go without any | 18 From here on compilation (of at least my code ;) should go without any |
17 problems. | 19 problems. |
18 | 20 |
19 | 21 |
20 | 22 |
21 2. Usage | 23 2. Usage |
22 | 24 -vo dxr3:<noprebuf>:<codec>:<device>Where noprebuf specifies to turn off |
23 -vo dxr3:<devicenum> For video output :<devicenum> is not | 25 prebuffering. This is done automatically |
24 needed unless you have more than one | 26 on athlons. If playback is out of sync |
25 em8300 device in your computer | 27 try disabling prebuffering. If noprebuf |
26 -vo dxr3:noprebuf Turn of prebuffering. This is only | 28 is left out prebuffering is enabled |
27 needed if you are having sync issues | 29 (except on athlons). |
28 with normal playback, this will make | 30 |
29 playback appear less smooth and will | 31 <codec> = fame/avcodec, avcodec produces |
30 not use all available cpu power when | 32 better quality output, but fame is |
31 playing non-mpeg content. | 33 faster for those of you with slow |
32 * With prebuffering A-V: should be | 34 machines. The default is to use |
33 negative, if it's nonnegative your | 35 libavcodec. Note that you need |
34 computer is too slow to properly | 36 libavcodec properly installed (read |
35 play the video and you should | 37 DOCS/codecs.html) |
36 disble prebuffering if you have | 38 |
37 sync issues. | 39 <device> = device number to use in case |
38 Without prebuffering this value | 40 you have more than one em8300 card |
39 should stay close to 0 at all | 41 |
40 times. | 42 Any of these options may be left out, |
41 * Some very fast computers seems to | 43 but they must be specified in this order |
42 have issues with prebuffering. | 44 i.e. dxr3:fame works, dxr3:1 works but |
43 Blame Sigma for that ;). | 45 dxr3:1:avcodec will not. |
44 You can safely use :noprebuf since | 46 These new features were added by XorA, |
45 your machines are fast enough to give | 47 he usually hangs out in #dxr3 on |
46 you smooth playback anyway. | 48 irc.openprojects.net, let him know |
47 * If you plan to do other stuff that | 49 you like it... |
48 uses resources simultaneously with | 50 -ao oss:/dev/em8300_ma-X For audio output, where X is the device |
49 watching video, this options is | 51 number (0 if one card) |
50 probably preffered as it is much less | |
51 sensitive to syncloss. | |
52 * If you loose sync do a small seek | |
53 (using left/right arrow, it will | |
54 resync) | |
55 -ao oss:<devicefile> For audio output | |
56 -ac hwac3 For digital audio output instead of | 52 -ac hwac3 For digital audio output instead of |
57 analog | 53 analog |
58 -vc mpegpes For mpeg playback | 54 -vc mpegpes For hardware accelerated mpeg playback |
59 -aop list=resample:fout=48000 If samplerate is below 44100Hz | 55 -aop list=resample:fout=48000 If samplerate is below 44100Hz |
60 This does not work with digital audio | 56 This does not work with digital audio |
61 output (-ac hwac3) | 57 output (-ac hwac3) |
62 <devicenum> Number of device to use for playback | |
63 (if you have more than one card.). | |
64 This can usually be left out (-vo dxr3). | |
65 Mandrake 8.1 uses devfs by default. If | |
66 you are running mandrake 8.1 please use | |
67 -vo dxr3:0 | |
68 <devicefile> Normally /dev/em8300_ma or | |
69 /dev/em8300_ma-<devicenum> | |
70 (-ao dxr3:/dev/em8300_ma). If left out | |
71 the default oss device will be used | |
72 (normally soundcard). | |
73 | 58 |
74 MPEG-1, MPEG-2, VCD and DVD Notes | 59 MPEG-1, MPEG-2, VCD and DVD Notes |
75 There are some important notes to take into account here for optimum playback. | 60 There are some important notes to take into account here for optimum playback. |
76 MPlayer currently does not autodetect that the dxr3 can playback mpegs. So for | 61 MPlayer currently does not autodetect that the dxr3 can playback mpegs. So for |
77 mpeg files, dvd's and vcd's you have to add -vc mpegpes to tell mplayer that | 62 mpeg files, dvd's and vcd's you have to add -vc mpegpes to tell mplayer that |
78 you are using a hardware accelerator. Otherwise mplayer will decode the movie | 63 you are using a hardware accelerator. Otherwise mplayer will decode the movie |
79 in software, which is much slower. | 64 in software, which is much slower. |
80 Note that you cannot use -vc mpegpes with movies that aren't mpeg 1 or 2 or | 65 Note that you cannot use -vc mpegpes with movies that aren't mpeg 1 or 2 or |
81 you will get an error message saying "Can't find codec for video format...". | 66 you will get an error message saying "Can't find codec for video format...". |
82 | 67 |
83 * If you run mplayer as root, or set userid root it will use your pc's internal | |
84 realtime clockgenerator for syncing. (If your kernel supports it (It's | |
85 located in character devices and called "Enhanced realtime clock support")). | |
86 Some people report that this has improved playback (which it should), but | |
87 others have had problems with it. You will have to experiment yourself with | |
88 this to find your optimum setup. | |
89 | |
90 | |
91 | 68 |
92 3. Contacting me | 69 3. Contacting me |
93 | 70 |
94 You can contact me either by e-mailing me, <dholm@iname.com> or by using | 71 You can contact me either by e-mailing me, <dholm@iname.com> or by using |
95 icq: 798427 | 72 icq: 798427 |