From a4b17588691d6cfc4c8f87f328b7df486714591f Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 15 Aug 2003 12:47:18 +0000 Subject: [PATCH] DVB input documentation by Nico with some changes by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10616 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/en/documentation.html | 2 +- DOCS/en/mplayer.1 | 23 ++++++++ DOCS/en/video.html | 66 +++++++++++++++++++++- etc/dvb-menu.conf | 110 +++++++++++++++++++++++++++++++++++++ 4 files changed, 197 insertions(+), 4 deletions(-) create mode 100644 etc/dvb-menu.conf diff --git a/DOCS/en/documentation.html b/DOCS/en/documentation.html index be088abedf..c288d4b6bb 100644 --- a/DOCS/en/documentation.html +++ b/DOCS/en/documentation.html @@ -159,7 +159,7 @@
  • 2.3.1.3 MPEG decoders diff --git a/DOCS/en/mplayer.1 b/DOCS/en/mplayer.1 index cff5a14611..ef4fe0af79 100644 --- a/DOCS/en/mplayer.1 +++ b/DOCS/en/mplayer.1 @@ -129,6 +129,12 @@ mencoder \- Movie Encoder for Linux [options] .br .in +.B mplayer +'in +\n[.k]u +.I dvb://channel +[options] +.br +.in .B mencoder [options] .RI [ \ file\ | \ URL\ | \ -\ ] @@ -704,6 +710,23 @@ Useful when ripping from DVD or network. .B \-dumpvideo (MPLAYER only) Dump raw compressed video stream to ./\:stream.dump (not very usable). .TP +.B \-dvbin +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= +Instructs MPlayer to read the channels list from . +.IPs type= +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 Override default DVD device name /dev/\:dvd. .TP diff --git a/DOCS/en/video.html b/DOCS/en/video.html index bb43986c47..d3d998a3f8 100644 --- a/DOCS/en/video.html +++ b/DOCS/en/video.html @@ -1015,7 +1015,7 @@ Indeed it doesn't matter which video output driver is used with VIDIX.

    2.3.1.3 MPEG decoders

    -

    2.3.1.3.1 DVB

    +

    2.3.1.3.1 DVB output and input

    MPlayer supports cards with the Siemens DVB chipset from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB drivers are @@ -1101,10 +1101,70 @@ Indeed it doesn't matter which video output driver is used with VIDIX. right aspect ratio), use the new dvbscale filter:

    -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
     
    +

    Using your DVB card for watching Digital TV (DVB input module)

    + +

    First you need to pass the dvb_shutdown_timeout=0 parameter + to the kernel module dvb-core, or MPlayer will die after 10 + seconds.

    + +

    You should also have the programs scan and + szap/tzap/czap installed; they are all included in the drivers + package.

    + +

    Verify that your drivers are working properly with a program such as + dvbstream + (that is the base of the DVB input module).

    + +

    Now you should compile a ~/.mplayer/channels.conf file, + with the syntax accepted by szap/tzap/czap, or have + scan compile it for you.

    + +

    Make sure that you have have only Free to Air channels in your + channels.conf file, or MPlayer will hang on the others.

    + +

    To show the first of the channels present in your list, run

    + +
    +  mplayer dvb://
    +
    + +

    If you want to watch a specific channel, such as R1, run

    + +
    +  mplayer dvb://R1
    +
    + +

    To change channels press the 'h' (next) and 'k' + (previous) keys, or use the OSD menu (requires a working + OSD subsystem).

    + +

    If your ~/.mplayer/menu.conf contains a <dvbsel> + entry, such as the one in the example file etc/dvb-menu.conf + (that you can use to overwrite ~/.mplayer/menu.conf), the + main menu will show a sub-menu entry that will permit you to choose + one of the channels present in your channels.conf.

    + +

    If you want to save a program to disk you can use

    + +
    +  mplayer -dumpfile r1.ts -dumpstream dvb://R1
    +
    + +

    If you want to record it in a different format (re-encoding it) instead you + can run a command such as

    + +
    +  mencoder -o r1.avi -ovc xvid -xvidenctopts bitrate=800 -oac mp3lame -lameopts cbr:br=128 -vf ci dvb://R1
    +
    + +

    Read the man page for a list of options that you can pass to the DVB + input module.

    + +

    FUTURE

    If you have questions or want to hear feature announcements and take part in diff --git a/etc/dvb-menu.conf b/etc/dvb-menu.conf new file mode 100644 index 0000000000..9e20f9e177 --- /dev/null +++ b/etc/dvb-menu.conf @@ -0,0 +1,110 @@ + + + + + + + + + + + +Welcome to MPlayer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +