comparison DOCS/video.html @ 7270:60a3b83b73bf

DXR3 docs updated. Patch by David Holm <david@realityrift.com>, further spelling/consistency fixes by me.
author diego
date Wed, 04 Sep 2002 20:22:07 +0000
parents f771e685f3b1
children cc40fdbb0154
comparison
equal deleted inserted replaced
7269:a5f1baaf7714 7270:60a3b83b73bf
1174 the native OSD feature of DVB cards, as well as more fluent playback of 1174 the native OSD feature of DVB cards, as well as more fluent playback of
1175 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial 1175 non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
1176 decompression).</P> 1176 decompression).</P>
1177 1177
1178 1178
1179 <H4><A NAME="dxr3">2.3.1.17 DXR3</A></H4> 1179 <H4><A NAME="dxr3">2.3.1.17 DXR3/Hollywood+</A></H4>
1180 1180
1181 <P><B>MPlayer</B> supports hardware accelerated playback with the Creative DXR3 1181 <P><B>MPlayer</B> supports hardware accelerated playback with the Creative DXR3
1182 and Sigma Designs Hollywood Plus cards.</P> 1182 and Sigma Designs Hollywood Plus cards. These cards both use the em8300 MPEG
1183 decoder chip from Sigma Designs.</P>
1183 1184
1184 <P>First of all you will need properly installed DXR3/H+ drivers, version 1185 <P>First of all you will need properly installed DXR3/H+ drivers, version
1185 0.12.0 or later. You can find the drivers and installation instructions at 1186 0.12.0 or later. You can find the drivers and installation instructions at
1186 the <A HREF="http://dxr3.sourceforge.net/">DXR3 &amp; Hollywood Plus for 1187 the <A HREF="http://dxr3.sourceforge.net/">DXR3 &amp; Hollywood Plus for
1187 Linux</A> site. Configure should detect your card automatically, compilation 1188 Linux</A> site. Configure should detect your card automatically, compilation
1188 should go without any problems.</P> 1189 should go without problems.</P>
1189 1190
1190 <H4>Usage:</H4> 1191 <H4>Usage:</H4>
1191 <DL> 1192 <DL>
1192 <DT><CODE>-vo dxr3:&lt;noprebuf&gt;:&lt;codec&gt;:&lt;device&gt;</CODE></DT> 1193 <DT><CODE>-vo dxr3:noprebuf:&lt;device&gt;</CODE></DT>
1193 <DD>Where <CODE>&lt;noprebuf&gt;</CODE> specifies turning off prebuffering. 1194 <DD><CODE>noprebuf</CODE> turns off prebuffering. Prebuffering is a feature
1194 This is done automatically on Athlons. If playback is out of sync try 1195 of the em8300 chip that enables it to hold more than one frame of video at
1195 disabling prebuffering. If noprebuf is left out prebuffering is enabled 1196 a time. This means that when you are running with prebuffering (default)
1196 (except on Athlons). 1197 <B>MPlayer</B> will try to keep the video buffer filled with data at all
1197 <BR> 1198 times. If you are on a slow machine <B>MPlayer</B> will probably use close
1198 <CODE>&lt;codec&gt;</CODE> = fame/avcodec, avcodec produces better quality 1199 to, or precisely 100% of CPU. This is especially common if you play pure MPEG
1199 output, but fame is faster for those of you with slow machines. The default is 1200 streams (like DVDs, SVCDs a.s.o.) since <B>MPlayer</B> will not have to
1200 to use libavcodec. Note that you need libavcodec properly installed (read 1201 reencode it to MPEG it will fill the buffer very fast.<BR>
1201 DOCS/codecs.html). 1202 With prebuffering video playback is <B>much</B> less sensitive to other
1202 <BR> 1203 programs hogging the CPU, it will not drop frames unless applications hog
1204 the CPU for a long time.<BR>
1205 Prebuffering does not work on all machines (especially Athlons where it is
1206 turned off automatically). If you experience problems with video/audio sync
1207 use <CODE>noprebuf</CODE>. When running without prebuffering the em8300 is
1208 much more sensitive to CPU load, so it is highly suggested that you turn on
1209 <B>MPlayer's</B> <CODE>-framedrop</CODE> option to avoid further loss of
1210 sync.<BR>
1203 <CODE>&lt;device&gt;</CODE> = device number to use if you have more than one 1211 <CODE>&lt;device&gt;</CODE> = device number to use if you have more than one
1204 em8300 card. 1212 em8300 card.
1205 <BR> 1213 <BR>
1206 Any of these options may be left out, but they must be specified in this 1214 Any of these options may be left out, but they must be specified in this
1207 order, i.e. <CODE>dxr3:fame</CODE> works, <CODE>dxr3:1</CODE> works, but 1215 exact order, i.e. <CODE>dxr3:noprebuf</CODE> works, <CODE>dxr3:1</CODE>
1208 <CODE>dxr3:1:avcodec</CODE> will not.</DD> 1216 works, but <CODE>dxr3:1:noprebuf</CODE> will not.</DD>
1209 1217
1210 <DT><CODE>-ao oss:/dev/em8300_ma-X</CODE></DT> 1218 <DT><CODE>-ao oss:/dev/em8300_ma-X</CODE></DT>
1211 <DD>For audio output, where <CODE>X</CODE> is the device number 1219 <DD>For audio output, where <CODE>X</CODE> is the device number
1212 (0 if one card).</DD> 1220 (0 if one card).</DD>
1213 1221
1222 <DT><CODE>-aop list=resample:fout=xxxxx</CODE></DT>
1223 <DD>The em8300 cannot play back samplerates lower than 44100Hz. If the sample
1224 rate is below 44100Hz select either 44100Hz or 48000Hz depending on which
1225 one matches closest. I.e. if the movie uses 22050Hz use 44100Hz as
1226 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000 and so
1227 on. This does not work with digital audio output (<CODE>-ac hwac3</CODE>).</DD>
1228
1229 <DT><CODE>-vop lavc/fame</CODE></DT>
1230 <DD>To watch non-MPEG content on the em8300 (i.e. DivX or RealVideo) you have
1231 to specify an MPEG1 video filter such as libavcodec (lavc) or libfame
1232 (fame). At the moment lavc is both faster and gives better image quality, it
1233 is suggested that you use that unless you have problems with it. See the man
1234 page for further info about <CODE>-vop lavc/fame</CODE>.</DD>
1235
1214 <DT><CODE>-ac hwac3</CODE></DT> 1236 <DT><CODE>-ac hwac3</CODE></DT>
1215 <DD>For digital instead of analog audio output.</DD> 1237 <DD>The em8300 supports playing back AC3 audio (surround sound) through the
1216 1238 digital audio output of the card. Read
1217 <DT><CODE>-vc mpegpes</CODE></DT> 1239 <A HREF="codecs.html#hardware_ac3">hardware AC3</A> section for further
1218 <DD>Force hardware acceleration, only works with MPEG1/2.</DD> 1240 information on AC3.</DD>
1219
1220 <DT><CODE>-aop list=resample:fout=xxxxx</CODE></DT>
1221 <DD>If sample rate is below 44100Hz, select either 44100Hz or 48000Hz
1222 depending on which one matches closest. I.e. if the movie uses 22050Hz use
1223 44100Hz as 44100 / 2 = 22050, if it is 24000Hz use 48000Hz as 48000 / 2 = 24000
1224 and so on. This does not work with digital audio output
1225 (<CODE>-ac hwac3</CODE>).</DD>
1226 </DL> 1241 </DL>
1227 1242
1228 <H4>Overlay</H4> 1243 <H4>Overlay</H4>
1229 1244
1230 <P>To get overlay run dxr3view that comes with the em8300 package before 1245 <P>To get overlay run dxr3view that comes with the em8300 package before
1234 <H4>MPEG1, MPEG2, VCD and DVD Notes</H4> 1249 <H4>MPEG1, MPEG2, VCD and DVD Notes</H4>
1235 1250
1236 <P>MPEG1/2 content should now automatically be detected by <B>MPlayer</B> and 1251 <P>MPEG1/2 content should now automatically be detected by <B>MPlayer</B> and
1237 it will use the hardware acceleration of the DXR3 to play it. If not, you can 1252 it will use the hardware acceleration of the DXR3 to play it. If not, you can
1238 force it to hardware acceleration with <CODE>-vc mpegpes</CODE>. Also, if you 1253 force it to hardware acceleration with <CODE>-vc mpegpes</CODE>. Also, if you
1239 plan to use any postprocessing filters you must use <CODE>-vc 1254 plan to use postprocessing filters you must use <CODE>-vc mpeg12</CODE>.</P>
1240 mpeg12</CODE>.</P>
1241 1255
1242 <P>In some instances, subtitles may not appear properly in sync with the A/V 1256 <P>In some instances, subtitles may not appear properly in sync with the A/V
1243 stream when using hardware decoding (<CODE>-vc mpegpes</CODE>). This is a 1257 stream when using hardware decoding (<CODE>-vc mpegpes</CODE>). This is a
1244 known bug. The em8300 will also improperly handle subtitles that are too big, 1258 known bug. The em8300 will also improperly handle subtitles that are too big,
1245 and may hang for a second or two. At this time, the only workaround is to use 1259 and may hang for a second or two. At this time, the only workaround is to use
1246 <CODE>-vc mpeg12</CODE> when viewing DVDs with subtitles.</P> 1260 <CODE>-vc mpeg12</CODE> when viewing DVDs with subtitles. When running with
1261 <CODE>-vc mpeg12</CODE> <B>MPlayer</B> will reencode video to MPEG (even if it
1262 already is MPEG). This means that it will need more CPU power, and you might
1263 loose some picture quality.</P>
1247 1264
1248 1265
1249 <H4><A NAME="tv-out">2.3.1.A TV-out support</A></H4> 1266 <H4><A NAME="tv-out">2.3.1.A TV-out support</A></H4>
1250 1267
1251 1268