LDP/LDP/howto/docbook/VideoLAN-HOWTO/src/dvd.sgml

90 lines
2.5 KiB
Plaintext

<chapter id="dvd"><title id="tdvd">Stream a DVD</title>
<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 dvdold:/dev/dvd --sout udp://192.168.0.12 --ttl 12</userinput>
</screen>
<para>where :</para>
<itemizedlist>
<listitem><para><filename>/dev/dvd</filename> is the device
corresponding to 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><para><emphasis>192.168.0.12</emphasis> is either :
<itemizedlist>
<listitem><para>the IP address of the machine you want to unicast to ;</para>
<listitem><para>or the DNS name the machine you want to unicast to ;</para>
<listitem><para>or the multicast IP address.</para>
</itemizedlist>
<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>
</itemizedlist>
<para>If you want to stream the DVD continuously, add the
<emphasis>--loop</emphasis> option.</para>
<sect1><title>Stream a DVD with VLS</title>
<screen>
<prompt>% </prompt><userinput>vls -vv -d udp:192.168.0.12 dvd:/dev/dvd --ttl 12</userinput>
</screen>
<para>where :</para>
<itemizedlist>
<listitem><para><filename>/dev/dvd</filename> is the device
corresponding to 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><para><emphasis>192.168.0.12</emphasis> is either :
<itemizedlist>
<listitem><para>the IP address of the machine you want to unicast to ;</para>
<listitem><para>or the DNS name the machine you want to unicast to ;</para>
<listitem><para>or the multicast IP address.</para>
</itemizedlist>
<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>
</itemizedlist>
<para>If you want to stream the DVD continuously, add the
<emphasis>--loop</emphasis> option.</para>
</sect1>
</chapter>