annotate DOCS/DXR3 @ 3927:b8e0fee75aec

some fixes
author gabucino
date Tue, 01 Jan 2002 17:35:09 +0000
parents 340dfa9544bf
children 4bf012cfd6ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
1 DXR3/H+ video/audio output plugins manual by David Holm
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
2 =======================================================
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
3
3872
340dfa9544bf applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents: 3330
diff changeset
4 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
5 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
6 works thanks to Steven Brookes.
340dfa9544bf applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents: 3330
diff changeset
7 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
8 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
9 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
10 will be appreciated.
340dfa9544bf applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents: 3330
diff changeset
11 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
12 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
13 been released.
340dfa9544bf applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents: 3330
diff changeset
14 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
15 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
16 a/v sync!
340dfa9544bf applied Holm's patch (somebody give him write to this file! ASAP!;))
gabucino
parents: 3330
diff changeset
17
3330
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
18 2001-12-04: Thanks to Inaki Garci'a Etxebarria of
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
19 zapping.sourceforge.net we have now
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
20 abandoned rte since it caused problems for
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
21 users who didn't rtfm and compiled it with
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
22 ffmpeg support. Instead we are now using
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
23 libmp1e which is a modified version of mp1e.
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
24
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
25 2001-11-29: Thanks to Felix Buenemann I managed to
3208
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
26 optimize the odivx playback as well as add
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
27 support for the rest of the codecs!
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
28
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
29 1. Introduction
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
30
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
31 The DXR3 and Hollywood+ are two not too different mpeg-(1/2) and ac3
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
32 hardware playback cards that came at about the same time as the first
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
33 dvd-rom drives hit the market. At that time most computers weren't
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
34 powerful enough for synced software dvd playback. And even the faster
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
35 (intel-based) computers had troubles with artifacts.
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
36 Sigma Designs came up with the great idea to create a hardware
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
37 mpeg-(1/2), ac3 decoder. Sigma Designs are known for their realmagic
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
38 hardware (or they bought the company who came up with the first
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
39 realmagic boards, I don't know which).
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
40 Later Creative Labs thought, hey, we also wan't this product, and to
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
41 distribute it with our dvd-drives (the DVD Encore packages if I recall
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
42 correctly). So they bought the designs for the Hollywood plus and
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
43 replaced the circuit used to produce a proper video feed for tv's
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
44 called adv7170 or adv7175a depending on which h+ board you own with
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
45 a bt865. The reason for this is beyond my understanding as this seems
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
46 complete illogical to me, but I have had great experiences with
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
47 bt(brooktree) circuits in the past, so I don't mind.
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
48 Well, nowadays most people have no use for a mpeg-(1/2) or ac3
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
49 hardware decoder since most computers these days have no problem doing
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
50 this in software and have cycles left for posprocessing (removing of
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
51 artefacts and other garbage produced by compression).
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
52 These days, you have two uses for this card:
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
53 1. You have a slow computer which you use for vcd/dvd playback
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
54 2. You discover what I have done with the implementation of this as
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
55 an audio/video output device for mplayer (read on and you'll find
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
56 out).
3330
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
57
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
58
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
59
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
60 2. Requirements
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
61
3330
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
62 * 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
63 Version 0.9.0 or later
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
64
3330
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
65 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
66
3208
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
67 From here on compilation (of at least my code ;) should go without any
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
68 problems.
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
69
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
70
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
71
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
72 3. Usage
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
73
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
74 After installation you will have two new outdevices in mplayer:
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
75 -vo dxr3 For video output
3186
1d4fb4d9aab5 Patch by D. Holm to make audio with dxr3 working.
atmos4
parents: 2770
diff changeset
76 -ao dxr3 For audio output
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
77
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
78 MPEG-1, MPEG-2, VCD and DVD Notes
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
79 There are some notes to take into account here for optimum playback.
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
80 When playing any mpeg-(1/2) file, this including usage of the "-dvd"
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
81 and "-vcd" options you must either add the "-vc mpegpes" or edit
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
82 codecs.conf and make sure videocodec mpegpes is listed above mpeg12.
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
83 If you fail to do this you will only get software playback which kinda
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
84 spoils most of the useful features of this card except for tv-out ;).
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
85 Remember that if you edit the codecs.conf file and move the mpegpes
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
86 section will have to specify "-vc mpeg12" if you want to playback
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
87 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
88 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
89 send some feedback on this).
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
90
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
91 DIVX Notes
3208
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
92 When playing divx's add "-vc odivx" for maximum performance.
3201
039a973b3dda Newest DXR3 patch (improved 1.0rc2) by David Holm.
atmos4
parents: 3186
diff changeset
93 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
94 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
95 I'm in the process of fixing this.
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
96
3186
1d4fb4d9aab5 Patch by D. Holm to make audio with dxr3 working.
atmos4
parents: 2770
diff changeset
97 Other codecs:
3208
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
98 No "-vc <codec>" switches should be required as mplayer will autodetect.
98a587aaf505 Support for YV12 with DXR3, patch by D. Holm.
atmos4
parents: 3201
diff changeset
99 If you find an unsupported codec please contact me!
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
100
3330
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
101 * 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
102 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
103 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
104
aba69e4a76b8 Update regarding linmp1e usage, submitted by D: Holm
atmos4
parents: 3208
diff changeset
105
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
106
3186
1d4fb4d9aab5 Patch by D. Holm to make audio with dxr3 working.
atmos4
parents: 2770
diff changeset
107 4. Contacting me
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
108
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
109 You can contact me either by e-mailing me, <dholm@iname.com> or by using
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
110 icq: 798427
2770
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
111 Feedback, bugreports and general suggestions are appreciated (preferably
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
112 by e-mail). My name is David Holm for those of you who are incapable of
b9732eaa82d9 DXR3 beta2 patch by David Holm.
atmos4
parents: 2646
diff changeset
113 reading a heading. ;)
2646
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
114
bbda31b5433b dxr3 instructions by David Holm <dholm@telia.com>
arpi
parents:
diff changeset
115