summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/htdocs/mythtv-doc/mythtv-HOWTO-20.html
blob: 6b3561b189d0f6457f8ed9c2dc644bac069ea413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>Installing and using MythTV: MythDVD.</TITLE>
 <LINK HREF="mythtv-HOWTO-21.html" REL=next>
 <LINK HREF="mythtv-HOWTO-19.html" REL=previous>
 <LINK HREF="mythtv-HOWTO.html#toc20" REL=contents>
</HEAD>
<BODY>
<A HREF="mythtv-HOWTO-21.html">Next</A>
<A HREF="mythtv-HOWTO-19.html">Previous</A>
<A HREF="mythtv-HOWTO.html#toc20">Contents</A>
<HR>
<H2><A NAME="s20">20.</A> <A HREF="mythtv-HOWTO.html#toc20">MythDVD.</A></H2>

<P>MythDVD is a part of the <B>mythplugins</B> package.  See 
<A HREF="mythtv-HOWTO-13.html#mythplugins_">MythPlugins</A> for instructions on downloading the
tarball.  MythDVD is an application which rips DVDs and makes them available for
use with MythVideo.  You may also transcode the DVD content from MPEG-2 to
other formats which should greatly reduce the amount of space the DVD
material takes up on your hard drive.</P>
<P>MythDVD has a number of prerequisites to enable transcoding functionality. 
If you only wish to play DVDs rather than convert them to something like
MPEG-4 or xvid you may skip the prerequisite installation step.</P>

<H2><A NAME="ss20.1">20.1</A> <A HREF="mythtv-HOWTO.html#toc20.1">Manual Compilation of Prerequisites</A>
</H2>


<H2><A NAME="ss20.2">20.2</A> <A HREF="mythtv-HOWTO.html#toc20.2">Pre-compiled binaries</A>
</H2>

<P>Mandriva users may install the prerequisites this way:
<BLOCKQUOTE><CODE>
<PRE>
# urpmi libdvdread3 libdvdread3-devel a52dec liba52dec-devel 
# urpmi mplayer ogle xine
</PRE>
</CODE></BLOCKQUOTE>

Assuming that you've added a PLF mirror, you may also load the rest of the
prerequisites using the following command:
<BLOCKQUOTE><CODE>
<PRE>
# urpmi xvid xvid-devel fame libfame0.9-devel transcode libdvdcss
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>In the example below, we have enabled support for transcoding and for VCD
playing.  You may remove these options if you don't need them.
<BLOCKQUOTE><CODE>
<PRE>
$ cd ~/mythplugins-0.20
$ ./configure --disable-all --enable-mythdvd --enable-transcode --enable-vcd
$ qmake mythplugins.pro
$ make
$ su
# make install
</PRE>
</CODE></BLOCKQUOTE>
</P>
<H2><A NAME="ss20.3">20.3</A> <A HREF="mythtv-HOWTO.html#toc20.3">Running the Myth Transcoding Daemon</A>
</H2>

<P>Transcoding ("ripping") a DVD requires you to run the Myth Transcoding
Daemon (mtd).  To ensure that mtd is configured correctly, you should first
test it at the command line.
<BLOCKQUOTE><CODE>
<PRE>
$ mtd -n
</PRE>
</CODE></BLOCKQUOTE>

The last line of text should show something like:
<BLOCKQUOTE><CODE>
<PRE>
mtd is listening on port 2342
</PRE>
</CODE></BLOCKQUOTE>

This indicates that mtd is ready for use.  Once you've successfully
tested mtd in the foreground, type <B>CTRL-C</B> to stop mtd.  You may
then start it as a background (daemon) process.
<BLOCKQUOTE><CODE>
<PRE>
$ mtd -d
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>Running mtd as a daemon will allow you to automatically start it during the
boot process.  For example, you may add <CODE>mtd -d</CODE> to your
<CODE>rc.local</CODE> file, or you can adjust the script/steps outlined in the
section called 
<A HREF="mythtv-HOWTO-23.html#mythbackend_autostart">Automatically starting mythbackend at system boot time</A> to start mtd instead of mythbackend.</P>

<HR>
<A HREF="mythtv-HOWTO-21.html">Next</A>
<A HREF="mythtv-HOWTO-19.html">Previous</A>
<A HREF="mythtv-HOWTO.html#toc20">Contents</A>
</BODY>
</HTML>