changeset 6729:62b33bad8fca

Added DVB to the HTML docs. Parts of this may be outdated, somebody please review.
author diego
date Sat, 13 Jul 2002 17:54:04 +0000
parents 5361c7f3c9f2
children 9ca29d627354
files DOCS/DVB DOCS/video.html
diffstat 2 files changed, 101 insertions(+), 104 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/DVB	Sat Jul 13 16:11:52 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-Some words about Siemens-DVB card support.         by A'rpi
-==========================================
-
-Requirements:
-~~~~~~~~~~~~~
-- Siemens DVB-S card or compatible (Technotrend, Galaxis, Hauppauge, etc)
-  See www.linuxtv.org for details and download latest driver there.
-- MPlayer-CVS, FFmpeg libavcodec CVS are recommended for speed & postprocessing.
-- Fast CPU - at least 1GHz recommended for software transcoding (DivX -> MPEG).
-
-
-How to enable?
-~~~~~~~~~~~~~~
-
-'./configure' should detect it. If it did not, force detection with
-
-    ./configure --enable-dvb
-
-If you have ost headers at a non-standard path, set the path with
-
-   ./configure --with-extraincdir=<your DVB source dir>/ost/include
-
-Then compile and install as usual:
-
-    make
-    make install
-   
-
-How to use?
-~~~~~~~~~~~
-
-Hardware decoding: (play standard MPEG1/2 files)
-
-  mplayer -ao mpegpes -vo mpegpes file.mpg|vob
-
-Software decoding/transcoding anything to MPEG1:
-
-  mplayer -ao mpegpes -vo mpegpes -vop lavc yourfile.ext
-  mplayer -ao mpegpes -vo mpegpes -vop fame,expand yourfile.ext
-  
-Note: The DVB card only supports height 288 and 576 for PAL, 240 and 480 for
-NTSC. You MUST rescale for other heights by adding 'scale=w:h' to the '-vop'
-option, where 'w:h' are the width and height you want. Note that DVB cards accept
-various widths, like 720, 704, 640, 512, 480, 352 etc and do hardware scaling in
-horizontal direction, so you do not need to scale horizontally in most cases.
-For example, for a 512x384 (aspect 4:3) DivX try:
-
-  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=512:576
-
-If you have a widescreen movie and you do not want to scale it to full height,
-you can use the 'expand=w:h' plugin to add black bands.
-For example, to view a 640x384 DivX, try:
-
-  mplayer -ao mpegpes -vo mpegpes -vop lavc,expand=640:576 file.avi
-
-If your CPU is too slow to view a 720x576 DivX in full size, try to downscale:
-
-  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:576 file.avi
-
-If it is still slow, try to downscale vertically, too:
-
-  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:288 file.avi
-
-Do you want OSD, and subtitles? Use the expand feature of the OSD plugin!
-So, instead of 'expand=w:h' or 'expand=w:h:x:y', use 'expand=w:h:x:y:1' (the 5th
-parameter ':1' at the end will enable OSD rendering). You may want to move the
-image up a bit to get bigger black zone for subtitles. And you may want to move
-subtitles up, if they are out of your TV screen, use the '-subpos <0-100>' switch
-('-subpos 80' is perfect for me).
-
-In order to play non-25fps movies on a PAL TV or with a slow CPU, add the
-'-framedrop' option.
-
-
-How to keep the aspect ratio for DivX files?
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-To get the optimal scaling parameters (hardware X scaling, software Y scaling,
-while keeping the right aspect ratio), use the new 'dvbscale' plugin:
-
-for  3:4 TV:  -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale
-for 16:9 TV:  -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024
-
-
-Mailing list:
-~~~~~~~~~~~~~
-
-  http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
-
-List language is ENGLISH. Please avoid using German or other languages!
-Subscribe, and ask/discuss your problems there.
-I will also post feature announcements to this list.
-
-
-Future plans/TODO:
-~~~~~~~~~~~~~~~~~~
-
-- display OSD and subtitles using the OSD feature of DVB cards
-- better (more fluent) playback of non-25fps movies
-- realtime transcoding between mpeg2 <-> mpeg4 (partial decompression)
--- a/DOCS/video.html	Sat Jul 13 16:11:52 2002 +0000
+++ b/DOCS/video.html	Sat Jul 13 17:54:04 2002 +0000
@@ -181,7 +181,7 @@
 <LI>Radeon VE - currently only XFree86 CVS has driver for this card, version
 4.1.0 doesn't. And no TV out support. Of course with <B>MPlayer</B> you can
 happily get <B>accelerated</B> display, with or without <B>TV output</B>, and
-no libraries or X are needed. Read <A HREF="#2.3.1.15">Vidix</A> section.</LI>
+no libraries or X are needed. Read <A HREF="#2.3.1.14">Vidix</A> section.</LI>
 </UL>
 
 
@@ -562,7 +562,7 @@
 it has hardware VSYNC support with triple buffering. It works on both
 framebuffer console and under X.</P>
 
-<P><B>WARNING</B>: on non-Linux systems, use <A HREF="#2.3.1.15">Vidix</A> for
+<P><B>WARNING</B>: on non-Linux systems, use <A HREF="#2.3.1.14">Vidix</A> for
   mga_vid !!!</P>
 
 <P>To use it, you first have to compile mga_vid.o:</P>
@@ -795,7 +795,7 @@
 video modes.</P>
 
 
-<P><B><A NAME=2.3.1.15>2.3.1.15. Vidix</A></B></P>
+<P><B><A NAME=2.3.1.14>2.3.1.14. Vidix</A></B></P>
 
 <P><B>WHAT IS VIDIX?</B></P>
 
@@ -926,7 +926,7 @@
 </P>
 
 
-<P><B><A NAME=2.3.1.16>2.3.1.16. Zr</A></B></P>
+<P><B><A NAME=2.3.1.15>2.3.1.15. Zr</A></B></P>
 
 <P>This is a display-driver (<CODE>-vo zr</CODE>) for a number of MJPEG
 capture/playback cards (tested for DC10+ and Buz, and it should work for the
@@ -959,6 +959,103 @@
 </UL>
 
 
+<P><B><A NAME=2.3.1.16>2.3.1.16. DVB</A></B></P>
+
+<P><B>MPlayer</B> supports cards with the Siemens DVB chipset from vendors like
+Siemens, Technotrend, Galaxis or Hauppauge.  The latest DVB drivers are
+available from the <A HREF="http://www.linuxtv.org">Linux TV site</A>. If you
+want to do software transcoding you should have at least a 1GHz CPU.</P>
+
+<P>Configure should detect your DVB card. If it did not, force detection with
+
+<PRE>
+  ./configure --enable-dvb
+</PRE>
+
+<P>If you have ost headers at a non-standard path, set the path with</P>
+
+<PRE>
+  ./configure --with-extraincdir=&lt;DVB source directory&gt;/ost/include
+</PRE>
+
+<P>Then compile and install as usual.</P>
+
+<P>Hardware decoding (playing standard MPEG1/2 files) can be done with this
+command:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes file.mpg|vob
+</PRE>
+
+<P>Software decoding or transcoding different formats to MPEG1 can be achieved
+using a command like this:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes -vop lavc yourfile.ext
+  mplayer -ao mpegpes -vo mpegpes -vop fame,expand yourfile.ext
+</PRE>
+
+<P>Note that DVB cards only support heights 288 and 576 for PAL or 240 and 480
+for NTSC. You <B>must</B> rescale for other heights by adding
+<CODE>scale=width:height</CODE> with the width and height you want to the
+</CODE>-vop</CODE> option. DVB cards accept various widths, like 720, 704, 640,
+512, 480, 352 etc and do hardware scaling in horizontal direction, so you do not
+need to scale horizontally in most cases. For a 512x384 (aspect 4:3) DivX try:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=512:576
+</PRE>
+
+<P>If you have a widescreen movie and you do not want to scale it to full height,
+you can use the <CODE>expand=w:h</CODE> plugin to add black bands. To view a
+640x384 DivX, try:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes -vop lavc,expand=640:576 file.avi
+</PRE>
+
+<P>If your CPU is too slow for a full size 720x576 DivX, try downscaling:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:576 file.avi
+</PRE>
+
+<P>If speed does not improve, try vertical downscaling, too:</P>
+
+<PRE>
+  mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:288 file.avi
+</PRE>
+
+<P>For OSD and subtitles use the expand feature of the OSD plugin. So, instead
+of <CODE>expand=w:h</CODE> or <CODE>expand=w:h:x:y</CODE>, use
+<CODE>expand=w:h:x:y:1</CODE> (the 5th parameter <CODE>:1</CODE> at the end
+will enable OSD rendering). You may want to move the image up a bit to get a
+bigger black zone for subtitles. You may also want to move subtitles up, if they
+are outside your TV screen, use the <CODE>-subpos <0-100></CODE> switch to
+adjust this (<CODE>-subpos 80</CODE> is a good choice).</P>
+
+<P>In order to play non-25fps movies on a PAL TV or with a slow CPU, add the
+<CODE>-framedrop</CODE> option.</P>
+
+<P>To keep the aspect ratio of DivX files and get the optimal scaling parameters
+(hardware horizontal scaling and software vertical scaling while keeping the
+right aspect ratio), use the new dvbscale plugin:</P>
+
+<PRE>
+for  3:4 TV:  -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale
+for 16:9 TV:  -vop lavc,expand=-1:576:-1:-1:1,scale=-1:0,dvbscale=1024
+</PRE>
+
+<P>If you have questions or want to hear feature announcements and take part in
+discussions on this subject, join our
+<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">MPlayer-DVB</A>
+mailing list. Please remember that the list language is English.</P>
+
+<P>In the future you may expect the ability to display OSD and subtitles using
+the native OSD feature of DVB cards, as well as more fluent playback of
+non-25fps movies and realtime transcoding between MPEG2 and MPEG4 (partial
+decompression).</P>
+
 
 <P><B><A NAME=2.3.1.A>2.3.1.A. TV-out support</A></B></P>