Mercurial > mplayer.hg
annotate DOCS/DXR3 @ 4073:5f28d9d7d346
Changed the return value of the start function. Doesn't return the fd
anymore. Just -1 for fail and 0 for OK.
author | bertrand |
---|---|
date | Thu, 10 Jan 2002 01:42:31 +0000 |
parents | 4bf012cfd6ef |
children | 2a2ac3026aee |
rev | line source |
---|---|
2646 | 1 DXR3/H+ video/audio output plugins manual by David Holm |
2 ======================================================= | |
3 | |
4007 | 4 2002-01-06: I've started working on config support. |
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 | |
3872
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
11 2001-12-28: There is a whole bunch of updates since the |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
12 last time. For one thing, digital audio now |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
13 works thanks to Steven Brookes. |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
14 This is the first version to exclusively |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
15 use the dxr3's hardware sync. It seems as if |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
16 there are some bugs in the driver, so bugreports |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
17 will be appreciated. |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
18 Also, you will need to get the em8300 drivers |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
19 from cvs unless a version newer than 0.9.0 has |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
20 been released. |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
21 Note1: Seeking won't work with -vc mpegpes! |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
22 Note2: You now MUST use -ao dxr3 for proper |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
23 a/v sync! |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
24 |
3330
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
25 2001-12-04: Thanks to Inaki Garci'a Etxebarria of |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
26 zapping.sourceforge.net we have now |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
27 abandoned rte since it caused problems for |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
28 users who didn't rtfm and compiled it with |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
29 ffmpeg support. Instead we are now using |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
30 libmp1e which is a modified version of mp1e. |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
31 |
2646 | 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). | |
3330
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
60 |
2646 | 61 |
62 | |
63 2. Requirements | |
64 | |
3330
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
65 * First of all you will need the DXR3/H+ drivers properly installed. |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
66 Version 0.9.0 or later |
2646 | 67 |
3330
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
68 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes |
2646 | 69 |
3208 | 70 From here on compilation (of at least my code ;) should go without any |
2646 | 71 problems. |
72 | |
73 | |
2770 | 74 |
2646 | 75 3. Usage |
76 | |
77 After installation you will have two new outdevices in mplayer: | |
78 -vo dxr3 For video output | |
3186 | 79 -ao dxr3 For audio output |
2646 | 80 |
2770 | 81 MPEG-1, MPEG-2, VCD and DVD Notes |
2646 | 82 There are some notes to take into account here for optimum playback. |
83 When playing any mpeg-(1/2) file, this including usage of the "-dvd" | |
84 and "-vcd" options you must either add the "-vc mpegpes" or edit | |
85 codecs.conf and make sure videocodec mpegpes is listed above mpeg12. | |
86 If you fail to do this you will only get software playback which kinda | |
87 spoils most of the useful features of this card except for tv-out ;). | |
88 Remember that if you edit the codecs.conf file and move the mpegpes | |
89 section will have to specify "-vc mpeg12" if you want to playback | |
2770 | 90 any of these video types _without_ "-vo dxr3"! |
3872
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
91 Use -ac hwac3 if you want AC3 audio to be handled by hardware (please |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
92 send some feedback on this). |
2646 | 93 |
2770 | 94 DIVX Notes |
3208 | 95 When playing divx's add "-vc odivx" for maximum performance. |
3201 | 96 I've switched to mp1e from ffmpeg so it should be lightning fast now. |
3872
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
97 libmp1e currently does not work on nonx86 processor and nonmmx processors. |
340dfa9544bf
applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents:
3330
diff
changeset
|
98 I'm in the process of fixing this. |
2770 | 99 |
3186 | 100 Other codecs: |
3208 | 101 No "-vc <codec>" switches should be required as mplayer will autodetect. |
102 If you find an unsupported codec please contact me! | |
2646 | 103 |
3330
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
104 * Avoid running mplayer as root or setuid root as rtc timing seems to |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
105 slow down playback on the dxr3 for some users. I will look into this |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
106 at a later point as this hardly qualifies as a severe bug * |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
107 |
aba69e4a76b8
Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents:
3208
diff
changeset
|
108 |
2646 | 109 |
3186 | 110 4. Contacting me |
2646 | 111 |
2770 | 112 You can contact me either by e-mailing me, <dholm@iname.com> or by using |
2646 | 113 icq: 798427 |
2770 | 114 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 | |
116 reading a heading. ;) | |
2646 | 117 |
118 |