[Mplayer-cvslog] CVS: main/DOCS/en documentation.html,1.420,1.421 mplayer.1,1.409,1.410 video.html,1.149,1.150
Diego Biurrun CVS
diego at mplayerhq.hu
Fri Aug 15 14:47:21 CEST 2003
Update of /cvsroot/mplayer/main/DOCS/en
In directory mail:/var/tmp.root/cvs-serv29901/DOCS/en
Modified Files:
documentation.html mplayer.1 video.html
Log Message:
DVB input documentation by Nico <nsabbi at libero.it> with some changes by me.
Index: documentation.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/en/documentation.html,v
retrieving revision 1.420
retrieving revision 1.421
diff -u -r1.420 -r1.421
--- documentation.html 12 Aug 2003 00:30:04 -0000 1.420
+++ documentation.html 15 Aug 2003 12:47:17 -0000 1.421
@@ -159,7 +159,7 @@
</LI>
<LI><A HREF="video.html#mpegdec">2.3.1.3 MPEG decoders</A>
<UL>
- <LI><A HREF="video.html#dvb">2.3.1.3.1 DVB</A></LI>
+ <LI><A HREF="video.html#dvb">2.3.1.3.1 DVB output and input</A></LI>
<LI><A HREF="video.html#dxr2">2.3.1.3.2 DXR2</A></LI>
<LI><A HREF="video.html#dxr3">2.3.1.3.3 DXR3/Hollywood+</A></LI>
</UL>
Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/en/mplayer.1,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -r1.409 -r1.410
--- mplayer.1 11 Aug 2003 20:04:09 -0000 1.409
+++ mplayer.1 15 Aug 2003 12:47:17 -0000 1.410
@@ -129,6 +129,12 @@
[options]
.br
.in
+.B mplayer
+'in +\n[.k]u
+.I dvb://channel
+[options]
+.br
+.in
.B mencoder
[options]
.RI [ \ file\ | \ URL\ | \ -\ ]
@@ -703,6 +709,23 @@
.TP
.B \-dumpvideo (MPLAYER only)
Dump raw compressed video stream to ./\:stream.dump (not very usable).
+.TP
+.B \-dvbin <options>
+Pass the following parameters to the DVB input module, in order to override
+the default ones:
+
+.PD 0
+.RSs
+.IPs card=<1\-4>
+Specifies using card number 1\-4 (default: 1).
+.IPs file=<file>
+Instructs MPlayer to read the channels list from <file>.
+.IPs type=<SAT|TER|CBL>
+Specifies that the card type is SATellite, TERrestrial or CaBLe. If not specifiied
+the type will be autodetected.
+.RE
+.PD 1
+.
.TP
.B \-dvd\-device <path\ to\ device>
Override default DVD device name /dev/\:dvd.
Index: video.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/en/video.html,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- video.html 5 Aug 2003 09:22:20 -0000 1.149
+++ video.html 15 Aug 2003 12:47:18 -0000 1.150
@@ -1015,7 +1015,7 @@
<H4><A NAME="mpegdec">2.3.1.3 MPEG decoders</A></H4>
-<H4><A NAME="dvb">2.3.1.3.1 DVB</A></H4>
+<H4><A NAME="dvb">2.3.1.3.1 DVB output and input</A></H4>
<P>MPlayer supports cards with the Siemens DVB chipset from vendors like
Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are
@@ -1101,9 +1101,69 @@
right aspect ratio), use the new dvbscale filter:</P>
<PRE>
-for 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
-for 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
+for a 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
+for a 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
</PRE>
+
+<H4>Using your DVB card for watching Digital TV (DVB input module)</H4>
+
+<P>First you need to pass the <CODE>dvb_shutdown_timeout=0</CODE> parameter
+ to the kernel module <CODE>dvb-core</CODE>, or MPlayer will die after 10
+ seconds.</P>
+
+<P>You should also have the programs <CODE>scan</CODE> and
+ <CODE>szap/tzap/czap</CODE> installed; they are all included in the drivers
+ package.</P>
+
+<P>Verify that your drivers are working properly with a program such as
+ <A HREF="http://www.sf.net/projects/dvbtools/"><CODE>dvbstream</CODE></A>
+ (that is the base of the DVB input module).</P>
+
+<P>Now you should compile a <CODE>~/.mplayer/channels.conf</CODE> file,
+ with the syntax accepted by <CODE>szap/tzap/czap</CODE>, or have
+ <CODE>scan</CODE> compile it for you.</P>
+
+<P>Make sure that you have have <B>only</B> Free to Air channels in your
+ <CODE>channels.conf</CODE> file, or MPlayer will hang on the others.</P>
+
+<P>To show the first of the channels present in your list, run</P>
+
+<PRE>
+ mplayer dvb://
+</PRE>
+
+<P>If you want to watch a specific channel, such as <CODE>R1</CODE>, run</P>
+
+<PRE>
+ mplayer dvb://R1
+</PRE>
+
+<P>To change channels press the <CODE>'h'</CODE> (next) and <CODE>'k'</CODE>
+ (previous) keys, or use the <CODE>OSD</CODE> menu (requires a working
+ <A HREF="documentation.html#subtitles_osd">OSD subsystem</a>).</P>
+
+<P>If your <CODE>~/.mplayer/menu.conf</CODE> contains a <B><dvbsel></b>
+ entry, such as the one in the example file <CODE>etc/dvb-menu.conf</CODE>
+ (that you can use to overwrite <CODE>~/.mplayer/menu.conf</CODE>), the
+ main menu will show a sub-menu entry that will permit you to choose
+ one of the channels present in your <CODE>channels.conf</CODE>.</P>
+
+<P>If you want to save a program to disk you can use</P>
+
+<PRE>
+ mplayer -dumpfile r1.ts -dumpstream dvb://R1
+</PRE>
+
+<P>If you want to record it in a different format (re-encoding it) instead you
+ can run a command such as</P>
+
+<PRE>
+ mencoder -o r1.avi -ovc xvid -xvidenctopts bitrate=800 -oac mp3lame -lameopts cbr:br=128 -vf ci dvb://R1
+</PRE>
+
+<P>Read the man page for a list of options that you can pass to the DVB
+ input module.</P>
+
<H4>FUTURE</H4>
More information about the MPlayer-cvslog
mailing list