dvd.xml 1.83 KB
Newer Older
Clément Stenac's avatar
Clément Stenac committed
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
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="dvd"><title id="tdvd">
Stream a DVD

</title>

<!-- FIXME : needs update, needs GUI  -->

<note><para>
Under Unix/Linux, you must have write access to the device
corresponding to your DVD drive. For that, you should be in the
<emphasis>disk</emphasis> or <emphasis>cdrom</emphasis> group (look
at the permissions in <filename>/dev</filename>). If you're not, add
yourself to the group:

</para>

<screen>
<prompt># </prompt><userinput>adduser your_login disk_or_cdrom</userinput>
</screen>

<para>
and then restart your session.

</para></note>

<sect1><title>
Stream a DVD with VLC

</title>

<screen>
<prompt>% </prompt><userinput>vlc -vvv --color dvdsimple:/dev/dvd --sout udp:192.168.0.12 --ttl 12 --sout-all</userinput>
</screen>

<para>
where:

</para>

<itemizedlist>

<listitem><para><filename>/dev/dvd</filename> 
is the name of your DVD drive (put
<filename>D:</filename> under Windows if <filename>D</filename> is
the letter of your DVD drive) or the directory where you copied your
DVD

,</para></listitem>

<listitem><para><emphasis>192.168.0.42</emphasis>
 is either:

</para>

<itemizedlist>

<listitem><para>
the IP address of the machine you want to unicast
to;

</para></listitem>

<listitem><para>
or the DNS name the machine you want to unicast
to;

</para></listitem>

<listitem><para>
or a multicast IP address.

</para></listitem>

</itemizedlist>

</listitem>

<listitem><para><emphasis>12</emphasis>
 is the value of the TTL (Time To
Live) of your IP packets (which means that the stream will be
able to cross 11 routers).
</para></listitem>

<listitem><para><emphasis>sout-all</emphasis>
allows you to stream all soundtracks and subtitles
</para></listitem>

</itemizedlist>

<para>
If you want to stream the DVD continuously, add the
<emphasis>--loop</emphasis> option.

</para>
</sect1>

</chapter>