summaryrefslogtreecommitdiffstats
path: root/DOCS/DXR3
blob: b9a01ed180ef5473ab1729ecd6b22d7065c2a896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
How to use a Sigma Designs Hollywood Plus and/or a Creative DXR3 (by David Holm)
================================================================================

Thanks goes out to Daniel Bell for the donation of a brand new 20GB IBM
harddisk.

1. Requirements

 * First of all you will need properly installed DXR3/H+ drivers, version
   0.12.0 or later. You can find them at
   http://dxr3.sourceforge.net/
   (You only need to run "make install devices" in em8300-x.y.z/modules,
    not in the root directory.)

 * Run <mplayerdir>/configure and make sure that DXR3/H+ support = yes.
   If you want to play files other than MPEG I highly recommend you install
   libavcodec as well (Read DOCS/codecs.html for more info).
   
 From here on compilation (at least of my code ;)) should go without any
 problems.



2. Usage

  -vo dxr3:<noprebuf>:<codec>:<device>  Where noprebuf specifies turning off
				        prebuffering. This is done automatically
					on Athlons. If playback is out of sync
					try disabling prebuffering. If noprebuf
					is left out prebuffering is enabled
					(except on Athlons).
					
					<codec> = fame/avcodec, avcodec produces
					better quality output, but fame is
					faster for those of you with slow
					machines. The default is to use
					libavcodec. Note that you need
					properly installed libavcodec (read
					DOCS/codecs.html)
					
					<device> = device number to use in case
					you have more than one em8300 card
					
					Any of these options may be left out,
					but they must be specified in this order
					i.e. dxr3:fame works, dxr3:1 works but
					dxr3:1:avcodec will not.
					These new features were added by XorA,
					he usually hangs out in #dxr3 on
					irc.openprojects.net, let him know
					you like it...

  -ao oss:/dev/em8300_ma-X		For audio output, where X is the device
					number (0 if one card).

  -ac hwac3				For digital instead of analog audio
                                        output.

  -vc mpegpes				Force hardware acceleration, only works
					with MPEG1/2.

  -aop list=resample:fout=xxxxx 	If sample rate is below 44100Hz, select
					either 44100Hz or 48000Hz depending on
					which which one matches closest. I.e.
					if the movie uses 22050Hz use 44100Hz as
					44100 / 2 = 22050, if it is 24000Hz use
					48000Hz as 48000 / 2 = 24000 and so on.
 					This does not work with digital audio
					output (-ac hwac3).


Overlay

To get overlay run dxr3view that comes with the em8300 package before starting
MPlayer. You can set various options in dxr3view by pressing T while holding
the mouse cursor above the window.


MPEG-1, MPEG-2, VCD and DVD Notes

MPEG 1/2 content should now automatically be detected by MPlayer and it will
use the hardware acceleration of the DXR3 to play it. If not, you can force
it to hardware acceleration with '-vc mpegpes'. Also, if you plan to use any
postprocessing filters you must use '-vc mpeg12'.

In some instances, subtitles may not appear properly in sync with the A/V stream
when using hardware decoding ('-vc mpegpes'). This is a known bug. The em8300
will also improperly handle subtitles that are too big, and may hang for a second
or two. At this time, the only workaround is to use '-vc mpeg12' when viewing
DVDs with subtitles.

3. Contacting me

You can contact me either by e-mailing <dholm@telia.com> or by using
ICQ: 798427
Feedback, bug reports and general suggestions are appreciated (preferably
by e-mail).