# HG changeset patch # User diego # Date 1060951638 0 # Node ID 65226e2ea605367903f4e21c9b9b3a34ce154a79 # Parent d7243684623c72f01cdebb4759b95d00449be83a DVB input documentation by Nico with some changes by me. diff -r d7243684623c -r 65226e2ea605 DOCS/en/documentation.html --- a/DOCS/en/documentation.html Fri Aug 15 12:35:08 2003 +0000 +++ b/DOCS/en/documentation.html Fri Aug 15 12:47:18 2003 +0000 @@ -159,7 +159,7 @@
  • 2.3.1.3 MPEG decoders diff -r d7243684623c -r 65226e2ea605 DOCS/en/mplayer.1 --- a/DOCS/en/mplayer.1 Fri Aug 15 12:35:08 2003 +0000 +++ b/DOCS/en/mplayer.1 Fri Aug 15 12:47:18 2003 +0000 @@ -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\ | \ -\ ] @@ -704,6 +710,23 @@ .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 -r d7243684623c -r 65226e2ea605 DOCS/en/video.html --- a/DOCS/en/video.html Fri Aug 15 12:35:08 2003 +0000 +++ b/DOCS/en/video.html Fri Aug 15 12:47:18 2003 +0000 @@ -1015,7 +1015,7 @@

    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 @@ 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 -r d7243684623c -r 65226e2ea605 etc/dvb-menu.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/dvb-menu.conf Fri Aug 15 12:47:18 2003 +0000 @@ -0,0 +1,110 @@ + + + + + + + + + + + +Welcome to MPlayer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +