Commit f24f46d1 authored by Alexis de Lattre's avatar Alexis de Lattre

New part about the MPEG files supported by vls

parent 5de058ef
......@@ -99,7 +99,8 @@ Then install the RPM packages you have downloaded :
</para>
<screen>
<prompt># </prompt><userinput>rpm -Uhv vlc-version.i586.rpm vlc-mad-version.i586.rpm vlc-gnome-version.i586.rpm libdvdcss2-version.i586.rpm libdvdpsi1-version.i586.rpm</userinput>
<prompt># </prompt><userinput>rpm -Uhv vlc-version.i586.rpm vlc-mad-version.i586.rpm vlc-gnome-version.i586.rpm
libdvdcss2-version.i586.rpm libdvdpsi1-version.i586.rpm</userinput>
</screen>
</sect2>
......
......@@ -71,7 +71,8 @@ Then install the RPM packages you have downloaded :
</para>
<screen>
<prompt># </prompt><userinput>rpm -Uhv vls-version.i586.rpm vls-dvd-version.i586.rpm libdvdcss2-version.i586.rpm libdvbpsi1-version.i586.rpm libdvdread-version.i386.rpm</userinput>
<prompt># </prompt><userinput>rpm -Uhv vls-version.i586.rpm vls-dvd-version.i586.rpm libdvdcss2-version.i586.rpm
libdvbpsi1-version.i586.rpm libdvdread-version.i386.rpm</userinput>
</screen>
......
......@@ -41,7 +41,7 @@ Here is an illustration of the complete VideoLAN solution :
<figure><title>Global VideoLAN solution</title>
<mediaobject>
<imageobject>
<imagedata fileref="../../../doc/plan-global/plan-videolan-640.&magic;" format="&magic;" scalefit="1" scale="60">
<imagedata fileref="plan-videolan-640.&magic;" format="&magic;" scalefit="1" scale="60">
</imageobject>
</mediaobject>
</figure>
......
<para>
Vls can stream MPEG 1 or MPEG 2 files that meet two
critera :
</para>
<itemizedlist>
<listitem><para>the file must be MPEG <emphasis>PS</emphasis>
(Program Stream) or MPEG <emphasis>TS</emphasis> (Transport Stream),
that contain video and audio multiplexed. Vls cannot stream MPEG
<emphasis>ES</emphasis> (Elementary Stream), i.e. a file with only audio
or video.</para>
<para>In order to know if an MPEG file is MPEG <emphasis>PS</emphasis>,
MPEG <emphasis>TS</emphasis> or MPEG <emphasis>ES</emphasis>, read the
file with vlc and look at the messages (select in the menu
<emphasis>View / Messages</emphasis>, or use the command line
<command>vlc -v</command>) and look for a
line :</para>
<programlisting>
module: locking demux module `mpeg_XX'
</programlisting>
<para>If <emphasis>XX = ps</emphasis> or <emphasis>XX =
ts</emphasis>, then your file is MPEG <emphasis>PS</emphasis> and
MPEG <emphasis>TS</emphasis> respectively, and you may be able to
stream it. If <emphasis>XX = es</emphasis>, then your file is MPEG
<emphasis>ES</emphasis> and is not streamable.</para>
<listitem><para>the sequence header of the video must repeat itself regularly,
which is often the case with MPEG 2, but very rare with MPEG 1. There is
no easy way to know if the sequence header is repeated regularly. Files
with a <emphasis>.vob</emphasis> extension are normally MPEG
2 files and files with <emphasis>.mpg</emphasis> or
<emphasis>.mpeg</emphasis> extension or
usually
MPEG 1 files.</para>
</itemizedlist>
<para>You can download this streamable
MPEG 2 PS file for your tests : <ulink
url="ftp://ftp.videolan.org/pub/videolan/streams/presentation/presentation_short.vob"
>presentation_short.vob</ulink>.</para>
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle SYSTEM
"/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl" CDATA DSSSL>
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
; Personnalization of James Clark's stylesheet for PS & PDF output
; These parameters overide James Clark's one.
; Only produce a table of contents (not a table of figure, etc...)
(define ($generate-book-lot-list$)
(list ))
; Depth of the table of contents
(define (toc-depth nd)
2)
; Magins
(define %left-margin%
3pi)
(define %right-margin%
3pi)
(define %top-margin%
5pi)
(define %bottom-margin%
3.5pi)
(define %header-margin%
2pi)
(define %footer-margin%
2pi)
; I want small icons for "notes", "warnings", "caution" & "important"
;(define %admon-graphics%
; #t)
; Path for the icons
;(define %admon-graphics-path%
; "/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/")
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
</style-sheet>
......@@ -13,6 +13,7 @@
<!ENTITY install-vlc SYSTEM "../common/install-vlc.sgml">
<!ENTITY install-vls SYSTEM "../common/install-vls.sgml">
<!ENTITY streamable-mpeg-file SYSTEM "../common/streamable-mpeg-file.sgml">
<!ENTITY install-vlcs SYSTEM "../common/install-vlcs.sgml">
......
......@@ -81,7 +81,7 @@ you can detach-it and reattach-it:</para>
</sect1>
<sect1><title>Configure the vlc(s) to use the channel information service</title>
<sect1><title>Configure vlc(s) to use the channel information service</title>
<para>Launch vlc, click on the <emphasis>net</emphasis> button or
select in the menu <emphasis>File / Network stream</emphasis>, select
......
......@@ -9,6 +9,10 @@
<sect1><title>Running the VideoLAN Server</title>
<sect2><title>Get a streamable MPEG file</title>
&streamable-mpeg-file;
<sect2><title>Unicast an MPEG file</title>
<simplesect><title>Start vls</title>
......@@ -19,22 +23,24 @@
where you installed vls and type :</para>
<screen>
<prompt>&gt; </prompt><userinput>vls -d udp:10.0.0.2 file:C:\films\movie.mpg</userinput>
<prompt>&gt; </prompt><userinput>vls -d udp:10.0.0.2 file:C:\films\presentation_short.vob</userinput>
</screen>
<para>where <filename>C:\films\movie.mpg</filename> is the MPEG 1 or
MPEG 2 file you want to stream and <emphasis>10.0.0.2</emphasis> is the
IP address of the machine you want to stream to.</para>
<para>where <filename>C:\films\presentation_short.vob</filename>
is the MPEG 1 or MPEG 2 file you want to stream and
<emphasis>10.0.0.2</emphasis> is the IP address of the machine you want
to stream to.</para>
<listitem><para>under Linux :</para>
<screen>
<prompt>% </prompt><userinput>vls -d udp:10.0.0.2 file:/mnt/films/movie.mpg</userinput>
<prompt>% </prompt><userinput>vls -d udp:10.0.0.2 file:/mnt/films/presentation_short.vob</userinput>
</screen>
<para>where <filename>/mnt/films/movie.mpg</filename> is the MPEG 1 or
MPEG 2 file you want to stream and <emphasis>10.0.0.2</emphasis> is the
IP address of the machine you want to stream to.</para>
<para>where <filename>/mnt/films/presentation_short.vob</filename>
is the MPEG 1 or MPEG 2 file you want to stream and
<emphasis>10.0.0.2</emphasis> is the IP address of the machine you want
to stream to.</para>
</itemizedlist>
......@@ -110,27 +116,29 @@ there are multiple clients receiving it.</para>
where you installed vls and type :</para>
<screen>
<prompt>&gt; </prompt><userinput>vls -d udp:239.255.12.42 file:C:\films\movie.mpg</userinput>
<prompt>&gt; </prompt><userinput>vls -d udp:239.255.12.42 file:C:\films\presentation_short.vob</userinput>
</screen>
<para>where <filename>C:\films\movie.mpg</filename> is the MPEG 1 or
MPEG 2 file you want to stream and <emphasis>239.255.12.42</emphasis> is the
multicast IP address you have chosen.</para>
<para>where <filename>C:\films\presentation_short.vob</filename>
is the MPEG 1 or MPEG 2 file you want to stream and
<emphasis>239.255.12.42</emphasis> is the multicast IP address you have
chosen.</para>
<listitem><para>under Linux :</para>
<screen>
<prompt>% </prompt><userinput>vls -d udp:239.255.12.42 file:/mnt/films/movie.mpg</userinput>
<prompt>% </prompt><userinput>vls -d udp:239.255.12.42 file:/mnt/films/presentation_short.vob</userinput>
</screen>
<para>where <filename>/mnt/films/movie.mpg</filename> is the MPEG 1 or
MPEG 2 file you want to stream and <emphasis>239.255.12.42</emphasis> is the
multicast IP address you have chosen.</para>
<para>where <filename>/mnt/films/presentation_short.vob</filename>
is the MPEG 1 or MPEG 2 file you want to stream and
<emphasis>239.255.12.42</emphasis> is the multicast IP address you have
chosen.</para>
</itemizedlist>
<note><para>You can also multicast a DVD if vls is running under
Linux : replace <emphasis>file:/mnt/films/movie.mpg</emphasis> by
<note><para>You can also multicast a DVD if vls is running under Linux :
replace <emphasis>file:/mnt/films/presentation_short.vob</emphasis> by
<command>dvd:/dev/dvd</command> where <filename>/dev/dvd</filename> is
the device corresponding to your DVD drive.</para></note>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment