comparison DOCS/xml/en/video.xml @ 11358:7d120a00fcf7

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'.
author diego
date Sun, 02 Nov 2003 12:58:52 +0000
parents 5fde9e4e1d17
children 496ff2403aac
comparison
equal deleted inserted replaced
11357:6ded767a528a 11358:7d120a00fcf7
1603 1603
1604 <sect3 id="mpeg_decoders"> 1604 <sect3 id="mpeg_decoders">
1605 <title>MPEG decoders</title> 1605 <title>MPEG decoders</title>
1606 1606
1607 <sect4 id="dvb"> 1607 <sect4 id="dvb">
1608 <title>DVB</title> 1608 <title>DVB output and input</title>
1609 <para> 1609 <para>
1610 <application>MPlayer</application> supports cards with the Siemens DVB chipset 1610 <application>MPlayer</application> supports cards with the Siemens DVB chipset
1611 from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB 1611 from vendors like Siemens, Technotrend, Galaxis or Hauppauge. The latest DVB
1612 drivers are available from the <ulink url="http://www.linuxtv.org">Linux TV site</ulink>. 1612 drivers are available from the <ulink url="http://www.linuxtv.org">Linux TV site</ulink>.
1613 If you want to do software transcoding you should have at least a 1GHz CPU. 1613 If you want to do software transcoding you should have at least a 1GHz CPU.
1630 <title>USAGE</title> 1630 <title>USAGE</title>
1631 <para> 1631 <para>
1632 Hardware decoding (playing standard MPEG1/2 files) can be done with this command: 1632 Hardware decoding (playing standard MPEG1/2 files) can be done with this command:
1633 </para> 1633 </para>
1634 </formalpara> 1634 </formalpara>
1635
1635 <para><screen>mplayer -ao mpegpes -vo mpegpes file.mpg|vob</screen></para> 1636 <para><screen>mplayer -ao mpegpes -vo mpegpes file.mpg|vob</screen></para>
1636 1637
1637 <para> 1638 <para>
1638 Software decoding or transcoding different formats to MPEG1 can be achieved using 1639 Software decoding or transcoding different formats to MPEG1 can be achieved using
1639 a command like this: 1640 a command like this:
1696 1697
1697 <para><screen> 1698 <para><screen>
1698 for a 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1 1699 for a 4:3 TV: -vf dvbscale,scale=-1:0,expand=-1:576:-1:-1:1
1699 for a 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1 1700 for a 16:9 TV: -vf dvbscale=1024,scale=-1:0,expand=-1:576:-1:-1:1
1700 </screen></para> 1701 </screen></para>
1702
1703 <formalpara>
1704 <title>Using your DVB card for watching Digital TV (DVB input module)</title>
1705 <para>
1706 First you need to pass the <literal>dvb_shutdown_timeout=0</literal>
1707 parameter to the kernel module <filename>dvb-core</filename>, or MPlayer
1708 will die after 10 seconds.
1709 </para>
1710 </formalpara>
1711
1712 <para>
1713 You should also have the programs <command>scan</command> and
1714 <command>szap/tzap/czap</command> installed; they are all included in
1715 the drivers package.
1716 </para>
1717
1718 <para>
1719 Verify that your drivers are working properly with a program such as
1720 <ulink url="http://www.sf.net/projects/dvbtools/"><command>dvbstream</command></ulink>
1721 (that is the base of the DVB input module).
1722 </para>
1723
1724 <para>
1725 Now you should compile a <filename>~/.mplayer/channels.conf</filename>
1726 file, with the syntax accepted by <command>szap/tzap/czap</command>, or
1727 have <command>scan</command> compile it for you.
1728 </para>
1729
1730 <para>
1731 Make sure that you have have <emphasis>only</emphasis> Free to Air
1732 channels in your <filename>channels.conf</filename> file, or MPlayer
1733 will hang on the others.
1734 </para>
1735
1736 <para>
1737 To show the first of the channels present in your list, run
1738 </para>
1739
1740 <screen>
1741 mplayer dvb://
1742 </screen>
1743
1744 <para>
1745 If you want to watch a specific channel, such as R1, run
1746 </para>
1747
1748 <screen>
1749 mplayer dvb://R1
1750 </screen>
1751
1752 <para>
1753 To change channels press the <keycap>h</keycap> (next) and
1754 <keycap>k</keycap> (previous) keys, or use the OSD menu (requires
1755 a working <link linkend="subosd">OSD subsystem</link>).
1756 </para>
1757
1758 <para>
1759 If your <filename>~/.mplayer/menu.conf</filename> contains a
1760 <literal>&lt;dvbsel&gt;</literal> entry, such as the one in the example
1761 file <filename>etc/dvb-menu.conf</filename> (that you can use to overwrite
1762 <filename>~/.mplayer/menu.conf</filename>), the main menu will show a
1763 sub-menu entry that will permit you to choose one of the channels present
1764 in your <filename>channels.conf</filename>.
1765 </para>
1766
1767 <para>
1768 If you want to save a program to disk you can use
1769 </para>
1770
1771 <screen>
1772 mplayer -dumpfile r1.ts -dumpstream dvb://R1
1773 </screen>
1774
1775 <para>
1776 If you want to record it in a different format (re-encoding it) instead
1777 you can run a command such as
1778 </para>
1779
1780 <screen>
1781 mencoder -o r1.avi -ovc xvid -xvidenctopts bitrate=800 -oac mp3lame -lameopts cbr:br=128 -vf ci dvb://R1
1782 </screen>
1783
1784 <para>
1785 Read the man page for a list of options that you can pass to the
1786 DVB input module.
1787 </para>
1701 1788
1702 <formalpara> 1789 <formalpara>
1703 <title>FUTURE</title> 1790 <title>FUTURE</title>
1704 <para> 1791 <para>
1705 If you have questions or want to hear feature announcements and take part in 1792 If you have questions or want to hear feature announcements and take part in