Commit aed46bc7 authored by Antoine Cellerier's avatar Antoine Cellerier

sout-standard-url is deprecated (use sout-standard-dst instead)

parent c7d15b19
......@@ -256,27 +256,27 @@ muxer.</para></listitem>
</itemizedlist>
</sect3>
<sect3><title>url=</title>
<sect3><title>dst=</title>
<para>This option allows to give informations about the location
where the stream should actually be saved or sent.</para>
<para>Here is the meaning of the <emphasis>url</emphasis> option
<para>Here is the meaning of the <emphasis>dst</emphasis> option
depending on the parameter used for the <emphasis>access</emphasis>
option.</para>
<itemizedlist>
<listitem><para>If the <emphasis>file</emphasis> output method is used, url is
<listitem><para>If the <emphasis>file</emphasis> output method is used, dst is
the complete path where the file should be saved.</para></listitem>
<listitem><para>If the <emphasis>udp</emphasis> or <emphasis>rtp</emphasis>
output method is used, url is the unicast or multicast
output method is used, dst is the unicast or multicast
destination address and, optionally, UDP port, in the form
<emphasis>address:port</emphasis>.</para></listitem>
<listitem><para>If the <emphasis>http</emphasis>,
<emphasis>https</emphasis> or <emphasis>mmsh</emphasis> output method is
chosen, url is the address, port and path of the local network interface
chosen, dst is the address, port and path of the local network interface
on which the server should listen for requests. If no address is given,
VLC will listen on all the network interfaces. These information
have to be supplied using the <emphasis>address:port/path</emphasis>
......
......@@ -148,7 +148,7 @@ installed in your system. An example command-line is as follows :
<userinput>vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=8508,8505 dvb: \
--dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \
'#duplicate{dst=std{url=address1},select="program=8508",dst=std{url=address2},select="program=8505"}'
'#duplicate{dst=std{dst=address1},select="program=8508",dst=std{dst=address2},select="program=8505"}'
</userinput></screen>
<para>
......
......@@ -267,7 +267,7 @@ You must add <command>--enable-v4l</command> to
<screen>
<!-- We cut the lines when they are too long, so that it looks OK in PDF format ! -->
<prompt>% </prompt><userinput>vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0
--sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=239.255.12.13}' --ttl 12</userinput>
--sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,dst=239.255.12.13}' --ttl 12</userinput>
</screen>
<note><para>You can find all transcode options on this page : <xref linkend="cmdline" endterm="tcmdline" /> .</para></note>
......@@ -394,7 +394,7 @@ able to cross 11 routers).</para></listitem>
<para>You need to install your peripherals under Windows with the appropriate drivers. Nothing else is necessary.</para>
</sect2>
<sect2><title>Stream with VLC in command line</title>
<para><screen><prompt>% </prompt><userinput>C:\Program Files\VideoLAN\VLC\vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="VGA USB Camera" adev="USB Camera" size="640x480" --sout=#std{mux=ts,access=udp,url=239.255.42.12}</userinput></screen></para>
<para><screen><prompt>% </prompt><userinput>C:\Program Files\VideoLAN\VLC\vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="VGA USB Camera" adev="USB Camera" size="640x480" --sout=#std{mux=ts,access=udp,dst=239.255.42.12}</userinput></screen></para>
<note>
<para>You need to precise the complete path to find vlc program or to launch the command from the correct directory.</para>
</note>
......
......@@ -15,7 +15,7 @@ multicast IP address with the associated SAP announce:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}'</userinput>
</screen>
<para>
......@@ -26,7 +26,7 @@ to a multicast IP address with the associated SAP announce:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
"transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}"}'</userinput>
</screen>
<para>
......@@ -37,7 +37,7 @@ announce:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}}'</userinput>
duplicate{dst=display,dst=standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}}'</userinput>
</screen>
</sect1>
......@@ -53,8 +53,8 @@ unicast IP address:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen>
<para>
......@@ -64,8 +64,8 @@ addresses:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
standard{access=udp,mux=ts,url=192.168.1.12},
dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput>
standard{access=udp,mux=ts,dst=192.168.1.12},
dst=standard{access=udp,mux=ts,dst=192.168.1.42}}'</userinput>
</screen>
<para>Send parts of a multiple program input stream:
......@@ -73,8 +73,8 @@ dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput>
<screen>
<prompt>% </prompt><userinput>vlc -vvv multiple_program_input_stream
--sout '#duplicate{dst=standard{access=udp,mux=ts,url=239.255.12.42},select="program=12345",
dst=standard{access=udp,mux=ts,url=239.255.12.43}, select="video,program=1234-2345"}'</userinput>
--sout '#duplicate{dst=standard{access=udp,mux=ts,dst=239.255.12.42},select="program=12345",
dst=standard{access=udp,mux=ts,dst=239.255.12.43}, select="video,program=1234-2345"}'</userinput>
</screen>
<para>This command sends the program of the input stream which id is
......@@ -96,8 +96,8 @@ announce and an unicast IP address:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput>
duplicate{dst=display,dst=standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen>
<para>
......@@ -108,8 +108,8 @@ to two unicast IP addresses:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
duplicate{dst=standard{access=udp,mux=ts,url=192.168.1.2},
dst=standard{access=udp,mux=ts,url=192.168.1.12}"}'</userinput>
duplicate{dst=standard{access=udp,mux=ts,dst=192.168.1.2},
dst=standard{access=udp,mux=ts,dst=192.168.1.12}"}'</userinput>
</screen>
<para>
......@@ -120,9 +120,9 @@ associated SAP announces:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=
standard{access=udp,mux=ts,url=239.255.1.2,sap,name="OriginalStream"},
standard{access=udp,mux=ts,dst=239.255.1.2,sap,name="OriginalStream"},
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
standard{access=udp,mux=ts,url=239.255.1.3,sap,name="TranscodedStream"}"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.1.3,sap,name="TranscodedStream"}"}'</userinput>
</screen>
</sect1>
......@@ -142,7 +142,7 @@ on the server, run:
</para>
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
</listitem>
......@@ -165,7 +165,7 @@ Transcode and stream in HTTP:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
<para>
......@@ -175,7 +175,7 @@ Ogg/Vorbis over HTTP:
<screen>
<prompt>% </prompt><userinput>vlc -vvv cdda:/dev/cdrom --sout '#transcode{acodec=vorb,ab=128}:
standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
</sect1>
......@@ -230,7 +230,7 @@ the sdp file using one of these methods instead of rtsp.</para></note>
</title>
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,url=:8080}'</userinput>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'</userinput>
</screen>
<para>VLC media player can connect to this by using the following url : mmsh://server_ip_address:8080 .</para>
......
......@@ -295,11 +295,11 @@ character is a # is considered as a comment.</para>
<programlisting>
new channel1 broadcast enabled
setup channel1 input http://host.mydomain/movie.mpeg
setup channel1 output #standard{mux=ts,access=udp,url=239.255.1.1,sap,name="Channel 1"}
setup channel1 output #standard{mux=ts,access=udp,dst=239.255.1.1,sap,name="Channel 1"}
new channel2 broadcast enabled
setup channel2 input udp://@239.255.12.42
setup channel2 output #standard{mux=ts,access=udp,url=239.255.1.2,sap,name="Channel 2"}
setup channel2 output #standard{mux=ts,access=udp,dst=239.255.1.2,sap,name="Channel 2"}
control channel1 play
control channel2 play
......@@ -312,7 +312,7 @@ control channel2 play
<programlisting>
new my_media broadcast enabled
setup my_media input my_video.mpeg input my_other_movie.mpeg
setup my_media output #standard{mux=ts,access=udp,url=239.255.1.1,sap,name="My Media"}
setup my_media output #standard{mux=ts,access=udp,dst=239.255.1.1,sap,name="My Media"}
new my_sched schedule enabled
setup my_sched date 2012/12/12-12:12:12
......
......@@ -69,7 +69,7 @@ devez employer :
</para>
<screen>
<prompt>% </prompt><userinput>vlc flux_d'entrée --sout "#module1{option1=paramètre1{option-du-paramètre1},option2=paramètre2}:#module2{option1=...,option2=...}:..."</userinput>
<prompt>% </prompt><userinput>vlc input_stream --sout "#module1{option1=parameter1{parameter-option1},option2=parameter2}:module2{option1=...,option2=...}:..."</userinput>
</screen>
<note><para>Certaines des options des modules sont requises (option1 dans cet exemple),
......@@ -245,28 +245,31 @@ piste audio.</para> <para>Aucune option n'est disponible pour ce muxer.</para></
</itemizedlist>
</sect3>
<sect3><title>url=</title>
<sect3><title>dst=</title>
<para>Cette option permet de donner les informations sur l'emplacement où le flux
doit être enregistré ou envoyé.</para>
<para>Le sens de l'option <emphasis>url</emphasis> dépend du paramètre utilisé à
l'option <emphasis>access</emphasis>.</para>
<para>Here is the meaning of the <emphasis>dst</emphasis> option
depending on the parameter used for the <emphasis>access</emphasis>
option.</para>
<itemizedlist>
<listitem><para>Si la méthode de sortie est <emphasis>file</emphasis>, url est le chemin
complet où le fichier doit être enregistré.</para></listitem>
<listitem><para>Si la méthode de sortie est <emphasis>udp</emphasis> ou <emphasis>rtp
</emphasis>, url est l'adresse unicast ou multicast de destination, et
éventuellement le port UDP, dans la forme <emphasis>adresse:port</emphasis>.</para></listitem>
<listitem><para>Si la méthode de sortie est <emphasis>http</emphasis>, <emphasis>https
</emphasis> ou <emphasis>mmsh</emphasis>, url est l'adresse, le port, et le
chemin réseau local sur lequel le server doit attendre des requètes. Si
aucune adresse est donnée, VLC écoutera sur toutes les interfaces réseau.
Cette information doit être de la forme <emphasis>adresse:port/chemin
</emphasis>.</para></listitem>
<listitem><para>If the <emphasis>file</emphasis> output method is used, dst is
the complete path where the file should be saved.</para></listitem>
<listitem><para>If the <emphasis>udp</emphasis> or <emphasis>rtp</emphasis>
output method is used, dst is the unicast or multicast
destination address and, optionally, UDP port, in the form
<emphasis>address:port</emphasis>.</para></listitem>
<listitem><para>If the <emphasis>http</emphasis>,
<emphasis>https</emphasis> or <emphasis>mmsh</emphasis> output method is
chosen, dst is the address, port and path of the local network interface
on which the server should listen for requests. If no address is given,
VLC will listen on all the network interfaces. These information
have to be supplied using the <emphasis>address:port/path</emphasis>
syntax.</para></listitem>
</itemizedlist>
......
......@@ -3,7 +3,7 @@
Diffuser une chaine DVB (Satellite ou TNT)
</title>
<!-- FIXME: improve, update, needs gui -->
<note><para>
......@@ -23,7 +23,8 @@ Si vous voulez pouvoir diffuser depuis une carte DVB (carte satellite ou TNT), v
<listitem><para>
Si vous utilisez un noyau linux 2.6.x, vous avez juste besoin de compiler les bons modules.
if you use a Linux 2.6.x kernel, you just need to
select the right modules in your kernel configuration.
</para></listitem>
......@@ -35,7 +36,10 @@ Si vous utilisez un noyau linux 2.4.x, vous devez telecharger la dernière versi
</itemizedlist>
<para>
Decompressez le tarball et suivez les instructions ecrites dans le fichier <filename>INSTALL</filename> pour compiler et installer les drivers.
The following sections assume that you have a working linux-dvb installation,
either from stock kernel 2.6 or from kernel 2.4 with DVB patches. If you
have any problem with the linux-dvb drivers, please report the problem
to the maintainers of the drivers, not to us. Thanks.
</para>
</sect1>
......@@ -44,6 +48,14 @@ Decompressez le tarball et suivez les instructions ecrites dans le fichier <file
Diffuser avec VLC
</title>
<note><para>
VLS is currently deprecated and hasn't been maintained for years. It is
strongly advised to use VLC instead, which now supports the same features
as VLS, and many more. The only advantage of VLS is to support the dvbrc
file syntax, and it requires a bit less CPU horsepower. However, we do
not support VLS any longer.
</para></note>
<para>
Mettez un fichier <filename>.dvbrc</filename> contenant les chaines DVB (Staellite ou TNT) que vous désirez diffuser dans votre repertoire personnel (certains sont fournis dans le tarball <emphasis>libdvb</emphasis> pour chaines satellite.
</para>
......@@ -97,64 +109,241 @@ Diffuser avec VLC
</title>
<note><para>
Pour cela, vous pouvez utiliser la version SVN de VLC et la compiler avec <command>./configure --enable-dvb</command>. Cette fonctionnalité est encore considérée comme expérimentale. Vous pourrez la trouver dans la release officielle depuis la version 0.7.2.</para></note>
VLC has many more features than VLS. First you can use the
advanced stream output options such as transcoding and all kinds of
output supports. Second VLC can take advantage of the Common Interface
supported by some DVB adapters to descramble one or several services.
Currently released versions of VLC only support the low-level API so
some adapters won't work (budget-ci cards work, twinhan doesn't).
Some CAM modules aren't compatible with some DVB cards, check the
linux-dvb documentation for more information. So-called "professional"
CAM modules are able to descramble up to twelve services, whereas
customer-oriented modules are often limited to one or two services unless
otherwise specified.
</para></note>
<para>
VLC must be compiled with --enable-dvb and you need the linux-dvb headers
installed in your system. An example command-line is as follows :
</para>
<screen>
<prompt>% </prompt><userinput>vlc -vvv --color --ttl 12 --ts-es-id-pid --programs 8508,8505 dvb: --dvb-adapter=0 --dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 --dvb-fec=3 --dvb-budget-mode --sout '#duplicate{dst=std{access=udp,mux=ts,url=address:3001},select="program=8508",dst=std{access=udp,mux=ts,url=address:3002},select="program=8505"}'</userinput>
</screen>
<prompt>% </prompt>
<userinput>vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=8508,8505 dvb: \
--dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \
'#duplicate{dst=std{dst=address1},select="program=8508",dst=std{dst=address2},select="program=8505"}'
</userinput></screen>
<para>
où :
The example above shows the minimum set of options needed to stream out
two services. Here is a list of frontend options, depending on the
frontend type:
</para>
<itemizedlist>
<listitem><para><emphasis>common options</emphasis></para>
<itemizedlist>
<listitem><para>
<emphasis>dvb-adapter</emphasis>
: specifies the adapter to use in case you have several adapters in your
machine (by default use adapter 0)
</para></listitem>
<listitem><para>
<emphasis>dvb-device</emphasis>
: specifies the name of the DVB device to use (should not be needed with
a standard linux-dvb installation)
</para></listitem>
<listitem><para>
<emphasis>dvb-srate</emphasis>
: specifies the symbol rate of the modulated signal, in symbols/s
</para></listitem>
<listitem><para>
<filename>ts-es-id-pid</filename> est necessaire pour dupliquer</para></listitem>
<emphasis>dvb-inversion</emphasis>
: specifies whether the signal is inverted or not (default is automatic
detection)
</para></listitem>
<listitem><para>
<filename>8508</filename> est le SID de la chaine DVB que vous voulez diffuser, exprimé en décimal
<emphasis>dvb-budget-mode</emphasis>
: enters a special mode where all PIDs are retrieved by the driver; it
should no longer be necessary as VLC should filter wanted PIDs
</para></listitem>
</itemizedlist>
</listitem>
<listitem><para><emphasis>satellite frontend (QPSK)</emphasis></para>
<itemizedlist>
<listitem><para>
<filename>0</filename> est le numéro de la carte DVD (0 pour dvb0)</para></listitem>
<emphasis>dvb-frequency</emphasis>
: specifies the frequency to tune to in kHz; according to the frequency
range, VLC auto-detects the band to use: S (2.5-2.7 GHz), C-lower (3.4-4.2 GHz),
C-higher (4.5-4.8 GHz), Ku (10.7-13.25 GHz) or direct BIS frequency (0.95-2.15
GHz); it is mandatory to supply the <emphasis>dvb-srate</emphasis> option
to satellite frontends
</para></listitem>
<listitem><para>
<filename>11739000</filename> est la frequence en Hz du transpondeur que vous voulez diffuser</para></listitem>
<emphasis>dvb-voltage</emphasis>
: specifies the voltage to apply on the IF; most LNBs behave differently
when supplied with 13 V or 18 V; universal LNBs select vertical
polarity with 13 V and horizontal with 18 V; you can also select 0 V if
your LNB has another power supply (default is 13 V)
</para></listitem>
<listitem><para>
<filename>27500000</filename> est le symbolrate du transpondeur en Hz</para></listitem>
<emphasis>dvb-tone</emphasis>
: specifies whether to send a 22 kHz pulse tone to the LNB; universal
LNBs switch to high-band when this pulse is sent; by default VLC automatically
adopts the correct behaviour if the frequency supplied is in the Ku
band (other bands do not need this)
</para></listitem>
<listitem><para>
<filename>13</filename> est la polarisation (13 pour verticale et 18 pour horizontale)</para></listitem>
<emphasis>dvb-fec</emphasis>
: specifies the code-rate to use for Forward Error Correction; type in
the first number of the code-rate, for 2/3 use --dvb-rate=2, etc. (default
is 9, meaning automatic detection)
</para></listitem>
<listitem><para>
<filename>3</filename> est le FEC (3 pour 3/4), si vous ne mettez pas l'option, la valeur sera detectée automatiquement</para></listitem>
<emphasis>dvb-high-voltage</emphasis>
: enables a special mode of the DVB adapter to compensate for the
voltage loss in very long cables (AFAIK it is present in the API, but
no DVB adapter actually implements it)
</para></listitem>
<listitem><para>
<filename>dvb-budget-mode</filename> si cette carte supporte ce mode</para></listitem>
<emphasis>dvb-lnb-lof1, dvb-lnb-lof2, dvb-lnb-slof</emphasis>
: specifies the frequencies of the first and second local oscillators,
and the frequency at which the 22 kHz pulse should be activated to enable the
second oscillator; by default VLC uses the values for universal LNBs
if the frequency supplied is in the Ku band (other bands do not need
this)
</para></listitem>
</itemizedlist>
</listitem>
<listitem><para><emphasis>address</emphasis> est l'une:</para>
<listitem><para><emphasis>cable frontend (QAM)</emphasis></para>
<itemizedlist>
<listitem><para>
<emphasis>dvb-frequency</emphasis>
: specifies the frequency to tune to in Hz; it is mandatory to supply the
<emphasis>dvb-srate</emphasis> option to cable frontends
</para></listitem>
<listitem><para>
des adresses IP des machines vers lequelles vous voulez difuser en unicast
<emphasis>dvb-modulation</emphasis>
: specifies the modulation of the analog signal; valid values are
-1 (QPSK), 0 (automatic QAM, default), 16 (QAM16), 32 (QAM32), 64 (QAM64)
128 (QAM128), 256 (QAM256)
</para></listitem>
</itemizedlist>
</listitem>
<listitem><para><emphasis>terrestrial frontend (OFDM)</emphasis></para>
<itemizedlist>
<listitem><para>
<emphasis>dvb-frequency</emphasis>
: specifies the frequency to tune to in Hz; it is mandatory to supply the
<emphasis>dvb-bandwidth</emphasis> option, all other parameters are optional
</para></listitem>
<listitem><para>
<emphasis>dvb-bandwidth</emphasis>
: specifies the bandwidth of the OFDM channel (6, 7 or 8 MHz depending
on the country)
</para></listitem>
<listitem><para>
<emphasis>dvb-hierarchy</emphasis>
: specifies if the OFDM channel uses hierarchic information; allowed
values are -1 (no hierarchy), 0 (automatic, default), 1, 2 and 4
</para></listitem>
<listitem><para>
ou des adresses DNS des machines vers lequelles vous voulez difuser en unicast
<emphasis>dvb-code-rate-hp, dvb-code-rate-lp</emphasis>
: specifies the code-rate to use for higher and lower hierarchies
respectively (default auto, same syntax as <emphasis>dvb-fec</emphasis>)
</para></listitem>
<listitem><para>
ou une adresses IP multicast.</para></listitem>
<emphasis>dvb-guard</emphasis>
: specifies the guard interval; valid values are 0 (automatic, default),
4 (1/4), 8 (1/8), 16 (1/16) and 32 (1/32)
</para></listitem>
<listitem><para>
<emphasis>dvb-transmission</emphasis>
: specifies the transmission mode; valid values are 0 (automatic, default),
2 (2K) and 8 (8K)
</para></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
<para>
We also ought to explain the other non-dvb-specific options of the
example command-line:
</para>
<itemizedlist>
<listitem><para>
<emphasis>12</emphasis> est la valeur TTL (Time To Live) des paquets IP (ce qui sigifie que le paquet pourra traverser 11 routeurs.</para></listitem>
<emphasis>ts-es-id-pid</emphasis>
: this option is necessary if you use the <emphasis>#duplicate</emphasis>
stream output filter
to split the multiplex in several outputs; there is no need to use
<emphasis>#duplicate</emphasis> neither <emphasis>ts-es-id-pid</emphasis>
if you have one program only
</para></listitem>
<listitem><para>
<emphasis>programs, program, sout-all</emphasis>
: there are several ways of specifying the services to select (and
optionally descramble):
<itemizedlist>
<listitem><para>
<emphasis>programs</emphasis>
: used to specify one or serveral programs to select; VLC selects all
known elementary streams of these programs; this is the currently
recommended way
</para></listitem>
<listitem><para>
<emphasis>program</emphasis>
: used to specify one program to select; it differs from using
<emphasis>programs</emphasis> with only one program in that this
option only select the first audio stream, and no subtitle stream; it
should be used if you plan to switch programs and audio with a GUI
</para></listitem>
<listitem><para>
<emphasis>sout-all</emphasis>
: tells VLC to select all programs; this is discouraged because of
the extra CPU load needed to demultiplex unwanted programs, and
because it is not compatible with CAM descrambling
</para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>
The other options are standard stream output options and are described
in the other chapters of this documentation.
</para></listitem>
</itemizedlist>
......
......@@ -223,7 +223,7 @@ Vous devez ajouter <command>--enable-v4l</command> a votre <command>./configure<
<screen>
<prompt>% </prompt><userinput>vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0
--sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=239.255.12.13}' --ttl 12</userinput>
--sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,dst=239.255.12.13}' --ttl 12</userinput>
</screen>
<note><para>You can find all transcode options on this page : <xref linkend="cmdline" endterm="tcmdline" /> .</para></note>
......@@ -328,7 +328,7 @@ signifie que le flux peut traverser 11 routeurs maximum).</para></listitem>
<para>Vous devez installer votre périphérique sous Windows avec les pilotes appropriés. Rien d'autre n'est nécessaire.</para>
</sect2>
<sect2><title>Diffuser avec VLC an ligne de commande</title>
<para><screen><prompt>% </prompt><userinput>C:\Program Files\VideoLAN\VLC\vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="VGA USB Camera" adev="USB Camera" size="640x480" --sout=#std{mux=ts,access=udp,url=239.255.42.12}</userinput></screen></para>
<para><screen><prompt>% </prompt><userinput>C:\Program Files\VideoLAN\VLC\vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="VGA USB Camera" adev="USB Camera" size="640x480" --sout=#std{mux=ts,access=udp,dst=239.255.42.12}</userinput></screen></para>
<note>
<para>Vous devez préciser le chemin complet vers VLC ou éxecuter la commande depuis le bon répertoire.</para>
</note>
......
......@@ -13,7 +13,7 @@ Transcoder le flux d'entrée et l'envoier vers une adresse multicast avec l'anno
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}'</userinput>
</screen>
<para>
......@@ -23,7 +23,7 @@ standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}'</userinput>
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
"transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}"}'</userinput>
</screen>
<para>
......@@ -32,7 +32,7 @@ Transcoder, afficher le flux transcodé et l'envoyer vers une adresse multicast
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}}'</userinput>
duplicate{dst=display,dst=standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}}'</userinput>
</screen>
</sect1>
......@@ -47,8 +47,8 @@ Envoyer le flux vers une adresses IP multicast et une adresse IP unicast:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput>
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen>
<para>
......@@ -57,8 +57,8 @@ Afficher le flux et l'envoyer vers deux adresses IP unicast:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
standard{access=udp,mux=ts,url=192.168.1.12},
dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput>
standard{access=udp,mux=ts,dst=192.168.1.12},
dst=standard{access=udp,mux=ts,dst=192.168.1.42}}'</userinput>
</screen>
<para>Envoyer des parties d'un flux d'entrée multiple:
......@@ -66,8 +66,8 @@ dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput>
<screen>
<prompt>% </prompt><userinput>vlc -vvv multiple_program_input_stream
--sout '#duplicate{dst=standard{access=udp,mux=ts,url=239.255.12.42},select="program=12345",
dst=standard{access=udp,mux=ts,url=239.255.12.43}, select="video,program=1234-2345"}'</userinput>
--sout '#duplicate{dst=standard{access=udp,mux=ts,dst=239.255.12.42},select="program=12345",
dst=standard{access=udp,mux=ts,dst=239.255.12.43}, select="video,program=1234-2345"}'</userinput>
</screen>
<para>Cette commande envoie le programme du flux d'entrée dont le numéro est 12345 vers l'adresses 239.255.12.42 et tous les programmes dont le numeros est compris entre 1234 et 2345 vers l'adresse 239.255.12.43.</para>
......@@ -85,8 +85,8 @@ Transcoder le flux d'entrée, afficher le flux transcodé et l'envoyer vers une
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput>
duplicate{dst=display,dst=standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen>
<para>
......@@ -96,8 +96,8 @@ Afficher le flux d'entrée, le transcoder et l'envoyer vers deux adresses IP uni
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
duplicate{dst=standard{access=udp,mux=ts,url=192.168.1.2},
dst=standard{access=udp,mux=ts,url=192.168.1.12}"}'</userinput>
duplicate{dst=standard{access=udp,mux=ts,dst=192.168.1.2},
dst=standard{access=udp,mux=ts,dst=192.168.1.12}"}'</userinput>
</screen>
<para>
......@@ -106,9 +106,9 @@ Envoyer le flux d'entrée vers une adresses IP multiicast, et le flux trancodée
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=
standard{access=udp,mux=ts,url=239.255.1.2,sap,name="OriginalStream"},
standard{access=udp,mux=ts,dst=239.255.1.2,sap,name="OriginalStream"},
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
standard{access=udp,mux=ts,url=239.255.1.3,sap,name="TranscodedStream"}"}'</userinput>
standard{access=udp,mux=ts,dst=239.255.1.3,sap,name="TranscodedStream"}"}'</userinput>
</screen>
</sect1>
......@@ -128,7 +128,7 @@ Sur le serveur, lancer
</para>
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
</listitem>
......@@ -151,7 +151,7 @@ Transcoder et diffuser en HTTP:
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
<para>
......@@ -160,7 +160,7 @@ Par exemple, si vous voulez diffuser un CD audio en Ogg/Vorbis par HTTP:
<screen>
<prompt>% </prompt><userinput>vlc -vvv cdda:/dev/cdrom --sout '#transcode{acodec=vorb,ab=128}:
standard{access=http,mux=ogg,url=server.example.org:8080}'</userinput>
standard{access=http,mux=ogg,dst=server.example.org:8080}'</userinput>
</screen>
</sect1>
......@@ -215,7 +215,7 @@ the sdp file using one of these methods instead of rtsp.</para></note>
</title>
<screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,url=:8080}'</userinput>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'</userinput>
</screen>
<para>VLC media player peut s'y connecter en utilisant l'URL suivante mmsh://server_ip_address:8080 .</para>
......
......@@ -287,16 +287,16 @@ est un dièse # est considérée comme un commentaire, et donc ignorée.</para>
<sect3><title>Diffusion simple en broadcast</title>
<programlisting>
new canal1 broadcast enabled
setup canal1 input http://machine.mondomaine/film.mpeg
setup canal1 output #standard{mux=ts,access=udp,url=239.255.1.1,sap,name="Canall 1"}
new channel1 broadcast enabled
setup channel1 input http://host.mydomain/movie.mpeg
setup channel1 output #standard{mux=ts,access=udp,dst=239.255.1.1,sap,name="Channel 1"}
new canal2 broadcast enabled
setup canal2 input udp://@239.255.12.42
setup canal2 output #standard{mux=ts,access=udp,url=239.255.1.2,sap,name="Canal 2"}
new channel2 broadcast enabled
setup channel2 input udp://@239.255.12.42
setup channel2 output #standard{mux=ts,access=udp,dst=239.255.1.2,sap,name="Channel 2"}
control canal1 play
control canal2 play
control channel1 play
control channel2 play
</programlisting>
</sect3>
......@@ -304,13 +304,13 @@ control canal2 play
<sect3><title>Diffusion planifiée en broadcast</title>