<?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 '#rtp{mux=ts,dst=192.168.0.12,port=5004}' --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>

