Mercurial > mplayer.hg
comparison DOCS/DXR3 @ 4096:2a2ac3026aee
fight with the access rights - patch by Holm
author | arpi |
---|---|
date | Fri, 11 Jan 2002 22:31:36 +0000 |
parents | 4bf012cfd6ef |
children | ac62f8534409 |
comparison
equal
deleted
inserted
replaced
4095:a3f3858b8c15 | 4096:2a2ac3026aee |
---|---|
1 DXR3/H+ video/audio output plugins manual by David Holm | 1 How to use a Sigma Designs Hollywood Plus and/or a Creative DXR3 by David Holm |
2 ======================================================= | 2 ============================================================================== |
3 | 3 |
4 2002-01-06: I've started working on config support. | 4 1. Requirements |
5 You can try -vo dxr3:swsync to disable hardware | |
6 syncing and use mplayers software syncer instead. | |
7 I'd like some feedback on which one works best | |
8 on your particular machine =). (I recommend | |
9 using em8300 0.10 or later) | |
10 | |
11 2001-12-28: There is a whole bunch of updates since the | |
12 last time. For one thing, digital audio now | |
13 works thanks to Steven Brookes. | |
14 This is the first version to exclusively | |
15 use the dxr3's hardware sync. It seems as if | |
16 there are some bugs in the driver, so bugreports | |
17 will be appreciated. | |
18 Also, you will need to get the em8300 drivers | |
19 from cvs unless a version newer than 0.9.0 has | |
20 been released. | |
21 Note1: Seeking won't work with -vc mpegpes! | |
22 Note2: You now MUST use -ao dxr3 for proper | |
23 a/v sync! | |
24 | |
25 2001-12-04: Thanks to Inaki Garci'a Etxebarria of | |
26 zapping.sourceforge.net we have now | |
27 abandoned rte since it caused problems for | |
28 users who didn't rtfm and compiled it with | |
29 ffmpeg support. Instead we are now using | |
30 libmp1e which is a modified version of mp1e. | |
31 | |
32 1. Introduction | |
33 | |
34 The DXR3 and Hollywood+ are two not too different mpeg-(1/2) and ac3 | |
35 hardware playback cards that came at about the same time as the first | |
36 dvd-rom drives hit the market. At that time most computers weren't | |
37 powerful enough for synced software dvd playback. And even the faster | |
38 (intel-based) computers had troubles with artifacts. | |
39 Sigma Designs came up with the great idea to create a hardware | |
40 mpeg-(1/2), ac3 decoder. Sigma Designs are known for their realmagic | |
41 hardware (or they bought the company who came up with the first | |
42 realmagic boards, I don't know which). | |
43 Later Creative Labs thought, hey, we also wan't this product, and to | |
44 distribute it with our dvd-drives (the DVD Encore packages if I recall | |
45 correctly). So they bought the designs for the Hollywood plus and | |
46 replaced the circuit used to produce a proper video feed for tv's | |
47 called adv7170 or adv7175a depending on which h+ board you own with | |
48 a bt865. The reason for this is beyond my understanding as this seems | |
49 complete illogical to me, but I have had great experiences with | |
50 bt(brooktree) circuits in the past, so I don't mind. | |
51 Well, nowadays most people have no use for a mpeg-(1/2) or ac3 | |
52 hardware decoder since most computers these days have no problem doing | |
53 this in software and have cycles left for posprocessing (removing of | |
54 artefacts and other garbage produced by compression). | |
55 These days, you have two uses for this card: | |
56 1. You have a slow computer which you use for vcd/dvd playback | |
57 2. You discover what I have done with the implementation of this as | |
58 an audio/video output device for mplayer (read on and you'll find | |
59 out). | |
60 | |
61 | |
62 | |
63 2. Requirements | |
64 | 5 |
65 * First of all you will need the DXR3/H+ drivers properly installed. | 6 * First of all you will need the DXR3/H+ drivers properly installed. |
66 Version 0.9.0 or later | 7 Version 0.10.0 or later. You can find it at |
8 http://dxr3.sourceforge.net/ | |
67 | 9 |
68 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes | 10 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes |
11 if you want to play files other than mpeg libmp1e should be = yes as well | |
69 | 12 |
70 From here on compilation (of at least my code ;) should go without any | 13 From here on compilation (of at least my code ;) should go without any |
71 problems. | 14 problems. |
72 | 15 |
73 | 16 |
74 | 17 |
75 3. Usage | 18 2. Usage |
76 | 19 |
77 After installation you will have two new outdevices in mplayer: | 20 -vo dxr3:<devicenum> For video output |
78 -vo dxr3 For video output | 21 -ao oss:<devicefile> For audio output |
79 -ao dxr3 For audio output | 22 -ac hwac3 For digital audio output instead of analog |
23 -vc mpegpes For mpeg playback | |
24 <devicenum> Number of device to use for playback (if you | |
25 have more than one card.). This can usually | |
26 be left out (-vo dxr3). | |
27 Mandrake 8.1 uses devfs by default. If you are | |
28 running mandrake 8.1 please use -vo dxr3:0 | |
29 <devicefile> Normally /dev/em8300_ma or | |
30 /dev/em8300_ma-<devicenum> | |
31 (-ao dxr3:/dev/em8300_ma). If left out the | |
32 default oss device will be used (normally | |
33 soundcard). | |
80 | 34 |
81 MPEG-1, MPEG-2, VCD and DVD Notes | 35 MPEG-1, MPEG-2, VCD and DVD Notes |
82 There are some notes to take into account here for optimum playback. | 36 There are some important notes to take into account here for optimum playback. |
83 When playing any mpeg-(1/2) file, this including usage of the "-dvd" | 37 MPlayer currently does not autodetect that the dxr3 can playback mpegs. So for |
84 and "-vcd" options you must either add the "-vc mpegpes" or edit | 38 mpeg files, dvd's and vcd's you have to add -vc mpegpes to tell mplayer that |
85 codecs.conf and make sure videocodec mpegpes is listed above mpeg12. | 39 you are using a hardware accelerator. Otherwise mplayer will decode the movie |
86 If you fail to do this you will only get software playback which kinda | 40 in software, which is much slower. |
87 spoils most of the useful features of this card except for tv-out ;). | 41 Note that you cannot use -vc mpegpes with movies that aren't mpeg 1 or 2 or |
88 Remember that if you edit the codecs.conf file and move the mpegpes | 42 you will get an error message saying "Can't find codec for video format...". |
89 section will have to specify "-vc mpeg12" if you want to playback | |
90 any of these video types _without_ "-vo dxr3"! | |
91 Use -ac hwac3 if you want AC3 audio to be handled by hardware (please | |
92 send some feedback on this). | |
93 | 43 |
94 DIVX Notes | 44 * If you run mplayer as root, or set userid root it will use your pc's internal |
95 When playing divx's add "-vc odivx" for maximum performance. | 45 realtime clockgenerator for syncing. (If your kernel supports it (It's |
96 I've switched to mp1e from ffmpeg so it should be lightning fast now. | 46 located in character devices and called "Enhanced realtime clock support")). |
97 libmp1e currently does not work on nonx86 processor and nonmmx processors. | 47 Some people report that this has improved playback (which it should), but |
98 I'm in the process of fixing this. | 48 others have had problems with it. You will have to experiment yourself with |
99 | 49 this to find your optimum setup. |
100 Other codecs: | |
101 No "-vc <codec>" switches should be required as mplayer will autodetect. | |
102 If you find an unsupported codec please contact me! | |
103 | |
104 * Avoid running mplayer as root or setuid root as rtc timing seems to | |
105 slow down playback on the dxr3 for some users. I will look into this | |
106 at a later point as this hardly qualifies as a severe bug * | |
107 | 50 |
108 | 51 |
109 | 52 |
110 4. Contacting me | 53 3. Contacting me |
111 | 54 |
112 You can contact me either by e-mailing me, <dholm@iname.com> or by using | 55 You can contact me either by e-mailing me, <dholm@iname.com> or by using |
113 icq: 798427 | 56 icq: 798427 |
114 Feedback, bugreports and general suggestions are appreciated (preferably | 57 Feedback, bugreports and general suggestions are appreciated (preferably |
115 by e-mail). My name is David Holm for those of you who are incapable of | 58 by e-mail). |
116 reading a heading. ;) | |
117 | |
118 |