From 72eb5204d4ad9433742355f9a12605ef161f2652 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 2 Nov 2003 12:58:52 +0000 Subject: [PATCH] DVB section expanded based on a patch by Nico Sabbi that was committed to the HTML docs long ago. Somebody forgot to sync and should start drinking his share of Coke soon. Prime suspect is a developer whose name starts with the letter 'D'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11359 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/video.xml | 89 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 1 deletion(-) diff --git a/DOCS/xml/en/video.xml b/DOCS/xml/en/video.xml index 9f531d0675..54786da36a 100644 --- a/DOCS/xml/en/video.xml +++ b/DOCS/xml/en/video.xml @@ -1605,7 +1605,7 @@ is underway. MPEG decoders -DVB +DVB output and input MPlayer supports cards with the Siemens DVB chipset from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB @@ -1632,6 +1632,7 @@ Configure should detect your DVB card. If it did not, force detection with Hardware decoding (playing standard MPEG1/2 files) can be done with this command: + mplayer -ao mpegpes -vo mpegpes file.mpg|vob @@ -1699,6 +1700,92 @@ 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