Commit 46e7a04e authored by Alexis de Lattre's avatar Alexis de Lattre

* common/stylesheet-print-noicones.dsl : stylesheet for PS/PDF/RTF output

* faq/Makefile: added PS/PDF/RTF targets
* faq/faq.sgml: SGML enhancements and few modifications
parent e55a8802
<!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)
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
</style-sheet>
all: clean html
all: clean html html-zip txt pdf ps rtf
html:
rm -f *.html
......@@ -8,7 +8,26 @@ html:
ln -s book1.html index.html
clean:
rm -f *.html *.txt
rm -f *.html *.txt *.zip *.pdf *.ps *.rtf
html-zip:
zip FAQ-vlc-html.zip *.html
txt:
sgmltools -b txt faq-alone.sgml
mv -f faq-alone.txt FAQ-vlc.txt
pdf:
sgmltools -b pdf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.pdf FAQ-vlc.pdf
zip FAQ-vlc-pdf.zip FAQ-vlc.pdf
ps:
sgmltools -b ps -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.ps FAQ-vlc.ps
zip FAQ-vlc-ps.zip FAQ-vlc.ps
rtf:
sgmltools -b rtf -s ../common/stylesheet-print-noicones.dsl faq-alone.sgml
mv -f faq-alone.rtf FAQ-vlc.rtf
zip FAQ-vlc-rtf.zip FAQ-vlc.rtf
......@@ -5,19 +5,24 @@
<qandadiv><title>Using the VideoLAN Client</title>
<qandaentry>
<question><para>How do I read a DVD?</para></question>
<answer><para>Just launch vlc and use the "open disc" command from the graphical
<answer><para>Just launch VLC and use the "open disc" command from the graphical
interface. In case of trouble, you may want to use the command line.
For instance, provided your DVD device is /dev/dvd:
For instance, provided your DVD device is <filename>/dev/dvd</filename> :</para>
<screen><prompt>% </prompt><userinput>vlc dvd:/dev/dvd</userinput></screen>
</para></answer></qandaentry>
</answer></qandaentry>
<qandaentry>
<question><para>How do I read an encrypted DVD?</para></question>
<answer><para>It is exactly the same as for a normal DVD. You will need write access to
/dev/dvd, because of the key negociation process.
<answer><para>It is exactly the same as for a normal DVD. You will
need write access to <filename>/dev/dvd</filename>, because of the key
negociation process.
If you compiled your VLC by hand, please bear in mind that you also need
to install libdvdcss. It can be downloaded from the VideoLAN website. It
......@@ -27,42 +32,61 @@ them seperately.
</para></answer></qandaentry>
<qandaentry>
<question><para>How do I switch to full screen display?</para></question>
<answer><para>Press 'f' to toggle fullscreen mode. Note that not all video output
devices support full screen.
<answer><para>Press 'f' to toggle fullscreen mode. Note that not all
video output devices support full screen.
</para></answer></qandaentry>
<qandaentry>
<question><para>How do I hide the mouse cursor?</para></question>
<answer><para>It should disappear after a few seconds if you stop moving the mouse.
<answer><para>It should disappear after a few seconds if you stop moving
the mouse.
</para></answer></qandaentry>
<qandaentry>
<question><para>How do I use vlc if I do not want to install Gnome and
<question><para>How do I use VLC if I do not want to install Gnome and
all this #@!£% *$@&§% !@# bloat?</para></question>
<answer><para>You can run:</para>
<screen><prompt>% </prompt><userinput> vlc --intf dummy myfile.mpg</userinput>
<screen><prompt>% </prompt><userinput>vlc --intf dummy myfile.mpg</userinput>
</screen>
<para>Most commands are available from the command line, see <command>vlc
--help</command> for more information.</para>
<para>Most commands are available from the command line, see
<command>vlc --help</command> for more information.</para>
</answer></qandaentry>
<qandaentry>
<question><para>VLC eats my buffer cache, how can I use raw device?</para></question>
<answer><para>If you do not know what is a raw device, do not even read this answer :-).</para><para>
There is an experimental support for raw devices in libdvdcss. It needs
that you set up a raw device pointing to your DVD device (under Linux,
use the "raw" utility). Then pass the raw device as second argument, for
instance:</para>
<answer><para>If you do not know what is a raw device, do not even read
this answer :-).</para>
<para>There is an experimental support for raw devices in libdvdcss. It
needs that you set up a raw device pointing to your DVD device (under
Linux, use the "raw" utility). Then pass the raw device as second
argument, for instance:</para>
<screen><prompt>% </prompt><userinput>vlc dvd:/dev/dvd@/dev/raw0</userinput></screen>
</answer></qandaentry>
<qandaentry>
<question><para>How do I use VLC as a client for VLS/VLMS streaming?</para></question>
<answer><para>First you must set up a VLS or VLMS stream. Please refer to the
documentation of these programs. Then start VLC:</para>
<question><para>How do I use VLC as a client for VLS
streaming?</para></question>
<answer><para>First you must set up a VLS stream. Please refer to the
documentation of the program. Then start VLC:</para>
<screen><prompt>% </prompt><userinput>vlc udp:</userinput></screen>
......@@ -74,221 +98,306 @@ everything, here is the exact syntax:</para>
</answer></qandaentry>
<qandaentry>
<question><para>How do I uninstall / reinstall VLC?</para></question>
<answer><para>Why would you want to? ;)</para>
<para>
If you are using a source distribution of VLC, for example a tarball or
the CVS, then you have probably used "make install" to install the
compiled VLC. To remove it just "make uninstall". If you want to
install a newer version than the currently installed one, you should
first uninstall the first one. If you deleted the original source tree,
a "make uninstall" in the newer tree should still work.
</para><para>
For binary packages, remove old packages first and install the new ones
(normally this should be handled automagically by your sytem).
<para>If you are using a source distribution of VLC, for example
a tarball or the CVS, then you have probably used <command>make
install</command> to install the compiled VLC. To remove it just
<command>make uninstall</command>. If you want to install a newer
version than the currently installed one, you should first uninstall
the first one. If you deleted the original source tree, a <command>make
uninstall</command> in the newer tree should still work.</para>
<para>For binary packages, remove old packages first and install the new
ones (normally this should be handled automagically by your sytem).
</para></answer></qandaentry>
<qandaentry>
<question><para>Debian: what should I put in my sources.list for videolan?</para></question>
<question><para>Debian: what should I put in my sources.list for
videolan?</para></question>
<answer>
<programlisting>
<para><programlisting>
deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
</programlisting>
</programlisting></para>
</answer></qandaentry>
<qandaentry>
<question><para>How can I save my VLC configuration?</para></question>
<answer><para>Currently, the only way to save the configuration options in VLC is through
the preferences menu in one of the graphical user interface plugins.
<answer><para>Currently, the only way to save the configuration options
in VLC is through the preferences menu in one of the graphical user
interface plugins.
</para></answer></qandaentry>
<qandaentry>
<question><para>Where does VLC store its config file?</para></question>
<answer><para>Currently, a config file is created on a per user basis (there is no global
configuration file). If you modify the available options in VLC and save the
new configuration, then a configuration file will be created in your user
directory. The precise location of this file depends on the Operating System
you are running:
</para>
<answer><para>Currently, a config file is created on a per user basis
(there is no global configuration file). If you modify the available
options in VLC and save the new configuration, then a configuration file
will be created in your user directory. The precise location of this
file depends on the Operating System you are running: </para>
<itemizedlist>
<listitem><para>Unices
(Linux, etc.): <filename>$(HOME)/.vlc/vlcrc</filename></para></listitem>
<listitem><para>Windows: <filename>Application Data\vlc\vlcrc</filename> (Application Data is usually in <filename>C:\Documents and Settings\your_name</filename></para></listitem>
<listitem><para>BeOS: <filename>config/settings/vlcrc</filename></listitem>
<listitem><para>Unices (Linux, etc.):
<filename>$(HOME)/.vlc/vlcrc</filename></para></listitem>
<listitem><para>Windows: <filename>Application Data\vlc\vlcrc</filename>
(Application Data is usually in <filename>C:\Documents and
Settings\your_name</filename></para></listitem>
<listitem><para>BeOS:
<filename>config/settings/vlcrc</filename></listitem>
</itemizedlist>
</answer></qandaentry>
<qandaentry>
<question><para>How do I join an IPv6 multicast stream?</para></question>
<answer><para>You often have to indicate the interface name on your system, for instance :
udp:@[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210%eth0]:1234
</para></answer></qandaentry>
</qandadiv>
<qandadiv><title>Troubleshooting</title>
<qandaentry>
<question><para>When I start vlc, I do not see any interface coming</para></question>
<answer><para>If you installed a binary package, make sure you also installed an
interface package such as vlc-gtk or vlc-qt. If you installed from
source, make sure the development package for gtk or qt is correctly
installed (often gtk-dev or gtk-devel) and recompile.
<question><para>When I start VLC, I do not see any interface
coming</para></question>
<answer><para>If you installed a binary package, make sure you also
installed an interface package such as <emphasis>vlc-gtk</emphasis>
or <emphasis>vlc-qt</emphasis>. If you installed from source, make
sure the development package for gtk 1.2 or qt is correctly installed
(often <emphasis>gtk-dev</emphasis>, <emphasis>gtk-devel</emphasis> or
<emphasis>libgtk1.2-dev</emphasis>) and recompile.
</para></answer></qandaentry>
<qandaentry>
<question><para>Clicking on "disc" in the interface does not do anything</para></question>
<answer><para>Wait a few seconds. Key cracking can take much time on some discs. If it
still does not work, you can have a more verbose output using <command>vlc -vvvvv</command>.
Here are a few things to check for:
<question><para>Clicking on "<emphasis>disc</emphasis>" in the interface
does not do anything</para></question>
<answer><para>Wait a few seconds. Key discovering can take much time on
some discs. If it still does not work, you can have a more verbose
output using <command>vlc -vvvvv</command>. Here are a few things to
check for:</para>
<itemizedlist>
<listitem><para>Did you install the libdvdcss package?</para></listitem>
<listitem><para>Do you have write access to your DVD device? For instance, under Unix, <command>chmod 666 /dev/hdc</command> </para></listitem>
<listitem><para>Do you have write access to your DVD device?
For instance, under Unix, <command>chmod 666 /dev/hdc</command>
</para></listitem>
<listitem><para>Under Unix, does your kernel log contain line about your
DVD device?</para></listitem>
<listitem><para>Under Unix, does your kernel log contain line about your DVD device?</para></listitem>
<listitem><para>Under Unix, do you have a link from <filename>/dev/dvd</filename> to your real DVD device? For instance:</para>
<screen><prompt># </prompt><userinput>cd /dev && ln -s hdc dvd</userinput></screen></listitem>
<listitem><para>Under Unix, do you have a link from /dev/dvd to your real DVD device? For instance</para>
<screen><prompt>% </prompt><userinput>ln -s hdc /dev/dvd</userinput></screen></listitem>
</itemizedlist>
</para></answer></qandaentry>
</answer></qandaentry>
<qandaentry>
<question><para>[REMOVED]</para></question>
</qandaentry>
<qandaentry>
<question><para>The video runs but the picture is distorted</para></question>
<answer><para>There is probably a problem with the output layer. There are several
ways of troubleshooting it. First, try with another output plugin, for
instance:</para>
<answer><para>There is probably a problem with the output layer. There
are several ways of troubleshooting it. First, try with another output
plugin, for instance:</para>
<screen>
<prompt>% </prompt><userinput>vlc --vout sdl</userinput>
<prompt>% </prompt><userinput>vlc --vout x11</userinput>
</screen>
<para>Second, change your screen depth and/or definition. It quite often helps.
Lastly, if running Unix, have a look at your XFree86 video driver (nVidia for instance
releases optimized drivers for its boards).
<para>Second, change your screen depth and/or definition. It quite
often helps. Lastly, if running Unix, have a look at your XFree86 video
driver (nVidia for instance releases optimized drivers for its boards).
</para></answer></qandaentry>
<qandaentry>
<question><para>Video is choppy</para></question>
<answer><para>Your system is too slow to decode all pictures. It might be that your CPU basically is not fast enough. It can also be that the subsystem is
misconfigured/misdriven, this happens for example under Redhat Linux. Here are
some elements to improve speed:
</para>
<answer><para>Your system is too slow to decode all pictures. It might
be that your CPU basically is not fast enough. It can also be that the
subsystem is misconfigured/misdriven, this happens for example under
Redhat Linux. Here are some elements to improve speed: </para>
<itemizedlist>
<listitem><para>Turn on DMA on your DVD device, for instance</para>
<screen><prompt>Under Linux: % </prompt><userinput>hdparm -X34 -d1 /dev/dvd</userinput></screen>
<para>Under Windows, go to the <emphasis>System</emphasis> section of
the control panel, and go to the <emphasis>Hardware manager</emphasis>
(it is sometimes in a separate tab, and sometimes, you have to go to the
<emphasis>Advanced</emphasis> tab. Then, righ-click on your DVD player,
and check the <emphasis>DMA</emphasis> checkbox</para></listitem>
<listitem><para>Upgrade to the latest driver for your
video board</para>
<para>If you are running Linux, you can additionnaly upgrade to the latest XFree86 version ; if supported, check that the xvideo plug-in is effectively used with</para>
<listitem><para>Turn on DMA on your DVD device, for instance:</para>
<itemizedlist>
<listitem><para>Under Linux:</para>
<screen><prompt>% </prompt><userinput>hdparm -d1 /dev/dvd</userinput></screen>
</listitem>
<listitem><para>Under Windows, go to the <emphasis>System</emphasis>
section of the control panel, and go to the <emphasis>Hardware
manager</emphasis> (it is sometimes in a separate tab, and sometimes,
you have to go to the <emphasis>Advanced</emphasis> tab. Then,
righ-click on your DVD player, and check the <emphasis>DMA</emphasis>
checkbox</para></listitem>
</itemizedlist>
<listitem><para>Upgrade to the latest driver for your video board</para>
<para>If you are running Linux, you can additionnaly upgrade to the
latest XFree86 version ; if supported, check that the xvideo plug-in is
effectively used with</para>
<screen><prompt>% </prompt><userinput>vlc -vvvv</userinput></screen>
</listitem>
<listitem><para>Kill other applications running...</para></listitem>
</itemizedlist>
</answer></qandaentry>
<qandaentry>
<question><para>Audio is choppy</para></question>
<answer><para>This is not normal; it is a known problem and is being investigated.
<answer><para>This is not normal; it is a known problem and is being
investigated.
</para></answer></qandaentry>
<qandaentry>
<question><para>Audio and video are out of sync</para></question>
<answer><para>This is not normal. Try using another output plugin (for instance <command>--aout dsp</command>),
kill <emphasis>esd</emphasis> or <emphasis>artsd</emphasis> if they are running. This is a known problem and is being investigated.
<answer><para>This is not normal. Try using another output plugin (for
instance <command>--aout dsp</command>), kill <emphasis>esd</emphasis>
or <emphasis>artsd</emphasis> if they are running. This is a known
problem and is being investigated.
</para></answer></qandaentry>
<qandaentry>
<question><para>[REMOVED]</para></question>
</qandaentry>
<qandaentry>
<question><para>Sound volume is too low</para></question>
<answer><para>You can raise it with <command>--volume</command> command line switch or in the preferences
window of your graphical interface.
<answer><para>You can raise it with <command>--volume</command> command
line switch or in the preferences window of your graphical interface.
</para></answer></qandaentry>
<qandaentry>
<question><para>I have no image under DirectX</para></question>
<answer><para>Check that your video card drivers are in their latest version and that
your DirectX is up-to-date.
<answer><para>Check that your video card drivers are in their latest
version and that your DirectX is up-to-date.
</para></answer></qandaentry>
<qandaentry>
<question><para>VLC crashes</para></question>
<answer><para>Increase the verbosity level (either in the preferences or with a
<emphasis>-vv</emphasis> command line option) and look at the debug messages (in the
terminal or in the Messages window).
<answer><para>Increase the verbosity level (either in the preferences
or with a <emphasis>-vvvv</emphasis> command line option) and look at the
debug messages (in the terminal or in the Messages window).</para>
<para>If you are convinced that it's a bug in VLC, have a look at the
<ulink url="http://www.videolan.org/support/bug-reporting.html">bug
reporting page</ulink>.
</para></answer></qandaentry>
<qandaentry>
<question><para>Under Unices, i can only play a DVD as root</para></question>
<answer><para>Check that as user you have write access to your DVD drive / device.
<answer><para>Check that as user you have write access to your DVD drive
/ device.
</para></answer></qandaentry>
<qandaentry>
<question><para>I am stuck with option xxx, how do I reset options?</para></question>
<answer><para>Under unices, remove your <filename>~/.vlc/vlcrc</filename>; for Windows, remove <filename>vlcrc</filename>
in the videolan subfolder of your <filename>Application Data</filename> directory.
<question><para>I am stuck with option xxx, how do I reset
options?</para></question>
<answer><para>Under unices, remove your
<filename>~/.vlc/vlcrc</filename>; for Windows, remove
<filename>vlcrc</filename> in the videolan subfolder of your
<filename>Application Data</filename> directory.
</para></answer></qandaentry>
<qandaentry>
<question><para>I do not have access to the GUI anymore</para></question>
<answer><para>If you change the default interface module in the preferences menu to a non
GUI module (ie. to a command line interface) and then save the configuration,
the only way to get VLC to show a GUI again is to run it directly from the
command line.</para><para>
For instance on Windows, you need to open a Command Line console, go to the
directory where you installed VLC (usually
<filename>C:\Program Files\VideoLAN\VideoLAN Client</filename>) and then type <command>vlc --intf win32</command>
You will then be able to modify the configuration again and save it.
<answer><para>If you change the default interface module in the
preferences menu to a non GUI module (ie. to a command line interface)
and then save the configuration, the only way to get VLC to show a GUI
again is to run it directly from the command line.</para>
<para>For instance on Windows, you need to open a Command Line
console, go to the directory where you installed VLC (usually
<filename>C:\Program Files\VideoLAN\VideoLAN Client</filename>) and then
type <command>vlc --intf win32</command> You will then be able to modify
the configuration again and save it.
</para></answer></qandaentry>
<qandaentry>
<question><para>I have just upgraded to VLC 0.4.5, and now I do not have any sound with the streams coming from the VLS!</para></question>
<answer><para>This is a known problem. VLC 0.4.5 and later are now compliant to general
usage regarding A/52 sound, and the new behavior is incompatible with the
previous one. VLS version 0.4.0 and later now fixes this problem. If, for
any reason, you wish to keep VLS 0.3.3, you can still read those streams by
launching VLC (0.4.5 or later) with <command>--vls-backwards-compat</command>.
<question><para>I have just upgraded to VLC 0.4.5, and now I do not have
any sound with the streams coming from the VLS!</para></question>
<answer><para>This is a known problem. VLC 0.4.5 and later are now
compliant to general usage regarding A/52 sound, and the new behavior
is incompatible with the previous one. VLS version 0.4.0 and later now
fixes this problem. If, for any reason, you wish to keep VLS 0.3.3, you
can still read those streams by launching VLC (0.4.5 or later) with
<command>--vls-backwards-compat</command>.
</para></answer></qandaentry>
<qandaentry>
<question><para>NO VIDEO!! or NO AUDIO!!</para></question>
<answer><para>DON'T PANIC! Use the verbose mode of vlc to search the problem, you may
either set the verbosity option in the interface preferences or use
the "-v" command line switch to increase the number of report/error
messages given by vlc. If you are not using a terminal, use the Messages
window in the View menu.
<answer><para>DON'T PANIC! Use the verbose mode of VLC to search the
problem, you may either set the verbosity option in the interface
preferences or use the <command>-vvvv</command> command line switch to
increase the number of report/error messages given by VLC. If you are
not using a terminal, use the Messages window in the View menu.
</para></answer></qandaentry>
</qandadiv>
......@@ -297,23 +406,28 @@ window in the View menu.
<qandadiv><title>MacOS X port</title>
<qandaentry>
<question><para>Does VLC support the ATI DVD hardware acceleration cards?</para></question>
<answer><para>Currently it does not. We would be glad to support them, but we lack technical
information on them.
</para></answer></qandaentry>
<question><para>Does VLC support the ATI DVD hardware acceleration
cards?</para></question>
<qandaentry>
<question><para>[REMOVED]</para></question>
</qandaentry>
<answer><para>Currently it does not. We would be glad to support them,
but we lack technical information on them.
</para></answer></qandaentry>
</qandadiv>
<qandadiv><title>Win32 port</title>
<qandaentry>
<question><para>When moving the focus to another window, VLC network input stops working properly!</para></question>
<answer><para>This is a known problem with Win 95-class systems (ie, Windows 95/98/Me). Upgrade to an NT-class system (ie, Windows NT/2000 or XP).
<question><para>When moving the focus to another window, VLC network
input stops working properly!</para></question>
<answer><para>This is a known problem with Win 95-class systems (ie,
Windows 95/98/Me). Upgrade to an NT-class system (ie, Windows NT/2000 or
XP).
</para></answer></qandaentry>
</qandadiv>
......@@ -321,36 +435,52 @@ information on them.
<qandadiv><title>Planned ports</title>
<qandaentry>
<question><para>Do you have plans for a MacOS 9 / OS/2 / &{#!@}~ port?</para></question>
<answer><para>No, nobody reported to be actually working on a MacOS 9 port. If you
feel like you could write it, we would of course welcome it. Currently,
the developers are more interested in supporting the latest Operating
Systems and completing the functionalities.
<question><para>Do you have plans for a MacOS 9 / OS/2 / &{#!@}~
port?</para></question>
<answer><para>No, nobody reported to be actually working on a MacOS 9
or OS/2 port. If you feel like you could write it, we would of course
welcome it. Currently, the developers are more interested in supporting
the latest Operating Systems and completing the functionalities.
</para></answer></qandaentry>
<qandaentry>
<question><para>Does VLC have dxr2 / dxr3 cards support?</para></question>
<answer><para>This support is currently being developed.
</para></answer></qandaentry>
<qandaentry>
<question><para>Does VLC support RTP?</para></question>
<answer><para>Yes. Just use vlc rtp:@&lt;mcast addr&gt;:&lt;local port&gt;.
</para></answer></qandaentry>
<qandaentry>
<question><para>Does VLC support DVD from all regions?</para></question>
<answer><para>VLC uses libdvdcss to read all DVD, disregarding their zone. All regions
are supported without any constraint. However, libdvdcss might not be
legal in your country.
<answer><para>VLC uses <emphasis>libdvdcss</emphasis> to read all
DVD, disregarding their zone. All regions are supported without any
constraint. However, <emphasis>libdvdcss</emphasis> might not be legal
in your country.
</para></answer></qandaentry>
<qandaentry>
<question><para>How can I take screenshots?</para></question>
<answer><para>This is currently unsupported, but will be in a near future. The latest
developments concern recording the video and the audio to a file.
However, under XFree, you may use the "x11" video output to take normal
screen capture of the video displayed by vlc.
<answer><para>This is currently unsupported, but will be in a
near future. The latest developments concern recording the video
and the audio to a file. However, under XFree, you may use the
<emphasis>x11</emphasis> video output to take normal screen capture of
the video displayed by VLC.