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> ...@@ -256,27 +256,27 @@ muxer.</para></listitem>
</itemizedlist> </itemizedlist>
</sect3> </sect3>
<sect3><title>url=</title> <sect3><title>dst=</title>
<para>This option allows to give informations about the location <para>This option allows to give informations about the location
where the stream should actually be saved or sent.</para> 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> depending on the parameter used for the <emphasis>access</emphasis>
option.</para> option.</para>
<itemizedlist> <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> the complete path where the file should be saved.</para></listitem>
<listitem><para>If the <emphasis>udp</emphasis> or <emphasis>rtp</emphasis> <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 destination address and, optionally, UDP port, in the form
<emphasis>address:port</emphasis>.</para></listitem> <emphasis>address:port</emphasis>.</para></listitem>
<listitem><para>If the <emphasis>http</emphasis>, <listitem><para>If the <emphasis>http</emphasis>,
<emphasis>https</emphasis> or <emphasis>mmsh</emphasis> output method is <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, on which the server should listen for requests. If no address is given,
VLC will listen on all the network interfaces. These information VLC will listen on all the network interfaces. These information
have to be supplied using the <emphasis>address:port/path</emphasis> 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 : ...@@ -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: \ <userinput>vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=8508,8505 dvb: \
--dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 \ --dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 \
--sout-standard-access=udp --sout-standard-mux=ts --sout \ --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> </userinput></screen>
<para> <para>
......
...@@ -267,7 +267,7 @@ You must add <command>--enable-v4l</command> to ...@@ -267,7 +267,7 @@ You must add <command>--enable-v4l</command> to
<screen> <screen>
<!-- We cut the lines when they are too long, so that it looks OK in PDF format ! --> <!-- 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 <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> </screen>
<note><para>You can find all transcode options on this page : <xref linkend="cmdline" endterm="tcmdline" /> .</para></note> <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> ...@@ -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> <para>You need to install your peripherals under Windows with the appropriate drivers. Nothing else is necessary.</para>
</sect2> </sect2>
<sect2><title>Stream with VLC in command line</title> <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> <note>
<para>You need to precise the complete path to find vlc program or to launch the command from the correct directory.</para> <para>You need to precise the complete path to find vlc program or to launch the command from the correct directory.</para>
</note> </note>
......
...@@ -15,7 +15,7 @@ multicast IP address with the associated SAP announce: ...@@ -15,7 +15,7 @@ multicast IP address with the associated SAP announce:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}: <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> </screen>
<para> <para>
...@@ -26,7 +26,7 @@ to a multicast IP address with the associated SAP announce: ...@@ -26,7 +26,7 @@ to a multicast IP address with the associated SAP announce:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst= <prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
"transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}: "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> </screen>
<para> <para>
...@@ -37,7 +37,7 @@ announce: ...@@ -37,7 +37,7 @@ announce:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}: <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> </screen>
</sect1> </sect1>
...@@ -53,8 +53,8 @@ unicast IP address: ...@@ -53,8 +53,8 @@ unicast IP address:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst= <prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=
standard{access=udp,mux=ts,url=239.255.12.42,sap,name="TestStream"}, standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput> dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen> </screen>
<para> <para>
...@@ -64,8 +64,8 @@ addresses: ...@@ -64,8 +64,8 @@ addresses:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst= <prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,dst=
standard{access=udp,mux=ts,url=192.168.1.12}, standard{access=udp,mux=ts,dst=192.168.1.12},
dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput> dst=standard{access=udp,mux=ts,dst=192.168.1.42}}'</userinput>
</screen> </screen>
<para>Send parts of a multiple program input stream: <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> ...@@ -73,8 +73,8 @@ dst=standard{access=udp,mux=ts,url=192.168.1.42}}'</userinput>
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv multiple_program_input_stream <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", --sout '#duplicate{dst=standard{access=udp,mux=ts,dst=239.255.12.42},select="program=12345",
dst=standard{access=udp,mux=ts,url=239.255.12.43}, select="video,program=1234-2345"}'</userinput> dst=standard{access=udp,mux=ts,dst=239.255.12.43}, select="video,program=1234-2345"}'</userinput>
</screen> </screen>
<para>This command sends the program of the input stream which id is <para>This command sends the program of the input stream which id is
...@@ -96,8 +96,8 @@ announce and an unicast IP address: ...@@ -96,8 +96,8 @@ announce and an unicast IP address:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}: <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"}, duplicate{dst=display,dst=standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=standard{access=udp,mux=ts,url=192.168.1.2}}'</userinput> dst=standard{access=udp,mux=ts,dst=192.168.1.2}}'</userinput>
</screen> </screen>
<para> <para>
...@@ -108,8 +108,8 @@ to two unicast IP addresses: ...@@ -108,8 +108,8 @@ to two unicast IP addresses:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display, <prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst=display,
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
duplicate{dst=standard{access=udp,mux=ts,url=192.168.1.2}, duplicate{dst=standard{access=udp,mux=ts,dst=192.168.1.2},
dst=standard{access=udp,mux=ts,url=192.168.1.12}"}'</userinput> dst=standard{access=udp,mux=ts,dst=192.168.1.12}"}'</userinput>
</screen> </screen>
<para> <para>
...@@ -120,9 +120,9 @@ associated SAP announces: ...@@ -120,9 +120,9 @@ associated SAP announces:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#duplicate{dst= <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}: 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> </screen>
</sect1> </sect1>
...@@ -142,7 +142,7 @@ on the server, run: ...@@ -142,7 +142,7 @@ on the server, run:
</para> </para>
<screen> <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> </screen>
</listitem> </listitem>
...@@ -165,7 +165,7 @@ Transcode and stream in HTTP: ...@@ -165,7 +165,7 @@ Transcode and stream in HTTP:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: <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> </screen>
<para> <para>
...@@ -175,7 +175,7 @@ Ogg/Vorbis over HTTP: ...@@ -175,7 +175,7 @@ Ogg/Vorbis over HTTP:
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv cdda:/dev/cdrom --sout '#transcode{acodec=vorb,ab=128}: <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> </screen>
</sect1> </sect1>
...@@ -230,7 +230,7 @@ the sdp file using one of these methods instead of rtsp.</para></note> ...@@ -230,7 +230,7 @@ the sdp file using one of these methods instead of rtsp.</para></note>
</title> </title>
<screen> <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> </screen>
<para>VLC media player can connect to this by using the following url : mmsh://server_ip_address:8080 .</para> <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> ...@@ -295,11 +295,11 @@ character is a # is considered as a comment.</para>
<programlisting> <programlisting>
new channel1 broadcast enabled new channel1 broadcast enabled
setup channel1 input http://host.mydomain/movie.mpeg 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 new channel2 broadcast enabled
setup channel2 input udp://@239.255.12.42 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 channel1 play
control channel2 play control channel2 play
...@@ -312,7 +312,7 @@ control channel2 play ...@@ -312,7 +312,7 @@ control channel2 play
<programlisting> <programlisting>
new my_media broadcast enabled new my_media broadcast enabled
setup my_media input my_video.mpeg input my_other_movie.mpeg 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 new my_sched schedule enabled
setup my_sched date 2012/12/12-12:12:12 setup my_sched date 2012/12/12-12:12:12
......
...@@ -69,7 +69,7 @@ devez employer : ...@@ -69,7 +69,7 @@ devez employer :
</para> </para>
<screen> <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> </screen>
<note><para>Certaines des options des modules sont requises (option1 dans cet exemple), <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></ ...@@ -245,28 +245,31 @@ piste audio.</para> <para>Aucune option n'est disponible pour ce muxer.</para></
</itemizedlist> </itemizedlist>
</sect3> </sect3>
<sect3><title>url=</title> <sect3><title>dst=</title>
<para>Cette option permet de donner les informations sur l'emplacement où le flux <para>Cette option permet de donner les informations sur l'emplacement où le flux
doit être enregistré ou envoyé.</para> doit être enregistré ou envoyé.</para>
<para>Le sens de l'option <emphasis>url</emphasis> dépend du paramètre utilisé à <para>Here is the meaning of the <emphasis>dst</emphasis> option
l'option <emphasis>access</emphasis>.</para> depending on the parameter used for the <emphasis>access</emphasis>
option.</para>
<itemizedlist> <itemizedlist>
<listitem><para>Si la méthode de sortie est <emphasis>file</emphasis>, url est le chemin <listitem><para>If the <emphasis>file</emphasis> output method is used, dst is
complet où le fichier doit être enregistré.</para></listitem> the complete path where the file should be saved.</para></listitem>
<listitem><para>Si la méthode de sortie est <emphasis>udp</emphasis> ou <emphasis>rtp <listitem><para>If the <emphasis>udp</emphasis> or <emphasis>rtp</emphasis>
</emphasis>, url est l'adresse unicast ou multicast de destination, et output method is used, dst is the unicast or multicast
éventuellement le port UDP, dans la forme <emphasis>adresse:port</emphasis>.</para></listitem> destination address and, optionally, UDP port, in the form
<emphasis>address: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 <listitem><para>If the <emphasis>http</emphasis>,
chemin réseau local sur lequel le server doit attendre des requètes. Si <emphasis>https</emphasis> or <emphasis>mmsh</emphasis> output method is
aucune adresse est donnée, VLC écoutera sur toutes les interfaces réseau. chosen, dst is the address, port and path of the local network interface
Cette information doit être de la forme <emphasis>adresse:port/chemin on which the server should listen for requests. If no address is given,
</emphasis>.</para></listitem> 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> </itemizedlist>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Diffuser une chaine DVB (Satellite ou TNT) Diffuser une chaine DVB (Satellite ou TNT)
</title> </title>
<!-- FIXME: improve, update, needs gui -->
<note><para> <note><para>
...@@ -23,7 +23,8 @@ Si vous voulez pouvoir diffuser depuis une carte DVB (carte satellite ou TNT), v ...@@ -23,7 +23,8 @@ Si vous voulez pouvoir diffuser depuis une carte DVB (carte satellite ou TNT), v
<listitem><para> <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> </para></listitem>
...@@ -35,7 +36,10 @@ Si vous utilisez un noyau linux 2.4.x, vous devez telecharger la dernière versi ...@@ -35,7 +36,10 @@ Si vous utilisez un noyau linux 2.4.x, vous devez telecharger la dernière versi
</itemizedlist> </itemizedlist>
<para> <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> </para>
</sect1> </sect1>
...@@ -44,6 +48,14 @@ Decompressez le tarball et suivez les instructions ecrites dans le fichier <file ...@@ -44,6 +48,14 @@ Decompressez le tarball et suivez les instructions ecrites dans le fichier <file
Diffuser avec VLC Diffuser avec VLC
</title> </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> <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. 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> </para>
...@@ -97,64 +109,241 @@ Diffuser avec VLC ...@@ -97,64 +109,241 @@ Diffuser avec VLC
</title> </title>
<note><para> <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> <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> <prompt>% </prompt>
</screen> <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> <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> </para>
<itemizedlist> <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> <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> <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> </para></listitem>
</itemizedlist>
</listitem>
<listitem><para><emphasis>satellite frontend (QPSK)</emphasis></para>
<itemizedlist>
<listitem><para> <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> <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> <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> <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> <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> <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> <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> <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> </para></listitem>
<listitem><para> <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> </para></listitem>
<listitem><para> <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> </itemizedlist>
</listitem> </listitem>
</itemizedlist>
<para>
We also ought to explain the other non-dvb-specific options of the
example command-line:
</para>
<itemizedlist>
<listitem><para> <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> </itemizedlist>
......
...@@ -223,7 +223,7 @@ Vous devez ajouter <command>--enable-v4l</command> a votre <command>./configure< ...@@ -223,7 +223,7 @@ Vous devez ajouter <command>--enable-v4l</command> a votre <command>./configure<
<screen> <screen>
<prompt>% </prompt><userinput>vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0 <prompt>% </prompt><userinput>vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0