comparison DOCS/DXR3 @ 2646:bbda31b5433b

dxr3 instructions by David Holm <dholm@telia.com>
author arpi
date Sat, 03 Nov 2001 02:43:37 +0000
parents
children b9732eaa82d9
comparison
equal deleted inserted replaced
2645:9d8d69fc517c 2646:bbda31b5433b
1 DXR3/H+ video/audio output plugins manual by David Holm
2 =======================================================
3
4 1. Introduction
5
6 The DXR3 and Hollywood+ are two not too different mpeg-(1/2) and ac3
7 hardware playback cards that came at about the same time as the first
8 dvd-rom drives hit the market. At that time most computers weren't
9 powerful enough for synced software dvd playback. And even the faster
10 (intel-based) computers had troubles with artifacts.
11 Sigma Designs came up with the great idea to create a hardware
12 mpeg-(1/2), ac3 decoder. Sigma Designs are known for their realmagic
13 hardware (or they bought the company who came up with the first
14 realmagic boards, I don't know which).
15 Later Creative Labs thought, hey, we also wan't this product, and to
16 distribute it with our dvd-drives (the DVD Encore packages if I recall
17 correctly). So they bought the designs for the Hollywood plus and
18 replaced the circuit used to produce a proper video feed for tv's
19 called adv7170 or adv7175a depending on which h+ board you own with
20 a bt865. The reason for this is beyond my understanding as this seems
21 complete illogical to me, but I have had great experiences with
22 bt(brooktree) circuits in the past, so I don't mind.
23 Well, nowadays most people have no use for a mpeg-(1/2) or ac3
24 hardware decoder since most computers these days have no problem doing
25 this in software and have cycles left for posprocessing (removing of
26 artefacts and other garbage produced by compression).
27 These days, you have two uses for this card:
28 1. You have a slow computer which you use for vcd/dvd playback
29 2. You discover what I have done with the implementation of this as
30 an audio/video output device for mplayer (read on and you'll find
31 out).
32
33
34
35 2. Requirements
36
37 * First of all you will need the DXR3/H+ drivers properly installed,
38 including the dev-api.
39 These can be downloaded from dxr3.sourceforge.net
40
41 * <mplayerdir>/libavcodec from ffmpeg (only required if you intend to
42 play formats other than mpeg-(1/2), highly recommended!) there are
43 two ways of doing this:
44 1. Download and install ffmpeg from ffmpeg.sourceforge.net.
45 Configure it with --enable-shared
46 2. Download ffmpeg from ffmpeg.sourceforge.net, copy the entire
47 contents from <ffmpegdir>/libavcodec into <mplayer>/libavcodec
48 (symlinking won't work!). Then edit <mplayerdir>/libavcodec/utils.c
49 and move the line containing register_avcodec(&mpeg1video_encoder);
50 out of the CONFIG_ENCODERS #ifdef block and place it outside, for
51 instance below register_avcodec(&rawvideo_encoder);
52
53 * Run <mplayerdir>/configure and make sure that DXR3/H+ support =yes
54 and optionally that libavcodec or ffmpeg.so = yes
55
56 From here on compilation (of at least my code ;) should go without
57 problems.
58
59
60
61 3. Usage
62
63 After installation you will have two new outdevices in mplayer:
64 -vo dxr3 For video output
65 -ao dxr3 For audio output
66
67 There are some notes to take into account here for optimum playback.
68 When playing any mpeg-(1/2) file, this including usage of the "-dvd"
69 and "-vcd" options you must either add the "-vc mpegpes" or edit
70 codecs.conf and make sure videocodec mpegpes is listed above mpeg12.
71 If you fail to do this you will only get software playback which kinda
72 spoils most of the useful features of this card except for tv-out ;).
73 Remember that if you edit the codecs.conf file and move the mpegpes
74 section will have to specify "-vc mpeg12" if you want to playback
75 any of these video types without "-vo dxr3"!
76
77 If you ever get a codec unsupported message, lookup the codec in the
78 codecs.conf file (search for "videocodec <codecname>"), copy the entire
79 codec section and send it to me and I'll make sure it works with the
80 next patch (or the next after that if I have a thousand things to take
81 care of first ;) my e-mail is at the bottom of this page.
82
83
84
85 4. Todo
86
87 * Make the osd use the subpic feature of the dxr3 (High)
88 * Overlay output (Medium)
89 * Driver options (Medium)
90 * Add an onscreen menu for "live" performance tuning (Low)
91
92 (yuv2rgb (24bpp) asm optimizations, not my job though... but
93 this will improve playback of anything not mpeg-(1/2) for us
94 all)
95
96
97
98 5. Contacting me
99
100 You can contact me either by e-mailing me, dholm@iname.com or by using
101 icq: 798427
102 Feedback, bugreports and general suggestions are appreciated
103 (preferably by e-mail)
104 My name is David Holm for those of you who are incapable of reading
105 a heading. ;)
106
107
108
109