summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
-rw-r--r--doc/README.MINGWCROSS6
-rw-r--r--doc/README.dvb2
-rw-r--r--doc/README.dxr346
-rw-r--r--doc/README.freebsd6
-rw-r--r--doc/README.network_dvd6
-rw-r--r--doc/README.solaris14
-rw-r--r--doc/README.syncfb68
-rw-r--r--doc/faq/faq.sgml330
-rw-r--r--doc/hackersguide/README2
-rw-r--r--doc/hackersguide/architecture.fig2
-rw-r--r--doc/hackersguide/internals.sgml138
-rw-r--r--doc/hackersguide/intro.sgml6
-rw-r--r--doc/hackersguide/library.fig2
-rw-r--r--doc/hackersguide/library.sgml94
-rw-r--r--doc/hackersguide/output.sgml20
-rw-r--r--doc/hackersguide/overlays.fig2
-rw-r--r--doc/hackersguide/overview.sgml72
-rw-r--r--doc/hackersguide/post_frame.fig2
-rw-r--r--doc/hackersguide/stream.sgml18
-rw-r--r--doc/internal/HOWTO.release26
-rw-r--r--doc/man/en/Makefile.am12
-rw-r--r--doc/man/en/xine-config.142
-rw-r--r--doc/man/en/xine-list.1.in39
-rw-r--r--doc/man/en/xine.587
25 files changed, 607 insertions, 439 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1a757a4ca..070ef5a1e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,13 +2,11 @@ include $(top_srcdir)/misc/Makefile.common
SUBDIRS = man hackersguide faq
-doc_DATA = README README.dvb README.dxr3 \
+dist_doc_DATA = README README.dvb README.dxr3 \
README.freebsd README.irix README.network_dvd README.opengl \
README.solaris README.syncfb README_xxmc.html README.MINGWCROSS \
README.WIN32
-EXTRA_DIST = $(doc_DATA)
-
docs clean-docs:
@cd faq && $(MAKE) $@
@cd hackersguide && $(MAKE) $@
diff --git a/doc/README.MINGWCROSS b/doc/README.MINGWCROSS
index 87ae57b60..d721ca941 100644
--- a/doc/README.MINGWCROSS
+++ b/doc/README.MINGWCROSS
@@ -81,7 +81,7 @@ In the following text are used symbols $PREFIX and $USER with this meaning:
#
# compile and install the compiler
#
- # if you'll want rerun this step, I recommend delete
+ # if you'll want rerun this step, I recommend delete
# $PREFIX/i386-mingw32/sys-include
#
tar xzf gcc-core-3.3.1-20030804-1-src.tar.gz
@@ -107,7 +107,7 @@ In the following text are used symbols $PREFIX and $USER with this meaning:
4. recompile w32api and mingw-runtime from sources (optional)
-
+
#
# installing must be into $PREFIX/i386-mingw32
#
@@ -153,7 +153,7 @@ In the following text are used symbols $PREFIX and $USER with this meaning:
tar xzf pthreads-w32-2-7-0-release.tar.gz
cd pthreads-w32-2-7-0-release/
- make CROSS=i386-mingw32- PTHREAD_DEF=pthreadGC2.def clean GC
+ make CROSS=i386-mingw32- PTHREAD_DEF=pthreadGC2.def clean GC
#
# possibility to use pthread library in M$ Visual C (optional)
#
diff --git a/doc/README.dvb b/doc/README.dvb
index 38ea6613d..e32b980dd 100644
--- a/doc/README.dvb
+++ b/doc/README.dvb
@@ -130,7 +130,7 @@ file name the recorded stream is being written to. You can select the
directory to save to in the xine configuration under the MISC tab, otherwise
the plugin will record to your home directory. You can pause the recording
at any time by pressing MENU4 (F3 in xine-ui, F4 in gxine). An OSD in the
-top left hand corner will notify you of the status of the recording.
+top left hand corner will notify you of the status of the recording.
Pressing MENU4 again will resume recording.
Have fun.
diff --git a/doc/README.dxr3 b/doc/README.dxr3
index 41fe9ad74..2800067ff 100644
--- a/doc/README.dxr3
+++ b/doc/README.dxr3
@@ -41,45 +41,45 @@ here:
XINE dxr3 plugin
=================
-There are two different ways in which xine can make use of the dxr3
+There are two different ways in which xine can make use of the dxr3
card.
-1. mpeg-1/mpeg-2 (DVD, VCD, ...) decoding and displaying.
+1. mpeg-1/mpeg-2 (DVD, VCD, ...) decoding and displaying.
This is the normal use. Instead of doing the mpeg decoding in
software, xine sets up the display (TV or overlay) and sends the mpeg
data via the kernel driver to the mpeg decoder on the dxr3 card, very
much like the Windows player that you problably got with the card. In
this mode, you should be using the dxr3 video decoder plugin together
-with the dxr3 video out plugin.
+with the dxr3 video out plugin.
Xine should select the dxr3 video decoder plugin automatically when it
encounters an mpeg stream, but it is possible it does not use the dxr3
-video out plugin by default. In that case, start xine with the
+video out plugin by default. In that case, start xine with the
"-V dxr3" argument to specify the dxr3 video out plugin. If you use
another video out driver, such as Xv or XShm, xine won't be able
to use the mpeg decoding capability of the dxr3 hardware and will
-use libmpeg2 instead.
+use libmpeg2 instead.
Here's a short overview what happens when you play a dvd with xine
using the dxr3 video out driver:
-DVD -> split mpeg video and audio and audio streams
+DVD -> split mpeg video and audio and audio streams
-> send mpeg video to dxr3 -> image appears on screen
-2. displaying non-mpeg video on dxr3 hardware.
+2. displaying non-mpeg video on dxr3 hardware.
-Non-mpeg video may be AVI, quicktime, windows media files or whatever
-else xine can decode.
+Non-mpeg video may be AVI, quicktime, windows media files or whatever
+else xine can decode.
-This option must be compiled in and requires a supported mpeg encoder.
+This option must be compiled in and requires a supported mpeg encoder.
At the moment there are three:
- libavcodec from xine-lib's ffmpeg plugin (good quality, quite fast)
- libfame from fame.sourceforge.net (very fast, good quality)
(currently the 0.9 versions of libfame don't work, use the 0.8 versions)
- librte (version 0.4) from zapping.sourceforge.net (fast, very good quality)
If configure finds one or both it will compile in encoding support into
-the dxr3 driver.
+the dxr3 driver.
In order to use this driver for output instead of, say, Xv, just start
xine with the command line option "-V dxr3", for example
@@ -102,7 +102,7 @@ system with at least 128 MB of RAM and a P-III/Athlon at 800 MHz.
Here's an overview what happens when you play an AVI this way
(compare this with the previous overview!)
--> split video and audio streams -> decode video stream
+-> split video and audio streams -> decode video stream
-> encode video as mpeg-1 -> send mpeg-1 stream to dxr3
-> image appears on screen
@@ -146,16 +146,16 @@ engine.decoder_priorities.dxr3-mpeg2:
Zooming Feature (TVout Only)
============================
-Pressing the 'z' key enables another tv-only mode which zooms into the
-centre of a 16:9 video to display much smaller (or none) black bars
-top & bottom. It crops the video on the left and right sides to
+Pressing the 'z' key enables another tv-only mode which zooms into the
+centre of a 16:9 video to display much smaller (or none) black bars
+top & bottom. It crops the video on the left and right sides to
maintain the correct aspect ratio. Use SHIFT-z to disable.
TV mode Cycling Feature
======================
-Pressing CTRL-o repeatedly will allow you to cycle between tv modes PAL,
-PAL60, & NTSC. The format selected will only remain valid for the
+Pressing CTRL-o repeatedly will allow you to cycle between tv modes PAL,
+PAL60, & NTSC. The format selected will only remain valid for the
current xine session, on startup the tv mode will revert to the default
in .xine/config
@@ -166,7 +166,7 @@ VGA overlay feature
In previous versions of xine support, one had to use dxr3view in order
to use the em8300 overlay mechanism. Now, since the xine 0.5 version,
it is possible to output the em8300 overlay directly in the video
-out window.
+out window.
In order to activate it, "dxr3.output.mode" must be set to "overlay".
But it won't work until the old dxr3view works too (just a check). Before
@@ -174,11 +174,11 @@ a first use, "autocal" has to be run. This will store the right overlay
parameters in "~/.overlay". For more information, please consult the
dxr3 howto too.
-As of version 0.9.5, you can now switch between overlay and tv-out modes
-on-the-fly, simply by hiding the video_out window ('h' key by default,
-see the README file). If you want to start xine with video on the tv,
-you can run xine with the -H option to auto-hide the vo window, instead
-of changing the configuration (although you can still do that instead if you
+As of version 0.9.5, you can now switch between overlay and tv-out modes
+on-the-fly, simply by hiding the video_out window ('h' key by default,
+see the README file). If you want to start xine with video on the tv,
+you can run xine with the -H option to auto-hide the vo window, instead
+of changing the configuration (although you can still do that instead if you
prefer, of course).
Have a look at the previous explained configuration options dxr3.output.keycolor
diff --git a/doc/README.freebsd b/doc/README.freebsd
index 900f60aa1..68dd5d84b 100644
--- a/doc/README.freebsd
+++ b/doc/README.freebsd
@@ -87,12 +87,12 @@ the file you have to patch is /sys/dev/ata/atapi-cd.c:
! case 2048:
! ccb[0] = ATAPI_READ_BIG;
! break;
-!
-! case 2352:
+!
+! case 2352:
! ccb[0] = ATAPI_READ_CD;
! ccb[9] = 0xf8;
! break;
-!
+!
! default:
! ccb[0] = ATAPI_READ_CD;
! ccb[9] = 0x10;
diff --git a/doc/README.network_dvd b/doc/README.network_dvd
index 4798b79f8..41c7750ff 100644
--- a/doc/README.network_dvd
+++ b/doc/README.network_dvd
@@ -86,7 +86,7 @@ installation for dvds
(don't forget the trailing slash)
-
+
protocol details
----------------
@@ -110,13 +110,13 @@ cdda commands:
cdda_read <start_frame> <num_frames>
<error code> <n>
<n bytes (frames)>
-
+
cdda_tochdr
<error code> 0 <first_track> <last_track>
cdda_tocentry
<error code> 0 <track_mode> <first_frame_min> <first_frame_sec> <first_frame_frame>
-
+
dvd commands:
dvd_open
diff --git a/doc/README.solaris b/doc/README.solaris
index 9e78287a9..fb1fb408e 100644
--- a/doc/README.solaris
+++ b/doc/README.solaris
@@ -23,19 +23,19 @@ building xine on solaris
GNU C compiler and as a standalone assembler command.
A quick workaround when using the GCC from Sun's
- "Software Companion" CD is to replace /usr/ccs/bin/as with a
+ "Software Companion" CD is to replace /usr/ccs/bin/as with a
link to GNU as, for example like this:
cd /usr/ccs/bin
ln -s /opt/sfw/bin/gas gnu-as
mv as sun-as
ln -s gnu-as as
-
+
(Use "ln -s gnu-as as" or "ln -s sun-as as" to switch between the
two assemblers)
-* To get VIS accelerated video decoding and colour space conversion
+* To get VIS accelerated video decoding and colour space conversion
on Solaris SPARC with an UltraSPARC cpu, download and install Sun's
mediaLib 2.0 before compiling xine. mediaLib is available here:
@@ -101,15 +101,15 @@ Known Problems
If you have the solaris 8 companion CD installed, an Imlib package is
already installed on your system, but it uses the "prefix" /opt/sfw.
-
+
To work around the problem:
-
+
- install a symbolic link /etc/imrc, pointing to /opt/sfw/etc/imrc
(needs root permission)
# ln -s /opt/sfw/etc/imrc /etc
- or
+ or
- install an ".imrc" file in your home directory,
with the following contents:
@@ -123,7 +123,7 @@ Known Problems
block >4GB on a device using a logical blocksize != DEV_BSIZE (i.e.
CDROM and DVD media). Due to a 32bit int overflow, a disk address
modulo 4GB is accessed.
-
+
There's no workaround available.
See the following message for more details about this bug:
diff --git a/doc/README.syncfb b/doc/README.syncfb
index fc90ff586..be8c2565d 100644
--- a/doc/README.syncfb
+++ b/doc/README.syncfb
@@ -5,7 +5,7 @@
* WHAT IS THIS PLUGIN ABOUT and WHY SHOULD I EVEN CONSIDER TO USE IT? :)
-
+
This xine video output plugin uses the so called SyncFB driver (from
the Teletux project) which provides special hardware features of
Matrox G200 and newer cards like hardware deinterlacing, scaling and
@@ -14,19 +14,19 @@
available to xine and because all this tasks are done by the graphic
card there is no need for xine to do them in software -- so you save
precious CPU time which you may gonna need for other things. :-)
-
+
Ok ok -- why should you want to have your video output synchronized to
something called the vertical retrace of your monitor?! Well... :)
-
+
In order to have an optimal DVD playback the update of the image needs
to be syncronized with the vertical refresh of the screen. Otherwise
you will sometimes see part of frame n and part of frame n+1 during
playback of a movie. Resulting in tearing artefacts on moving objects.
-
+
When using this plugin the update of the screen is done during the
vertical retrace of your monitor and those tearing artefacts are gone
forever.
-
+
Also the SyncFB kernel module and this plugin totally by-pass XFree86
for anything else but some data gathering routines needed to place the
overlay at the right spot. So on some machines you will gain some
@@ -36,7 +36,7 @@
Last but not least, you may ask what's so special about deinterlacing?
There are already several deinterlacing methods available in xine and
why should you care about another one? Well (again)... ;-))
-
+
All current deinterlacers in xine are done in software and therefore
will cost you some CPU power. The SyncFB video out plugin will use the
hardware deinterlacing support of your graphic card, thus saving your
@@ -48,16 +48,16 @@
So far the plugin and the kernel module itself are only being tested
on G400 cards by its developers thus we cannot tell about newer
or older generation chips.
-
+
Nevertheless we have received positive feedback that the SyncFB kernel
module and this plugin work fine with G450 cards too.
-
+
If you have got things working on older/newer chips, please let us
know about your success and we will place a note here... :-)
-
+
* AND HOW DOES IT WORK?
-
+
The SyncFB driver is a kernel module you will have to load that makes
a special device (e.g. /dev/syncfb) available which is opened by the
plugin and controlled with certain ioctl calls. Easy, isn't it? ;-)
@@ -79,7 +79,7 @@
Back to the original subject. In order to install and use the SyncFB
kernel module, you *will* need a fresh CVS checkout of the sources
because the last official release is rather outdated.
-
+
This sounds more complicated than it actually is. You will only have
to execute the following two commands to get the sources in a sub-dir
called teletux. When you are asked for password, just press return.
@@ -90,14 +90,14 @@
Now enter the directory teletux/syncfb, that's where the actual kernel
modul sources are located. Before you can compile the module, you will
have to change two lines in the Makefile itself to make it work.
-
+
In the second line, there is a phrase like "-I/usr/include" which you
have to change to "-I/usr/src/linux/include". In line seven, you need
to remove syncfbtv and syncfb_test from the OBJ list.
Now execute a "make" and the module will be compiled. Place the
resulting syncfb.o in your modules dir which is usually...
-
+
/lib/modules/KERNEL_VERSION/
... and issue a "depmod -a" after it. That's it - the kernel module is
@@ -106,7 +106,7 @@
required /dev/syncfb device if you have devfs support, otherwise you
need to issue a "mknod /dev/syncfb c 178 0" once to create the
device yourself permanently.
-
+
Once the module is loaded, you can start xine with the "-V SyncFB"
option to use this plugin. xine automatically remembers the video out
plugin you last used, so you only have to use this option once too. :)
@@ -125,14 +125,14 @@
refresh rates (e.g. 50/75/100 Hz for PAL, 60/90/120 Hz for NTSC). You
will need to add so called modelines to your XFree86 config to make
those modes available, if you don't already have them.
-
+
Here is is a short listing of some sample modelines. Please add only
those two lines (for NTSC and PAL) which exactly fit the screensize
you are running your X Server with. You need to add those lines to the
monitor section of your XF86Config file as well as include their names
in the screen section (subsection display of the color depth your are
using).
-
+
USE THE FOLLOWING MODELINES AT YOUR OWN RISK. THEY COULD DAMAGE YOUR
MONITOR PERMANTELY - PLEASE TAKE CAUTION AND DON'T BLAME US. YOU HAVE
BEEN WARNED.
@@ -141,22 +141,22 @@
Note: If you want to be on the safe side, generate your very own
modelines with an application like kvideogen for example.
-
+
Also the modelines may need some fine tuning for your setup. You
can use xvidtune (comes with XFree86) to do that.
-
+
# 1024x768
-
+
Modeline "1024x768pal" 64.94 1024 1040 1216 1328 768 768 775 802
- Modeline "1024x768ntsc" 54.32 1024 1040 1216 1328 768 768 774 802
-
+ Modeline "1024x768ntsc" 54.32 1024 1040 1216 1328 768 768 774 802
+
# 1152x864
-
+
Modeline "1152x864pal" 68.82 1152 1168 1384 1496 864 864 871 902
- Modeline "1152x864ntsc" 80.93 1152 1168 1384 1496 864 864 872 902
+ Modeline "1152x864ntsc" 80.93 1152 1168 1384 1496 864 864 872 902
# 1280x1024
-
+
none yet - might be added in the future
So before you run xine just turn to the appropriate refresh rate and
@@ -166,7 +166,7 @@
* WHAT SCREENSIZE SHOULD I PREFER?
-
+
Well. It is important that the screensize you choose for DVD playback
is exactly the same screensize you're starting up your X Server with
if you are not using the XF86VidMode extension which will properly do
@@ -192,18 +192,18 @@
Pressing 'i' during playback will toggle hardware deinterlacing. A
decrease in picture quality is a known side effect, yet you won't see
any artefacts caused by interlacing anymore. :-)
-
+
One more note, hardware deinterlacing uses BOB as deinterlacing method
and is totally independent from the software deinterlacing in xine. So
specifing a different deinterlacing method in your .xinerc won't have
any effect on this feature.
-
+
Nevertheless we are thinking about making software deinterlacing also
available as an option. It's on the TODO list... :)
* HEY! THE OVERLAY TURNS OFF WHEN THE WINDOW IS PARTLY OFF THE DESKTOP!?
-
+
That's done on purpose. It prevents possible yet harmless screen
corruption. And by the way - why would you want to see a movie just
partly?! ;-)
@@ -227,7 +227,7 @@
the actual overlay from SyncFB is being displayed because this area in
your video memory is constantly over written - so are the changes done
by your X Server (like a window graphic that is placed there).
-
+
This is just cosmetical and harmless, so no need to worry. If you want
to do something with the xine panel when the video overlay is taking
all your screen, just switch back to window mode and do what you have
@@ -257,20 +257,20 @@
* WHAT IS ON THE TODO LIST?
+ fix above listed bugs in the SyncFB kernel module
-
+
+ make software deinterlacing available as an option
-
+
+ RGB support
(unlikely at the moment because there is no need for it)
-
+
+ check if the video source is not too big in terms of dimensions for
the video memory left (video memory - X reserved video memory)
-
+
+ bug fixes
+ more sanity checks
+ new features
+ optimizations
-
+
* CONTACTS and FEEDBACK
diff --git a/doc/faq/faq.sgml b/doc/faq/faq.sgml
index 9743cf361..b3490ea2a 100644
--- a/doc/faq/faq.sgml
+++ b/doc/faq/faq.sgml
@@ -6,7 +6,7 @@
<title>The xine engine FAQ</title>
<titleabbrev>xine FAQ</titleabbrev>
<copyright>
- <year>2001-2003</year>
+ <year>2001-2008</year>
<holder>the xine project team</holder>
</copyright>
</bookinfo>
@@ -17,7 +17,7 @@
<sect2 id="about">
<title>What is the xine engine?</title>
- <para>
+ <para>
The xine engine is a free media player engine. It comes in the form of
a shared libarary and is typically used by media player frontends
and other multimedia applications for playback of multimedia streams
@@ -43,7 +43,7 @@
</sect2>
<sect2 id="wheretogethelp">
- <title>My question is not yet covered here - where can I ask for help?</title>
+ <title>My question is not yet covered here &ndash; where can I ask for help?</title>
<para>
First of all be sure that your question is really not covered here and
that you haven't just been a bit too lazy to read through all of this
@@ -52,7 +52,7 @@
<command>totem</command>).
</para>
<para>
- That said - you are welcome to mail to our user mailing list:
+ That said &ndash; you are welcome to mail to our user mailing list:
<email>xine-user@lists.sourceforge.net</email>
Please provide some info about your setup so people have a chance to
help you, e.g. include information about your audio/video hardware
@@ -64,7 +64,7 @@
may have installed on your system.
</para>
</sect2>
-
+
<sect2 id="pronounce">
<title>How do I pronounce "xine"?</title>
<para>
@@ -75,7 +75,7 @@
</sect2>
<sect2 id="modules">
- <title>What are those xine-lib, xine-ui, gnome-xine, ... modules in cvs for?</title>
+ <title>What are those xine-lib, xine-ui, gnome-xine, &hellip; modules in cvs for?</title>
<para>
Some time ago xine just became too complex to be just one big program.
Therefore it was split into two major parts.
@@ -86,7 +86,7 @@
is covered in this FAQ.)
</para>
<para>
- Then there are frontends - applications that use xine. The most
+ Then there are frontends &ndash; applications that use xine. The most
common frontend is that of a media player. There are currently
two frontends being developed in the xine project, xine-ui (skinned
dvd-player style frontend directly based on xlib) and gxine,
@@ -103,7 +103,7 @@
</para>
<para>
Other modules in CVS are: <filename>xine-plugin</filename> a mozilla browser plugin
- for streaming media playback using xine,
+ for streaming media playback using xine,
<filename>xine_www</filename> the
xine project website sources.
</para>
@@ -152,7 +152,7 @@
<para>
First, make sure that you're using a current development version
(see above) or at least the current release version. Then, once you're
- ready to send the patch...
+ ready to send the patch&hellip;
</para>
<para>
Generate your patch using either <command>cvs diff -u &gt;
@@ -162,17 +162,17 @@
patch. Your patch should be applicable using <command>patch -p0 -i
my.patch</command> or, preferably, <command>patch -p1 -i
my.patch</command> from the top-level directory in the source tree
- (i.e. where configure.ac is) - this is fairly important for our
+ (i.e. where configure.ac is) &ndash; this is fairly important for our
Mercurial-based repositories since it makes importing your patch that
much easier (hg import defaults to -p1).
</para>
<para>
Alternatively, if you've been hacking away at a module which is
- maintained using mercurial, you can make them available as diffs - use
+ maintained using mercurial, you can make them available as diffs &ndash; use
<command>hg export</command> or, if you have several patches, you could
use <command>hg bundle</command> instead (both require extra
parameters; <command>hg help export</command> and <command>hg help
- bundle</command> for more details) - or via HTTP by using <command>hg
+ bundle</command> for more details) &ndash; or via HTTP by using <command>hg
serve</command>. In the latter case, you'll need to post a URL from
which a developer can pull the changes.
</para>
@@ -194,12 +194,12 @@
<para>
The xine project does not provide pre-compiled binaries for legal
reasons (some parts of xine may be covered by patents in some countries).
- Some OS projects/vendors (e.g. debian, freebsd, ...) offer binaries
- for their distributions - please contact them or use their package search
+ Some OS projects/vendors (e.g. Debian, FreeBSD, &hellip;) offer binaries
+ for their distributions &ndash; please contact them or use their package search
tools for further info.
You can also find links to third parties providing xine RPMs on
the xine homepage at
- <ulink url="http://xinehq.de/index.php/releases">http://xinehq.de/index.php/releases</ulink>.
+ <ulink url="http://www.xine-project.org/releases">http://www.xine-project.org/releases</ulink>.
</para>
<para>
See the next section of this FAQ for instructions on how to build xine
@@ -215,19 +215,19 @@
<sect2 id="buildrequirements">
<title>What do I need to compile everything properly?</title>
<para>
- First of all an official and stable release of gcc. Also be aware
- that patched gcc versions may break parts of xine and are therefore
+ First of all an official and stable release of gcc. Also be aware
+ that patched gcc versions may break parts of xine and are therefore
not supported by the xine project.
</para>
<para>
Furthermore you'll have to use GNU make to compile xine. On most GNU/Linux
- systems "make" is GNU make - on other platforms use "gmake" instead.
+ systems "make" is GNU make &ndash; on other platforms use "gmake" instead.
Also, zlib is required (including the appropriate header files, which are
often found in a package called zlib-devel or similar.)
</para>
<para>
If you want to compile xine from CVS, you'll need to have the autobuild tools
- installed (automake, autoconf and libtool - in recent versions).
+ installed (automake, autoconf and libtool &ndash; in recent versions).
</para>
<para>
Frontends might need additional libraries, e.g. for gxine you'll need to have
@@ -269,17 +269,17 @@
&nbsp;&nbsp;&nbsp;<command>make install</command></screen>
</para>
<para>
- Make sure your <filename>/etc/ld.so.conf</filename> contains
+ Make sure your <filename>/etc/ld.so.conf</filename> contains
<filename>/usr/local/lib</filename> and continue with:
<screen>&nbsp;&nbsp;&nbsp;<command>ldconfig</command></screen>
</para>
<para>
- Now unpack your frontend (gxine or xine-ui or ...), then:
+ Now unpack your frontend (gxine or xine-ui or &hellip;), then:
<screen>
&nbsp;&nbsp;&nbsp;<command>./configure</command>
&nbsp;&nbsp;&nbsp;<command>make install</command></screen>
</para>
- </sect3>
+ </sect3>
<sect3 id="completebuildinstr">
<title>Complete build instructions</title>
<para>
@@ -292,7 +292,7 @@
<para>
If you have installed xine-lib to a non-standard prefix, make sure
that you have <filename>$prefix/bin</filename> in your PATH and that your linker finds
- libs in <filename>$prefix/lib</filename> - otherwise trying to build modules that
+ libs in <filename>$prefix/lib</filename> &ndash; otherwise trying to build modules that
rely on xine-lib will fail with configure complaining about not
finding certain parts of libxine. Using bash you can do something like:
<screen>
@@ -304,12 +304,12 @@
Last but not least. Here the build instructions. As stated earlier,
those are the same for every xine module.
<screen>
-&nbsp;&nbsp;&nbsp;<command>./autogen.sh</command> [-> *only* if you checked your sources out of CVS]
+&nbsp;&nbsp;&nbsp;<command>./autogen.sh</command> [&rarr; <emphasis>only</emphasis> if you checked your sources out of CVS]
&nbsp;&nbsp;&nbsp;<command>./configure</command>
&nbsp;&nbsp;&nbsp;<command>make</command>
&nbsp;&nbsp;&nbsp;<command>make install</command></screen>
</para>
- </sect3>
+ </sect3>
</sect2>
<sect2 id="rpmbuild">
@@ -331,7 +331,7 @@
In case that you have a fresh CVS checkout, you will need to do the
following first in order to get a tarball release out of it which you
can later use with the <command>rpmbuild -ta</command> command above:
- <screen>&nbsp;&nbsp;&nbsp;<command>./autogen.sh &amp;&amp; make clean && make dist</command></screen>
+ <screen>&nbsp;&nbsp;&nbsp;<command>./autogen.sh &amp;&amp; make clean &amp;&amp; make dist</command></screen>
</para>
<para>
In any case, please keep in mind that you have to build and install
@@ -362,7 +362,7 @@
<screen>
&nbsp;&nbsp;&nbsp;<command>cd ..</command>
&nbsp;&nbsp;&nbsp;<command>ls *.deb</command>
-&nbsp;&nbsp;&nbsp;<command>su - -c 'cd '"`pwd`"' && dpkg -i &lt;DEB_PACKAGES&gt;'</command>
+&nbsp;&nbsp;&nbsp;<command>su - -c 'cd '"`pwd`"' &amp;&amp; dpkg -i &lt;DEB_PACKAGES&gt;'</command>
</screen>
Ubuntu users will probably want to use this instead of that <command>su</command>:
<screen>
@@ -454,7 +454,7 @@
<title>The Xv video-out plugin fails to compile!</title>
<para>
If you want to have Xv support compiled in, make sure you either have
- a shared Xv library on your system, e.g.
+ a shared Xv library on your system, e.g.
<command>ls /usr/X11R6/lib/libXv*</command>
should give you some .so libs, like this:
<screen>
@@ -463,7 +463,7 @@
&nbsp;&nbsp;&nbsp;/usr/X11R6/lib/libXv.so.1</screen>
</para>
<para>
- Alternatively you need to have libtool 1.4 or newer installed, then
+ Alternatively you need to have libtool 1.4 or newer installed, then
libXv.a is sufficient. Otherwise you can create the shared versions yourself:
<screen>
&nbsp;&nbsp;&nbsp;<command>ld --whole-archive -shared -o libXv.so.1 libXv.a</command>
@@ -477,11 +477,11 @@
</sect2>
<sect2>
- <title>Build problems in frontends (gxine/xine-ui/...)</title>
+ <title>Build problems in frontends (gxine/xine-ui/&hellip;)</title>
<sect3 id="xinelibnotfound">
<title>I have installed xine-lib but the frontend complains about not finding it!</title>
<para>
- First of all take a closer look at the compilation instructions above again.
+ First of all take a closer look at the compilation instructions above again.
You will probably find your answer there right away.
</para>
<para>
@@ -504,14 +504,14 @@
<screen>&nbsp;&nbsp;&nbsp;<command>mkdir ~/xine</command></screen>
</para>
<para>
- Then you have to set a few environment variables - it's probably a good
+ Then you have to set a few environment variables &ndash; it's probably a good
idea to add this to your <filename>~/.bashrc</filename> (or somewhere similar):
<screen>
&nbsp;&nbsp;&nbsp;<command>export PATH="$HOME/xine/bin:$PATH"</command>
&nbsp;&nbsp;&nbsp;<command>export LD_LIBRARY_PATH="$HOME/xine/lib:$LD_LIBRARY_PATH"</command></screen>
</para>
<para>
- Now you can unpack tarballs e.g. in <filename>~/xine/src</filename>
+ Now you can unpack tarballs e.g. in <filename>~/xine/src</filename>
(<command>mkdir ~/xine/src</command> if necessary) and do a
<screen>
&nbsp;&nbsp;&nbsp;<command>./configure --prefix=$HOME/xine</command>
@@ -561,10 +561,10 @@
check out you boot/kernel logs (or run <command>cdrecord -scanbus</command>)
to find out which device it got mapped to and set the
symlink accordingly (should be something like <filename>/dev/scd0</filename>,
- <filename>/dev/scd1</filename>, ... in that case).
+ <filename>/dev/scd1</filename>, &hellip; in that case).
Also make sure you (as a user) have sufficient (read and write) permissions
on your DVD drive. This could mean you either have to change the device
- permissions or add your user to a special group
+ permissions or add your user to a special group
(e.g. <command>addgroup cdrom username</command>),
depending on your setup and/or distribution.
</para>
@@ -574,7 +574,7 @@
smooth video output). Use a command like
<command>hdparm -d 1 &lt;device&gt;</command>
on your DVD device. Please note that even if you're using ide-scsi
- you will have to set the dma flag on the ide device node (e.g.
+ you will have to set the dma flag on the ide device node (e.g.
<filename>/dev/hdc</filename>), not the mapped <filename>/dev/scd</filename>
scsi device.
</para>
@@ -612,7 +612,7 @@
Once you have everything set up, try something like
<command>gxine dvd:/</command> or <command>xine -p dvd:/</command>
to start dvd playback. Some frontend also offer so-called autoplay
- buttons or menu entries that start dvd playback immediately.
+ buttons or menu entries that start dvd playback immediately.
</para>
<para>
Important: do not try to mount the DVD. Just insert it and hit the DVD autoplay
@@ -643,7 +643,7 @@
drives is limited (usually about 5 times), after that your drive will
stay locked to the region you last set it up for.
</para>
- </sect3>
+ </sect3>
<sect3 id="regionset">
<title>I have problems setting up my RPC-2 drive for the right region!</title>
<para>
@@ -657,7 +657,7 @@
drives is limited (usually about 5 times), after that your drive will
stay locked to the region you last set it up for.
</para>
- </sect3>
+ </sect3>
</sect2>
<sect2 id="vcdsupport">
@@ -718,7 +718,7 @@
<filename>test_svcd_pal.bin</filename>. Run xine with the MRL
<!-- FIXME: This MRL needs to be changed -->
<filename>vcd:/test_svcd_pal.cue:E0</filename>.
- If you see something playing then this is a hardware problem.
+ If you see something playing then this is a hardware problem.
You might also want to try starting playback-control with
<!-- FIXME: This MRL needs to be changed -->
<filename>vcd:/test_svcd_pal.cue:P1</filename>.
@@ -782,7 +782,7 @@
If you have the VideoCD from the last step, then run the MRL
<!-- FIXME: This MRL needs to be changed -->
<filename>vcd:/test_svcd_pal.cue:P1</filename>
- If this shows a still frame, but it just does not show when you
+ If this shows a still frame, but it just does not show when you
hit either the "VCD" autoscan button or give a MRL without the P1 at
the end then go to the next step.
</para>
@@ -797,7 +797,7 @@
</listitem>
<listitem>
<para>
- You have a VideoCD with menu at beginning and can see it using an MRL
+ You have a VideoCD with menu at beginning and can see it using an MRL
with P1 at the end, but you want to see it by hitting the "VCD" autoscan button
as well? Check to see that you have the configuration entry
<parameter>media.vcd.autoplay</parameter> set to <parameter>playlist</parameter>.
@@ -833,7 +833,7 @@
<sect2 id="quicktime">
<title>Can I watch Quicktime (.mov, .mp4) files using xine?</title>
<para>
- Quicktime is just a system layer (container format) which can contain various
+ Quicktime is just a system layer (container format) which can contain various
different audio and video formats. The system layer itself is fully supported
in xine. However, some quicktime audio/video codecs are not natively supported yet.
Luckily, if you are using a x86 compatible machine (any recent PC hardware should do)
@@ -852,7 +852,7 @@
have to set <parameter>decoder.external.win32_codecs_path</parameter> in your
xine config file accordingly). Restart xine then and you should be
able to watch Quicktime trailers.
- </para>
+ </para>
</sect2>
<sect2>
@@ -866,8 +866,16 @@
xine.
</para>
<para>
- Possibly the most convenient way to get the Real codecs is to download
- them from the MPlayer website
+ Possibly the most convenient way to get the Real codecs is to install
+ RealPlayer 9 or RealPlayer 10 and set the
+ <parameter>decoder.external.real_codecs_path</parameter> in your xine
+ config file to the name of the directory which contains the codecs
+ (look for drvc.so); it's probably something like
+ <filename>/opt/real/RealPlayer/codecs/</filename>. Restart xine then
+ and you should be able to watch Real files/streams.
+ </para>
+ <para>
+ Another way to get the Real codecs is to download them from the MPlayer website
<ulink url="http://www.mplayerhq.hu/design7/dload.html">
http://www.mplayerhq.hu/design7/dload.html
</ulink>.
@@ -946,7 +954,7 @@
Latest xine-lib modules (1-beta3 or newer) support external subtitles
for any media file, not only AVI. In order to use it you can pass a
special MRL construction like:
- <screen>&nbsp;&nbsp;&nbsp;<command>xine test.mpg#subtitle:file.sub</command></screen>
+ <screen>&nbsp;&nbsp;&nbsp;<command>xine file://path/to/test.mpg#subtitle:/path/to/file.sub</command></screen>
The external subtitles support can also be used by any xine frontend.
Currently xine-ui and kaffeine implement this feature with a subtitle
selection dialog.
@@ -959,7 +967,7 @@
<title>Running xine</title>
<sect2 id="speedup">
- <title>I have a lot of dropped frames - what can I do?</title>
+ <title>I have a lot of dropped frames &ndash; what can I do?</title>
<para>
Your hardware might be too slow for xine. Make sure you turn on all
speed optimizing options. A few things you should check (in order of
@@ -1005,7 +1013,7 @@
Try to use the Xv driver, it greatly improves performance and quality
because your graphics card does image scaling and colourspace conversion. The
<link linkend="video">video section</link> contains important information
- about several Xv drivers.
+ about several Xv drivers.
</para>
<para>
If Xv cannot be used for some reason, make sure your display is set up
@@ -1067,7 +1075,7 @@
be enough (use a recent kernel!).
</para>
<para>
- Try a <command>cat /proc/mtrr</command> - if the file exists and you find an entry
+ Try a <command>cat /proc/mtrr</command> &ndash; if the file exists and you find an entry
corresponding to the amount of graphics memory you have, everything
should be fine.
</para>
@@ -1077,13 +1085,13 @@
Have your X-server (usually X.org or XFree86) running with higher priority.
Most recent linux distributions (like RedHat 8.0 or Mandrake 9.0) should
do that for you, improving not only xine but desktop responsiveness
- in general.
+ in general.
</para>
<para>
Use the "top" utility and verify under the "NI" column if
the X process has a negative value, this indicates a higher priority.
- See "The X Window User HOWTO - Performance considerations" for
- further instructions
+ See "The X Window User HOWTO &ndash; Performance considerations" for
+ further instructions
<ulink url="http://www.tldp.org/HOWTO/XWindow-User-HOWTO/performance.html">
http://www.tldp.org/HOWTO/XWindow-User-HOWTO/performance.html
</ulink>.
@@ -1107,7 +1115,7 @@
<listitem>
<para>
xine needs high speed memory access which depends on your chip set.
- Make sure you enable all speed-improving options.
+ Make sure you enable all speed-improving options.
</para>
<para>
Especially the via apollo pro chipset is known to be quite weird,
@@ -1120,7 +1128,7 @@
</para>
<para>
This website centers around a windows-tool to tweak the chipset, you
- can do the same on FreeBSD with <command>pciconf</command>.
+ can do the same on FreeBSD with <command>pciconf</command>.
On some linux distributions there are similar tools.
</para>
</listitem>
@@ -1165,7 +1173,7 @@
<parameter>engine.buffers.video_num_buffers:500</parameter>
to a higher value (e.g. 1000 or 2500).
</para>
- </listitem>
+ </listitem>
</itemizedlist>
</para>
</sect2>
@@ -1199,7 +1207,7 @@
</sect2>
<sect2 id="ports">
- <title>I have problems when using xine on FreeBSD, Solaris, ... !</title>
+ <title>I have problems when using xine on FreeBSD, Solaris, &hellip; !</title>
<para>
Check out the the corresponding README files in the directory <filename>xine-lib/doc</filename>.
</para>
@@ -1210,14 +1218,14 @@
<para>
aalib is an ascii art library. xine comes with an aalib video output
plugin so you can watch movies in your xterm, on the console or on your
- old vt100 - very cool ;> ... another nice option is to preview movies
+ old vt100 &ndash; very cool ;> &hellip; another nice option is to preview movies
on a remote server in your shell over ssh.
</para>
<para>
To use it make sure you have aalib installed correctly before you
configure/build xine-lib and xine-ui. In addition to the <command>xine</command> binary a
binary named <command>aaxine</command> should get built and installed. You can then use
- something like:
+ something like:
<screen>&nbsp;&nbsp;&nbsp;<command>aaxine foo.mpg</command></screen>
to use aalib video output.
</para>
@@ -1245,7 +1253,7 @@
<para>
Currently xine support audio output via OSS (kernel audio drivers),
ALSA 0.9.x (ALSA 0.5.x is no longer supported), arts (KDE's sound daemon)
- and esound (esd, gnome's sound daemon - not recommended because it has
+ and esound (esd, gnome's sound daemon &ndash; not recommended because it has
serious issues with a/v sync).
</para>
</sect2>
@@ -1262,7 +1270,7 @@
<para>
You can enable xine's audio compressor. Most frontends have
a settings window and in that you'll find a slider for the
- compressor setting. The values are percent values, so a
+ compressor setting. The values are percent values, so a
slider setting of 200 means that xine will double the volume
of silent parts of the movie (loud parts stay the same).
</para>
@@ -1289,7 +1297,7 @@
<para>
If this happens with any video, first try a different audio driver
(<command>gxine -A oss</command>, <command>gxine -A arts</command>,
- <command>xine -A alsa</command> ...).
+ <command>xine -A alsa</command> &hellip;).
</para>
<para>
If this problem only occurs with one specific stream, maybe switching to
@@ -1299,8 +1307,8 @@
<para>
If all this doesn't help, maybe you're missing an audio codec or you found
a bug. If you decide to post your problem on the xine-user mailing list,
- make sure to include all console output xine produced and also clearly
- state what type of stream you tried to play back or, even better, make
+ make sure to include all console output xine produced and also clearly
+ state what type of stream you tried to play back or, even better, make
a test stream available somewhere for developers to download and try.
</para>
</sect2>
@@ -1338,8 +1346,8 @@
<sect2 id="sblivespdif">
<title>Getting SPDIF output from a SBLive 5.1 using OSS drivers</title>
<para>
- The following explains how to get the above configuration
- going with xine. Some parts of it may applicable to other
+ The following explains how to get the above configuration
+ going with xine. Some parts of it may applicable to other
configurations (cards that use the EMU10k1 chip) as well.
</para>
<sect3>
@@ -1368,24 +1376,24 @@
<para>
The OSS driver is maintained by creative and can be downloaded at
<ulink url="http://opensource.creative.com/">http://opensource.creative.com/</ulink>.
- The driver package contains documentation on how to install it.
+ The driver package contains documentation on how to install it.
Besides that I'd like to add the following notes.
</para>
<para>
In order to compile and install these drivers, you need a valid kernel
configuration file. For RedHat Linux's pre-compiled kernels these
- configuration files can be found in
+ configuration files can be found in
<filename>/usr/src/linux/configs</filename>.
After you've located the correct config file for your kernel,
you need to copy it to <filename>/usr/src/linux/.config</filename>
For example, when you run the 2.4.18-i686 kernel do :
<screen>&nbsp;&nbsp;&nbsp;<command>cp /usr/src/linux/configs/kernel-2.4.18-i686.config /usr/src/linux/.config</command></screen>
- Make sure that the emu10k1 module that is currently installed is
+ Make sure that the emu10k1 module that is currently installed is
not loaded. To unload the modules:
<screen>&nbsp;&nbsp;&nbsp;<command>/sbin/modprobe -rv emu10k1.o ac97_codec.o</command></screen>
- If this mentions that the device is busy, some program is
- using the driver. Some example could be a mixer application
- or sound daemon like artsd. You'll need to close down the
+ If this mentions that the device is busy, some program is
+ using the driver. Some example could be a mixer application
+ or sound daemon like artsd. You'll need to close down the
applications before continuing.
At success it should print something like:
<screen>
@@ -1394,15 +1402,15 @@
&nbsp;&nbsp;&nbsp;# delete soundcore</screen>
Run make in the directory where you unpacked the driver and follow the
instructions printed at the end of each step.
- The last step should be:
+ The last step should be:
<screen>&nbsp;&nbsp;&nbsp;<command>make install-tools</command></screen>
- As the README of the driver package mentions the SPDIF AC3
- output doesn't work by default. In the directory
+ As the README of the driver package mentions the SPDIF AC3
+ output doesn't work by default. In the directory
<filename>utils/scripts</filename> an <filename>emu10k1.conf</filename>
file can be found which need to be placed in the default
- installation directory (<filename>/usr/local/etc</filename>).
+ installation directory (<filename>/usr/local/etc</filename>).
After this the <filename>emu10k1.conf</filename> needs to be modified.
- The following settings worked fine for me (I don't use the analog
+ The following settings worked fine for me (I don't use the analog
outputs of the card):
<programlisting>
&nbsp;&nbsp;&nbsp;CARD_IS_5_1=yes
@@ -1416,20 +1424,20 @@
&nbsp;&nbsp;&nbsp;ANALOG_FRONT_BOOST=no
&nbsp;&nbsp;&nbsp;SURROUND=no
&nbsp;&nbsp;&nbsp;PROLOGIC=no
-&nbsp;&nbsp;&nbsp;ENABLE_CD_Spdif=yes
-&nbsp;&nbsp;&nbsp;ENABLE_OPTICAL_SPDIF=no
-&nbsp;&nbsp;&nbsp;ENABLE_LINE2_MIC2=no
-&nbsp;&nbsp;&nbsp;ENABLE_RCA_SPDIF=no
+&nbsp;&nbsp;&nbsp;ENABLE_CD_Spdif=yes
+&nbsp;&nbsp;&nbsp;ENABLE_OPTICAL_SPDIF=no
+&nbsp;&nbsp;&nbsp;ENABLE_LINE2_MIC2=no
+&nbsp;&nbsp;&nbsp;ENABLE_RCA_SPDIF=no
&nbsp;&nbsp;&nbsp;ENABLE_RCA_AUX=no</programlisting>
- After modifying the <filename>emu10k1.conf</filename>,
+ After modifying the <filename>emu10k1.conf</filename>,
you need to modify your <filename>/etc/modules.conf</filename> and
make sure the following lines are in there.
<programlisting>
&nbsp;&nbsp;&nbsp;alias sound-slot-0 emu10k1
&nbsp;&nbsp;&nbsp;post-install emu10k1 /usr/local/etc/emu-script</programlisting>
- After saving the changes to <filename>modules.conf</filename>, run
+ After saving the changes to <filename>modules.conf</filename>, run
<screen>&nbsp;&nbsp;&nbsp;<command>/sbin/depmod -a</command></screen>
- Now, you're ready to load the new modules and set the correct
+ Now, you're ready to load the new modules and set the correct
options for it. To load the modules run:
<screen>&nbsp;&nbsp;&nbsp;<command>/sbin/modprobe emu10k1</command></screen>
</para>
@@ -1445,7 +1453,7 @@
</sect3>
<sect3>
<title>
- The cable used for the SBLive can easily be self-made
+ The cable used for the SBLive can easily be self-made
or buy a stereo 3.5mm jack to dual RCA cable.
</title>
<para>
@@ -1462,10 +1470,10 @@
</para>
<para>
In order to test it use a DVD with AC3 or DTS track
- start xine and select the right audio track
- from user interface or start xine as:
+ start xine and select the right audio track
+ from user interface or start xine as:
<screen>&nbsp;&nbsp;&nbsp;<command>xine dvd:/1 -a 0</command></screen>
- The external decoder should display something like
+ The external decoder should display something like
"Dolby Digital" in case the selected audio track contains
AC3 data or "DTS" in case the selected audio track
contains DTS data. Of course stereo audio also goes
@@ -1486,7 +1494,7 @@
<para>
Note that recently we added support to "simulate" volume in aRts by
changing sample values on-the-fly before delivering them to the driver.
- Not as good as having access to sound card's mixer but at least users
+ Not as good as having access to sound card's mixer but at least users
will not complain about lacking of volume bar anymore! :)
</para>
</sect2>
@@ -1495,7 +1503,7 @@
<title>Audio is stuttering and i see a lot of "metronom: fixing sound card drift by -2115 pts" on the console output</title>
<para>
Might be a soundcard problem, if it only comes in longer intervals.
- Your soundcard does not keep it's sampling frequency accurately
+ Your soundcard does not keep it's sampling frequency accurately
enough, which results in audio and video
getting out of sync and xine has to compensate. If you see the message
only from time to time, you might remedy it by using the resampling sync
@@ -1511,12 +1519,12 @@
</para>
<para>
Another, whole different possibility is that you have some background
- process running which is messing with the clock (like some ntp client -
- chronny, ntpd, ...).
+ process running which is messing with the clock (like some ntp client &ndash;
+ chrony, ntpd, &hellip;).
</para>
<para>
Occasional messages of "fixing sound card drift" may happen on start and
- when playing a long stream (like a movie). This is normal behaviour,
+ when playing a long stream (like a movie). This is normal behaviour,
nothing to worry about.
</para>
</sect2>
@@ -1550,9 +1558,9 @@
<title>Video related questions</title>
<sect2 id="novideo">
- <title>I can hear the audio - but I don't see a picture!</title>
+ <title>I can hear the audio &ndash; but I don't see a picture!</title>
<para>
- Probably your hardware is simply too slow - see above for some
+ Probably your hardware is simply too slow &ndash; see above for some
hints on how to speed things up.
</para>
<para>
@@ -1560,7 +1568,7 @@
questions.
</para>
</sect2>
-
+
<sect2 id="bluescreen">
<title>I only see a blue (or green or black) video image most of the time.</title>
<para>
@@ -1574,7 +1582,7 @@
<filename>/etc/X11/xorg.conf</filename> or <filename>/etc/X11/XF86Config</filename>).
</para>
</sect2>
-
+
<sect2 id="buggyxv">
<title>The image looks strange, it is shifted, cropped or shows weird lines!</title>
<para>
@@ -1619,18 +1627,18 @@
hardware. Here are some hints for individual gfx chips:
<itemizedlist>
<listitem>
- <para>
+ <para>
3Dfx: if all you get is a solid black window, upgrade to X.org or XFree 4.1.0 or later.
</para>
</listitem>
<listitem>
- <para>
+ <para>
ATI: if you only get "half a picture", try lowering your resolution
- or bit depth, disable DRI (looks like you ran out of video RAM)
+ or bit depth, disable DRI (looks like you ran out of video RAM)
</para>
</listitem>
<listitem>
- <para>
+ <para>
Trident card: If you see vertical bands jumbled, upgrade to the latest
xfree/experimental trident drivers (for the CyberBlade XP
a driver exists here:
@@ -1638,61 +1646,61 @@
</para>
</listitem>
<listitem>
- <para>
+ <para>
nVidia: With newer GeForce cards, Xv should work with XFree 4.2.0 or
newer, for older RivaTNT cards use the binary drivers from nvidia
(of course the binary drivers work as well for GeForce cards)
</para>
</listitem>
<listitem>
- <para>
+ <para>
Mach64/Rage3D (not Rage128/Radeon) cards/chips get no XVideo with
- standard drivers, try
+ standard drivers, try
<ulink url="http://gatos.sourceforge.net/">GATOS drivers
</ulink> instead
</para>
</listitem>
<listitem>
- <para>
+ <para>
intel: i815 has Xv support in XFree 4.x, others unknown
</para>
</listitem>
<listitem>
- <para>
+ <para>
Permedia 2/3 has Xv support in XFree 4.x
</para>
</listitem>
<listitem>
- <para>
+ <para>
Savage: at least some older drivers tend to lock up the whole machine,
- try the drivers available from
+ try the drivers available from
<ulink url="http://www.probo.com/timr/savage40.html">
http://www.probo.com/timr/savage40.html
</ulink>.
</para>
</listitem>
<listitem>
- <para>
+ <para>
SIS: certain controllers (more info needed!) have Xv support in XFree 4.x
</para>
</listitem>
<listitem>
- <para>
+ <para>
Chips and Tech 6555x, 68554, 69000, 69030 have Xv support in XFree 4.x
</para>
</listitem>
<listitem>
- <para>
+ <para>
NeoMagic: certain controllers (more info needed!) have Xv support in Xfree 4.x
</para>
</listitem>
<listitem>
- <para>
+ <para>
SiliconMotion: certain controllers (more info needed!) have Xv support in Xfree 4.x
</para>
</listitem>
<listitem>
- <para>
+ <para>
Matrox: G200 or newer (but not Parhelia) have Xv support in XFree 4.x.
For Parhelia, use the binary only drivers available from matrox' website.
</para>
@@ -1706,23 +1714,56 @@
<para>
Looks like some colours on your GUI match the colour key which Xv uses. You can
change the colour key value to avoid this. There should be a line like:
- <programlisting>&nbsp;&nbsp;&nbsp;video.XV_COLORKEY:2110</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;video.device.xv_colorkey:2110</programlisting>
in your <filename>~/.xine/config</filename> file where you can change the colour that's used
by xine for the video overlay.
</para>
</sect2>
+ <sect2 id="texturedvideo">
+ <title>How do I get Xv working with compiz?</title>
+ <para>
+ Tell xine to prefer textured video. There should be a line like:
+ <programlisting>&nbsp;&nbsp;&nbsp;video.device.xv_preferred_method:Any</programlisting>
+ in your <filename>~/.xine/config</filename> file where you can change the preferred method
+ used by xine for the video overlay.
+ </para>
+ <para>
+ It may be that your graphics card or driver doesn't have the necessary
+ support for textured video, or the video is rendered too slowly.
+ </para>
+ <itemizedlist>
+ <listitem><para>
+ ATI: you are likely to need xf86-video-ati later than 6.8.0; 6.9.0.91
+ or newer is recommended for slower/older hardware (&lt; X1300) because
+ the rendering speed has been improved a lot.
+ </para></listitem>
+ <listitem><para>
+ Intel: 945 and later, at least, should be fine with xf86-video-intel
+ 2.0 or later. Certainly with 2.2 or later.
+ </para></listitem>
+ <listitem><para>
+ nVidia: will probably be fine. (FIXME)
+ </para></listitem>
+ </itemizedlist>
+ <para>
+ If you find that textured video is significantly slower or isn't
+ supported, you should either not use compiz or tell xine to use the
+ xshm video output driver.
+ </para>
+ </sect2>
+
<sect2 id="aspectratio">
<title>The aspect ratio of the video is wrong!</title>
<para>
Usually xine discovers the screen aspect ratio by
querying the X-server and then adjusts the video automatically
- to make it look right. However, if that doesn't work try
+ to make it look right. However, if that doesn't work try
pressing "a" to manually change the aspect ratio.
</para>
<para>
If you have a wide screen monitor, make sure the X-server
- is correctly configured. The X-server must know the physical
+ is correctly configured. The X-server must know the physical
size of the screen, which is independent of the resolution
being used.
</para>
@@ -1741,7 +1782,7 @@
For XFree86, the filename is normally <filename>/etc/X11/XF86Config</filename>.
</para>
<para>
- Where <parameter>DisplaySize</parameter> specifies,
+ Where <parameter>DisplaySize</parameter> specifies,
in millimeters, the physical size of the monitor's picture area.
</para>
</sect2>
@@ -1755,7 +1796,7 @@
<para>
The difference between these counters is a little subtle for the non
developer. There are two threads running in order to display video:
- the decoder thread will deliver frames to the video output thread.
+ the decoder thread will deliver frames to the video output thread.
The latter is responsible for scheduling the frames to be displayed at
the right time.
</para>
@@ -1792,7 +1833,7 @@
</para>
<para>
Please note that some frontends save these settings in their config file
- so when you have found a working combination, make sure you exit
+ so when you have found a working combination, make sure you exit
xine cleanly so the values are saved.
</para>
</sect2>
@@ -1811,14 +1852,14 @@
Xv by default.
</para>
<para>
- However some users may want to explore better the available hardware
+ However some users may want to explore better the available hardware
capabilities (eg. syncing frame drawing with monitor refresh).
Also some Xv drivers contain slow copies and accessing the video card
directly may yield performance gains.
</para>
<para>
- Drivers that access hardware directly includes VIDIX (warning: requires
- root priviledges or kernel helper) and SyncFB (requires kernel helper - Matrox only).
+ Drivers that access hardware directly includes VIDIX (warning: requires
+ root priviledges or kernel helper) and SyncFB (requires kernel helper &ndash; Matrox only).
User may try one of those, but should be warned that with root access
they can cause the system to crash hard. The support is also limited to
a couple of graphics cards only.
@@ -1857,7 +1898,7 @@
altogether.
</para>
<para>
- Unscaled OSD usage by subtitles and xine-ui is controlled by
+ Unscaled OSD usage by subtitles and xine-ui is controlled by
the following settings
(<filename>~/.xine/config</filename> or <filename>~/.gxine/config</filename>):
<programlisting>&nbsp;&nbsp;&nbsp;gui.osd_use_unscaled:0</programlisting>
@@ -1869,17 +1910,17 @@
<title>I can't see the OSD or it leaves a black box over the image!</title>
<para>
If you are using xine-lib version 1-rc3 or newer, this is probably
- due buggy XV drivers that do not support
+ due buggy XV drivers that do not support
<link linkend="unscaledosd">unscaled OSD</link> (the XShape
- extension) properly.
+ extension) properly.
</para>
<para>
- There have being reports of some ATI drivers that don't allow
+ There have being reports of some ATI drivers that don't allow
displaying anything over the video. The VIA Epia binary drivers
is reported to leave a black box where the OSD was displayed.
</para>
<para>
- The problem may be fixed by either updating the video driver,
+ The problem may be fixed by either updating the video driver,
or disabling xine unscaled OSD support.
</para>
</sect2>
@@ -1904,7 +1945,7 @@
<title>Why external subtitles look so ugly?</title>
<para>
You are probably using a xine-lib version older than 1-rc3.
- Try upgrading your copy and read the
+ Try upgrading your copy and read the
<link linkend="unscaledosd">section about unscaled osd</link>.
</para>
</sect2>
@@ -1934,7 +1975,7 @@
</para>
<para>
Also notice that DVD overlays (including subtitles) are meant to
- be displayed in a fixed position, this is how the DVD menu
+ be displayed in a fixed position, this is how the DVD menu
highlighting works. xine does not support moving them.
</para>
</sect2>
@@ -1967,7 +2008,7 @@
<para>
The font for text subtitles is selected via config option
<parameter>subtitles.separate.font</parameter>. You can specify xine font name
- (<parameter>sans</parameter>, <parameter>serif</parameter>, ...)
+ (<parameter>sans</parameter>, <parameter>serif</parameter>, &hellip;)
or file name of the TTF font. The directories
<filename>$prefix/share/xine/libxine1/fonts</filename> and
<filename>~/.xine/fonts</filename> are searched for the fonts, with
@@ -2004,7 +2045,7 @@
</para>
<para>
Syntax is:
- <screen>&nbsp;&nbsp;&nbsp;<command>./xine-fontconf font.ttf font_name [encoding1 [encoding2 [...]]]</command></screen>
+ <screen>&nbsp;&nbsp;&nbsp;<command>./xine-fontconf font.ttf font_name [encoding1 [encoding2 [&hellip;]]]</command></screen>
</para>
<para>
For example default font <filename>sans</filename> was generated with
@@ -2023,7 +2064,7 @@
<sect2 id="subencoding">
<title>Encoding of external subtitles is bad. What is wrong?</title>
<para>
- The encoding of the external subtitles is expected to be iso-8859-1 by
+ The encoding of the external subtitles is expected to be iso-8859-1 by
default. You need to set an appropriate encoding in the config option
<parameter>subtitles.separate.src_encoding</parameter>. Note that you also need
a font which contains all characters from the given encoding.
@@ -2101,15 +2142,15 @@
<title>"Unable to open dvd drive (/dev/dvd)"</title>
<para>
You probably don't have /dev/dvd (check that). If so, simply create a
- link /dev/dvd that points to your DVD device. Something like...
+ link /dev/dvd that points to your DVD device. Something like&hellip;
<screen>&nbsp;&nbsp;&nbsp;<command>ln -s hdc /dev/dvd</command></screen>
- ...should do the job. Also make sure you have read and write access on
+ &hellip; should do the job. Also make sure you have read and write access on
the device the symlink points to.
See the <link linkend="dvdplayback">dvd playback section</link>
for more information.
</para>
</sect2>
-
+
<sect2 id="status0x51">
<title>My drive doesn't work and the kernel says "status=0x51 { DriveReady SeekComplete Error }"</title>
<para>
@@ -2153,9 +2194,9 @@
have two possibilities. Either deactivate ESD (temporarily) by right
clicking on the sound monitor applet and selecting "Place Esound in
standby" or just kill it. Then xine will use OSS audio output. The other
- method is to make xine use ESD for audio output with:
+ method is to make xine use ESD for audio output with:
<screen>&nbsp;&nbsp;&nbsp;<command>gxine -A esd</command></screen>
- This may result in worse playback - exact syncronization is not possible
+ This may result in worse playback &ndash; exact syncronization is not possible
with esd, so using oss should be preferred.
</para>
<para>
@@ -2169,7 +2210,7 @@
your aRts control. (recommended)
</para>
<para>
- Newer versions of arts have an auto-suspend mode - this can lead to
+ Newer versions of arts have an auto-suspend mode &ndash; this can lead to
some nondeterministic behaviour of xine if it is set up to use
the audio device directly. Using arts is recommended in that case;
however, you will lose the ability to do four/five channel audio output.
@@ -2208,12 +2249,12 @@
</sect2>
<sect2 id="xinecrashed">
- <title>xine just crashed on me - i didn't get any error message</title>
+ <title>xine just crashed on me &ndash; i didn't get any error message</title>
<para>
OK, yes, that shouldn't happen and you're upset. We can understand that.
But, to help you and of course to fix this, we need some information.
So, let's go through the checklist and maybe prepare a nice bug report
- for the xine-user mailing list:
+ for the <ulink url="http://bugs.xine-project.org/">xine bug tracker</ulink>:
<itemizedlist>
<listitem>
<para>
@@ -2223,7 +2264,7 @@
<listitem>
<para>
Can you reproduce the bug? (e.g. do you remember what you
- did and when you do it again it crashes again?)
+ did and when you do it again it crashes again?)
</para>
</listitem>
<listitem>
@@ -2243,7 +2284,7 @@
Your X server just froze on you? unfortunately that's a known problem
with some chipsets and drivers (most commonly Savage chipsets) when
using Xv. You might want to try running <command>gxine -V XShm</command>
- to see if the problem is related to the Xv driver. This will unfortunately
+ to see if the problem is related to the Xv driver. This will unfortunately
be much slower, as lots of things are now done in software instead of
hardware scaling/colour space conversion.
</para>
@@ -2259,11 +2300,10 @@
still under heavy development (nice excuse, isn't it? *grin*).
</para>
<para>
- If you write to the xine user mailing list
- <email>xine-user@lists.sourceforge.net</email>
+ If you write to the <ulink url="http://bugs.xine-project.org/">xine bug tracker</ulink>
make sure you include a the above information (when applicable)
and also some information about your machine (operating system, cpu type and
- speed, gfx card, sound card, ...) and please use a meaningfull subject
+ speed, gfx card, sound card, &hellip;) and please use a meaningfull subject
line ("xine bug" is bad, "xine fails to play this quicktime trailer in fullscreen mode"
ist much better).
</para>
diff --git a/doc/hackersguide/README b/doc/hackersguide/README
index c0c0d944a..ef0ac825a 100644
--- a/doc/hackersguide/README
+++ b/doc/hackersguide/README
@@ -27,7 +27,7 @@ installed TeX system (for example teTeX).
sgmltools-lite examples:
------------------------
-to generate html
+to generate html
$ sgmltools -b onehtml hackersguide.sgml
diff --git a/doc/hackersguide/architecture.fig b/doc/hackersguide/architecture.fig
index cc035149d..9e420bf42 100644
--- a/doc/hackersguide/architecture.fig
+++ b/doc/hackersguide/architecture.fig
@@ -2,7 +2,7 @@
Landscape
Center
Metric
-A4
+A4
100.00
Single
-2
diff --git a/doc/hackersguide/internals.sgml b/doc/hackersguide/internals.sgml
index 9bd1ec684..58a5a3c37 100644
--- a/doc/hackersguide/internals.sgml
+++ b/doc/hackersguide/internals.sgml
@@ -15,15 +15,15 @@
</caption>
</mediaobject>
<para>
- Media streams usually consist of audio and video data multiplexed
+ Media streams usually consist of audio and video data multiplexed
into one bitstream in the so-called system-layer (e.g. AVI, Quicktime or MPEG).
A demuxer plugin is used to parse the system layer and extract audio and video
packages. The demuxer uses an input plugin to read the data and stores it
- in pre-allocated buffers from the global buffer pool.
+ in pre-allocated buffers from the global buffer pool.
The buffers are then added to the audio or video stream fifo.
</para>
<para>
- From the other end of these fifos the audio and video decoder threads
+ From the other end of these fifos the audio and video decoder threads
consume the buffers and hand them over to the current audio or video
decoder plugin for decompression. These plugins then send the decoded
data to the output layer. The buffer holding the encoded
@@ -64,7 +64,7 @@
<para>
support for multiple plugin directories
(<filename>$prefix/lib/xine/plugins</filename>,
- <filename>$HOME/.xine/plugins</filename>, ...)
+ <filename>$HOME/.xine/plugins</filename>, &hellip;)
</para>
</listitem>
<listitem>
@@ -124,7 +124,7 @@
&nbsp;&nbsp;&nbsp; demux_mpeg_block.so
&nbsp;&nbsp;&nbsp; decode_mpeg.so
&nbsp;&nbsp;&nbsp; video_out_xv.so
-&nbsp;&nbsp;&nbsp; ...
+&nbsp;&nbsp;&nbsp; &hellip;
&nbsp;&nbsp;&nbsp; xine-vcdnav-0.9.11
&nbsp;&nbsp;&nbsp; input_vcdnav.so
&nbsp;&nbsp;&nbsp; xine-lib-1.2
@@ -135,21 +135,21 @@
&nbsp;&nbsp;&nbsp; demuxers
&nbsp;&nbsp;&nbsp; fli.so
&nbsp;&nbsp;&nbsp; avi.so
-&nbsp;&nbsp;&nbsp; ...
+&nbsp;&nbsp;&nbsp; &hellip;
&nbsp;&nbsp;&nbsp; decoders
&nbsp;&nbsp;&nbsp; ffmpeg.so
&nbsp;&nbsp;&nbsp; mpeg.so (may contain mpeg 1/2 audio and video decoders)
&nbsp;&nbsp;&nbsp; pcm.so
-&nbsp;&nbsp;&nbsp; ...
+&nbsp;&nbsp;&nbsp; &hellip;
&nbsp;&nbsp;&nbsp; output
&nbsp;&nbsp;&nbsp; video_xv.so
&nbsp;&nbsp;&nbsp; audio_oss.so
-&nbsp;&nbsp;&nbsp; ...
+&nbsp;&nbsp;&nbsp; &hellip;
&nbsp;&nbsp;&nbsp; xine-lib-3.0
&nbsp;&nbsp;&nbsp; avi.so (avi demuxer)
&nbsp;&nbsp;&nbsp; mpeg.so (contains mpeg demuxers and audio/video decoders)
&nbsp;&nbsp;&nbsp; video_out_xv.so (Xv video out)
-&nbsp;&nbsp;&nbsp; ...</screen>
+&nbsp;&nbsp;&nbsp; &hellip;</screen>
</para>
<para>
As you can see, every package is free to organize plugins at will
@@ -188,7 +188,7 @@
This plugin list is held in an array named <varname>xine_plugin_info</varname>":
<programlisting>
&nbsp;&nbsp;&nbsp;plugin_info_t xine_plugin_info[] = {
-&nbsp;&nbsp;&nbsp; /* type, API, "name", version, special_info, init_function */
+&nbsp;&nbsp;&nbsp; /* type, API, "name", version, special_info, init_function */
&nbsp;&nbsp;&nbsp; { PLUGIN_DEMUX, 20, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class },
&nbsp;&nbsp;&nbsp; { PLUGIN_AUDIO_DECODER, 13, "flacdec", XINE_VERSION_CODE, &amp;dec_info_audio, init_plugin },
&nbsp;&nbsp;&nbsp; { PLUGIN_NONE, 0, "", 0, NULL, NULL }
@@ -236,7 +236,7 @@
same plugin are possible.
</para>
<para>
- If you think this is pretty much an object-oriented aproach,
+ If you think this is pretty much an object-oriented aproach,
then you're right.
</para>
<para>
@@ -244,12 +244,12 @@
13, found in xine-lib 2.13.7 would then define this plugin list:
<programlisting>
&nbsp;&nbsp;&nbsp;#include &lt;xine/plugin.h&gt;
-&nbsp;&nbsp;&nbsp;...
+&nbsp;&nbsp;&nbsp;&hellip;
&nbsp;&nbsp;&nbsp;plugin_t *init_api12(void) {
&nbsp;&nbsp;&nbsp; input_plugin_t *this;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; this = malloc(sizeof(input_plugin_t));
-&nbsp;&nbsp;&nbsp; ...
+&nbsp;&nbsp;&nbsp; &hellip;
&nbsp;&nbsp;&nbsp; return (plugin_t *)this;
&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;/* same thing, with different initialization for API 13 */
@@ -278,7 +278,7 @@
<para>
Many plugins will need some additional "private" data fields.
These should be simply added at the end of the plugin structure.
- For example a demuxer plugin called "foo" with two private
+ For example a demuxer plugin called "foo" with two private
fields "xine" and "count" may have a plugin structure declared in
the following way:
<programlisting>
@@ -325,13 +325,13 @@
<para>
Metronom serves two purposes:
<itemizedlist>
- <listitem>
+ <listitem>
<para>
Generate vpts (virtual presentation time stamps) from pts (presentation time stamps)
for a/v output and synchronization.
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
Provide a master clock (system clock reference, scr), possibly provided
by external scr plugins (this can be used if some hardware decoder or network
@@ -352,7 +352,7 @@
The heuristics used in metronom have always been a field of research. Current metronom's
implementation <emphasis>tries</emphasis> to stick to pts values as reported from demuxers,
that is, vpts may be obtained by a simple operation of vpts = pts + <varname>vpts_offset</varname>,
- where <varname>vpts_offset</varname> takes into account any wraps. Whenever pts is zero,
+ where <varname>vpts_offset</varname> takes into account any wraps. Whenever pts is zero,
metronom will estimate vpts based on previous values. If a difference is found between the
estimated and calculated vpts values by above formula, it will be smoothed by using a
"drift correction".
@@ -369,18 +369,18 @@
delivered for drawing. Unfortunately the same isn't true for audio: all sound
systems implement some amount of buffering (or fifo), any data being send to it
<emphasis>now</emphasis> will only get played some time in future. audio_out thread
- must take this into account for making perfect A-V sync by asking the sound latency
+ must take this into account for making perfect A-V sync by asking the sound latency
to audio driver.
</para>
<para>
- Some audio drivers can't tell the current delay introduced in playback. This is
+ Some audio drivers can't tell the current delay introduced in playback. This is
especially true for most sound servers like ESD or aRts and explain why in such
cases the sync is far from perfect.
</para>
<para>
Another problem xine must handle is the sound card clock drift. vpts are
compared to the system clock (or even to a different clock provided by a scr plugin)
- for presentation but sound card is sampling audio by it's own clocking
+ for presentation but sound card is sampling audio by its own clocking
mechanism, so a small drift may occur. As the playback goes on this
error will accumulate possibly resulting in audio gaps or audio drops. To avoid that
annoying effect, two countermeasures are available (switchable with xine config
@@ -388,15 +388,15 @@
<itemizedlist>
<listitem>
<para>
- The small sound card errors are feedbacked to metronom. The details
+ The small sound card errors are feedbacked to metronom. The details
are given by <filename>audio_out.c</filename> comments:
<programlisting>
&nbsp;&nbsp;&nbsp;/* By adding gap errors (difference between reported and expected
-&nbsp;&nbsp;&nbsp; * sound card clock) into metronom's vpts_offset we can use its
+&nbsp;&nbsp;&nbsp; * sound card clock) into metronom's vpts_offset we can use its
&nbsp;&nbsp;&nbsp; * smoothing algorithms to correct sound card clock drifts.
&nbsp;&nbsp;&nbsp; * obs: previously this error was added to xine scr.
&nbsp;&nbsp;&nbsp; *
-&nbsp;&nbsp;&nbsp; * audio buf ---> metronom --> audio fifo --> (buf->vpts - hw_vpts)
+&nbsp;&nbsp;&nbsp; * audio buf ---&gt; metronom --&gt; audio fifo --&gt; (buf-&gt;vpts - hw_vpts)
&nbsp;&nbsp;&nbsp; * (vpts_offset + error) gap
&nbsp;&nbsp;&nbsp; * <---------- control --------------|
&nbsp;&nbsp;&nbsp; *
@@ -438,7 +438,7 @@
<sect1 id="osd">
<title>Overlays and OSD</title>
<para>
- The roots of xine overlay capabilities are DVD subpictures and subtitles support
+ The roots of xine overlay capabilities are DVD subpictures and subtitles support
(also known as 'spu'). The DVD subtitles are encoded in a RLE (Run Length Encoding - the
most simple compressing technique) format, with a palette of colors and transparency
levels. You probably thought that subtitles were just simple text saved into DVDs, right?
@@ -446,9 +446,9 @@
</para>
<para>
In order to optimize to the most common case, xine's internal format for screen overlays
- is a similar representation to the 'spu' data. This brings not only performance
+ is a similar representation to the 'spu' data. This brings not only performance
benefit (since blending functions may skip large image areas due to RLE) but also
- compatibility: it's possible to reencode any xine overlay to the original spu format
+ compatibility: it's possible to re-encode any xine overlay to the original spu format
for displaying with mpeg hardware decoders like DXR3.
</para>
<para>
@@ -456,14 +456,14 @@
is done using the same kind of pts/vpts stuff of a-v sync code. DVD subtitles,
for example, may request: show this spu at pts1 and hide it at pts2. This brings the
concept of the 'video overlay manager', that is a event-driven module for managing
- overlay's showing and hiding.
+ overlay's showing and hiding.
</para>
<para>
The drawback of using internal RLE format is the difficulty in manipulating it
as graphic. To overcome that we created the 'OSD renderer', where OSD stands
- for On Screen Display just like in TV sets. The osd renderer is a module
+ for On Screen Display just like in TV sets. The osd renderer is a module
providing simple graphic primitives (lines, rectagles, draw text etc) over
- a "virtual" bitmap area. Everytime we want to show that bitmap it will
+ a "virtual" bitmap area. Everytime we want to show that bitmap it will
be RLE encoded and sent to the overlay manager for displaying.
</para>
<mediaobject>
@@ -486,38 +486,38 @@
<programlisting>
&nbsp;&nbsp;&nbsp;video_overlay_event_t event;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;event.object.handle = this->video_overlay->get_handle(this->video_overlay,0);
+&nbsp;&nbsp;&nbsp;event.object.handle = this-&gt;video_overlay-&gt;get_handle(this-&gt;video_overlay,0);
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;memset(this->event.object.overlay, 0, sizeof(*this->event.object.overlay));
+&nbsp;&nbsp;&nbsp;memset(this-&gt;event.object.overlay, 0, sizeof(*this-&gt;event.object.overlay));
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* set position and size for this overlay */
-&nbsp;&nbsp;&nbsp;event.object.overlay->x = 0;
-&nbsp;&nbsp;&nbsp;event.object.overlay->y = 0;
-&nbsp;&nbsp;&nbsp;event.object.overlay->width = 100;
-&nbsp;&nbsp;&nbsp;event.object.overlay->height = 100;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;x = 0;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;y = 0;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;width = 100;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;height = 100;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;/* clipping region is mostly used by dvd menus for highlighting buttons */
-&nbsp;&nbsp;&nbsp;event.object.overlay->clip_top = 0;
-&nbsp;&nbsp;&nbsp;event.object.overlay->clip_bottom = image_height;
-&nbsp;&nbsp;&nbsp;event.object.overlay->clip_left = 0;
-&nbsp;&nbsp;&nbsp;event.object.overlay->clip_right = image_width;
+&nbsp;&nbsp;&nbsp;/* clipping region is mostly used by dvd menus for highlighting buttons */
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;clip_top = 0;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;clip_bottom = image_height;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;clip_left = 0;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;clip_right = image_width;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;/* the hard part: provide a RLE image */
-&nbsp;&nbsp;&nbsp;event.object.overlay->rle = your_rle;
-&nbsp;&nbsp;&nbsp;event.object.overlay->data_size = your_size;
-&nbsp;&nbsp;&nbsp;event.object.overlay->num_rle = your_rle_count;
+&nbsp;&nbsp;&nbsp;/* the hard part: provide a RLE image */
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;rle = your_rle;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;data_size = your_size;
+&nbsp;&nbsp;&nbsp;event.object.overlay-&gt;num_rle = your_rle_count;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* palette must contain YUV values for each color index */
-&nbsp;&nbsp;&nbsp;memcpy(event.object.overlay->clip_color, color, sizeof(color));
+&nbsp;&nbsp;&nbsp;memcpy(event.object.overlay-&gt;clip_color, color, sizeof(color));
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* this table contains transparency levels for each color index.
&nbsp;&nbsp;&nbsp; 0 = completely transparent, 15 - completely opaque */
-&nbsp;&nbsp;&nbsp;memcpy(event.object.overlay->clip_trans, trans, sizeof(trans));
+&nbsp;&nbsp;&nbsp;memcpy(event.object.overlay-&gt;clip_trans, trans, sizeof(trans));
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* set the event type and time for displaying */
&nbsp;&nbsp;&nbsp;event.event_type = EVENT_SHOW_SPU;
&nbsp;&nbsp;&nbsp;event.vpts = 0; /* zero is a special vpts value, it means 'now' */
-&nbsp;&nbsp;&nbsp;video_overlay->add_event(video_overlay, &amp;event);</programlisting>
+&nbsp;&nbsp;&nbsp;video_overlay-&gt;add_event(video_overlay, &amp;event);</programlisting>
</para>
</sect2>
<sect2>
@@ -527,15 +527,15 @@
to xine plugins and to frontends.
</para>
<para>
- The first thing you need is to allocate a OSD object for drawing from the
+ The first thing you need is to allocate a OSD object for drawing from the
renderer. The code below allocates a 300x200 area. This size can't be changed
- during the lifetime of a OSD object, but it's possible to place it anywhere
+ during the lifetime of a OSD object, but it's possible to place it anywhere
over the image.
</para>
<programlisting>
&nbsp;&nbsp;&nbsp;osd_object_t osd;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;osd = this->osd_renderer->new_object(osd_renderer, 300, 200);</programlisting>
+&nbsp;&nbsp;&nbsp;osd = this-&gt;osd_renderer-&gt;new_object(osd_renderer, 300, 200);</programlisting>
<para>
Now we may want to set font and color for text rendering. Although we will
refer to fonts over this document, in fact the OSD can be any kind of bitmap. Font
@@ -547,22 +547,22 @@
</para>
<programlisting>
&nbsp;&nbsp;&nbsp;/* set sans serif 24 font */
-&nbsp;&nbsp;&nbsp;osd_renderer->set_font(osd, "sans", 24);
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;set_font(osd, "sans", 24);
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* copy pre-defined colors for white, black border, transparent background to
&nbsp;&nbsp;&nbsp; starting at the index used by the first text palette */
-&nbsp;&nbsp;&nbsp;osd_renderer->set_text_palette(osd, TEXTPALETTE_WHITE_BLACK_TRANSPARENT, OSD_TEXT1);
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;set_text_palette(osd, TEXTPALETTE_WHITE_BLACK_TRANSPARENT, OSD_TEXT1);
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* copy pre-defined colors for white, no border, translucid background to
&nbsp;&nbsp;&nbsp; starting at the index used by the second text palette */
-&nbsp;&nbsp;&nbsp;osd_renderer->set_text_palette(osd, TEXTPALETTE_WHITE_NONE_TRANSLUCID, OSD_TEXT2);</programlisting>
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;set_text_palette(osd, TEXTPALETTE_WHITE_NONE_TRANSLUCID, OSD_TEXT2);</programlisting>
<para>
Now render the text and show it:
<programlisting>
-&nbsp;&nbsp;&nbsp;osd_renderer->render_text(osd, 0, 0, "white text, black border", OSD_TEXT1);
-&nbsp;&nbsp;&nbsp;osd_renderer->render_text(osd, 0, 30, "white text, no border", OSD_TEXT2);
-&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;osd_renderer->show(osd, 0); /* 0 stands for 'now' */</programlisting>
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;render_text(osd, 0, 0, "white text, black border", OSD_TEXT1);
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;render_text(osd, 0, 30, "white text, no border", OSD_TEXT2);
+&nbsp;&nbsp;&nbsp;
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;show(osd, 0); /* 0 stands for 'now' */</programlisting>
</para>
<para>
There's a 1:1 mapping between OSD objects and overlays, therefore the
@@ -572,11 +572,11 @@
</para>
<programlisting>
&nbsp;&nbsp;&nbsp;for( i=0; i &lt; 100; i+=10 ) {
-&nbsp;&nbsp;&nbsp; osd_renderer->set_position(osd, i, i );
-&nbsp;&nbsp;&nbsp; osd_renderer->show(osd, 0);
+&nbsp;&nbsp;&nbsp; osd_renderer-&gt;set_position(osd, i, i );
+&nbsp;&nbsp;&nbsp; osd_renderer-&gt;show(osd, 0);
&nbsp;&nbsp;&nbsp; sleep(1);
&nbsp;&nbsp;&nbsp;}
-&nbsp;&nbsp;&nbsp;osd_renderer->hide(osd, 0);</programlisting>
+&nbsp;&nbsp;&nbsp;osd_renderer-&gt;hide(osd, 0);</programlisting>
<para>
For additional functions please check osd.h or the public header.
</para>
@@ -592,7 +592,7 @@
defined a small convention:
</para>
<programlisting>
-&nbsp;&nbsp;&nbsp;/*
+&nbsp;&nbsp;&nbsp;/*
&nbsp;&nbsp;&nbsp; Palette entries as used by osd fonts:
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 0: not used by font, always transparent
@@ -603,13 +603,13 @@
&nbsp;&nbsp;&nbsp; 6: font border. if the font is to be displayed without border this
&nbsp;&nbsp;&nbsp; will probably be adjusted to font background or near.
&nbsp;&nbsp;&nbsp; 7-9: transition between border and foreground
-&nbsp;&nbsp;&nbsp; 10: font color (foreground)
+&nbsp;&nbsp;&nbsp; 10: font color (foreground)
&nbsp;&nbsp;&nbsp;*/</programlisting>
<para>
The so called 'transitions' are used to implement font anti-aliasing. That
convention requires that any font file must use only the colors from 1 to 10.
When we use the set_text_palette() function we are just copying 11 palette
- entries to the specified base index.
+ entries to the specified base index.
</para>
<para>
That base index is the same we pass to render_text() function to use the
@@ -618,13 +618,13 @@
</para>
<programlisting>
&nbsp;&nbsp;&nbsp;/* obtains size the text will occupy */
-&nbsp;&nbsp;&nbsp;renderer->get_text_size(osd, text, &amp;width, &amp;height);
+&nbsp;&nbsp;&nbsp;renderer-&gt;get_text_size(osd, text, &amp;width, &amp;height);
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;/* draws a box using font background color (translucid) */
-&nbsp;&nbsp;&nbsp;renderer->filled_rect(osd, x1, y1, x1+width, y1+height, OSD_TEXT2 + 1);
+&nbsp;&nbsp;&nbsp;renderer-&gt;filled_rect(osd, x1, y1, x1+width, y1+height, OSD_TEXT2 + 1);
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;/* render text */
-&nbsp;&nbsp;&nbsp;renderer->render_text(osd, x1, y1, text, OSD_TEXT2);</programlisting>
+&nbsp;&nbsp;&nbsp;/* render text */
+&nbsp;&nbsp;&nbsp;renderer-&gt;render_text(osd, x1, y1, text, OSD_TEXT2);</programlisting>
</sect3>
<sect3>
<title>OSD text and palette FAQ</title>
@@ -669,8 +669,8 @@
<para>
A: osd objects have no shadows by itself, but fonts use 11
colors to produce an anti-aliased effect.
- if you set a "text palette" with entries 0-9 being transparent
- and 10 being foreground you will get rid of any borders or
+ if you set a "text palette" with entries 0-9 being transparent
+ and 10 being foreground you will get rid of any borders or
anti-aliasing.
</para>
</sect3>
diff --git a/doc/hackersguide/intro.sgml b/doc/hackersguide/intro.sgml
index c7dce6254..cd163e2ee 100644
--- a/doc/hackersguide/intro.sgml
+++ b/doc/hackersguide/intro.sgml
@@ -4,9 +4,9 @@
<sect1>
<title>Where am I?</title>
<para>
- You are currently looking at a piece of documentation for xine.
+ You are currently looking at a piece of documentation for xine.
xine is a free video player. It lives on
- <ulink url="http://xinehq.de/">http://xinehq.de/</ulink>. Specifically
+ <ulink url="http://www.xine-project.org/">http://www.xine-project.org/</ulink>. Specifically
this document goes under the moniker of the "xine Hackers' Guide".
</para>
</sect1>
@@ -36,7 +36,7 @@
</para>
<para>
New versions of this document can also be obtained from the xine web site:
- <ulink url="http://xinehq.de/">http://xinehq.de/</ulink>.
+ <ulink url="http://www.xine-project.org/">http://www.xine-project.org/</ulink>.
</para>
</sect1>
diff --git a/doc/hackersguide/library.fig b/doc/hackersguide/library.fig
index 13dc79f0e..ec33d0f32 100644
--- a/doc/hackersguide/library.fig
+++ b/doc/hackersguide/library.fig
@@ -2,7 +2,7 @@
Landscape
Center
Metric
-A4
+A4
100.00
Single
-2
diff --git a/doc/hackersguide/library.sgml b/doc/hackersguide/library.sgml
index 1d987d259..eb51baaaf 100644
--- a/doc/hackersguide/library.sgml
+++ b/doc/hackersguide/library.sgml
@@ -32,7 +32,7 @@
Details on the OSD feature can be found in the <link linkend="osd">OSD section</link>.
</para>
</sect1>
-
+
<sect1>
<title>Writing a new frontend to xine</title>
<para>
@@ -51,21 +51,21 @@
<programlisting>
/*
** Copyright (C) 2003 Daniel Caujolle-Bert &lt;segfault@club-internet.fr&gt;
-**
+**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
-**
+**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
-**
+**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-**
+**
*/
/*
@@ -127,7 +127,7 @@ static void dest_size_cb(void *data, int video_width, int video_height, double v
/* this will be called by xine when it's about to draw the frame */
static void frame_output_cb(void *data, int video_width, int video_height,
double video_pixel_aspect, int *dest_x, int *dest_y,
- int *dest_width, int *dest_height,
+ int *dest_width, int *dest_height,
double *dest_pixel_aspect, int *win_x, int *win_y) {
*dest_x = 0;
*dest_y = 0;
@@ -139,7 +139,7 @@ static void frame_output_cb(void *data, int video_width, int video_height,
}
static void event_listener(void *user_data, const xine_event_t *event) {
- switch(event-&gt;type) {
+ switch(event-&gt;type) {
case XINE_EVENT_UI_PLAYBACK_FINISHED:
running = 0;
break;
@@ -147,11 +147,11 @@ static void event_listener(void *user_data, const xine_event_t *event) {
case XINE_EVENT_PROGRESS:
{
xine_progress_data_t *pevent = (xine_progress_data_t *) event-&gt;data;
-
+
printf("%s [%d%%]\n", pevent-&gt;description, pevent-&gt;percent);
}
break;
-
+
/* you can handle a lot of other interesting events here */
}
}
@@ -175,7 +175,7 @@ int main(int argc, char **argv) {
else if (strcmp(argv[i], "-ao") == 0) {
ao_driver = argv[++i];
}
- else
+ else
mrl = argv[i];
}
@@ -195,7 +195,7 @@ int main(int argc, char **argv) {
snprintf(configfile, sizeof(configfile), "%s%s", xine_get_homedir(), "/.xine/config");
xine_config_load(xine, configfile);
xine_init(xine);
-
+
display = XOpenDisplay(NULL);
screen = XDefaultScreen(display);
xpos = 0;
@@ -212,7 +212,7 @@ int main(int argc, char **argv) {
window[1] = XCreateSimpleWindow(display, XDefaultRootWindow(display),
0, 0, (DisplayWidth(display, screen)),
(DisplayHeight(display, screen)), 0, 0, 0);
-
+
XSelectInput(display, window[0], INPUT_MOTION);
XSelectInput(display, window[1], INPUT_MOTION);
@@ -223,14 +223,14 @@ int main(int argc, char **argv) {
XChangeProperty(display, window[1],
XA_NO_BORDER, XA_NO_BORDER, 32, PropModeReplace, (unsigned char *) &amp;mwmhints,
PROP_MWM_HINTS_ELEMENTS);
-
+
XMapRaised(display, window[fullscreen]);
-
+
res_h = (DisplayWidth(display, screen) * 1000 / DisplayWidthMM(display, screen));
res_v = (DisplayHeight(display, screen) * 1000 / DisplayHeightMM(display, screen));
XSync(display, False);
XUnlockDisplay(display);
-
+
/* filling in the xine visual struct */
vis.display = display;
vis.screen = screen;
@@ -239,7 +239,7 @@ int main(int argc, char **argv) {
vis.frame_output_cb = frame_output_cb;
vis.user_data = NULL;
pixel_aspect = res_v / res_h;
-
+
/* opening xine output ports */
vo_port = xine_open_video_driver(xine, vo_driver, XINE_VISUAL_TYPE_X11, (void *)&amp;vis);
ao_port = xine_open_audio_driver(xine , ao_driver, NULL);
@@ -249,11 +249,11 @@ int main(int argc, char **argv) {
/* hook our event handler into the streams events */
event_queue = xine_event_new_queue(stream);
xine_event_create_listener_thread(event_queue, event_listener, NULL);
-
+
/* make the video window visible to xine */
xine_port_send_gui_data(vo_port, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) window[fullscreen]);
xine_port_send_gui_data(vo_port, XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1);
-
+
/* start playback */
if (!xine_open(stream, mrl) || !xine_play(stream, 0, 0)) {
printf("Unable to open mrl '%s'\n", mrl);
@@ -269,12 +269,12 @@ int main(int argc, char **argv) {
if( got_event )
XNextEvent(display, &amp;xevent);
XUnlockDisplay(display);
-
+
if( !got_event ) {
xine_usec_sleep(20000);
continue;
}
-
+
switch(xevent.type) {
case KeyPress:
@@ -283,27 +283,27 @@ int main(int argc, char **argv) {
KeySym ksym;
char kbuf[256];
int len;
-
+
kevent = xevent.xkey;
-
+
XLockDisplay(display);
len = XLookupString(&amp;kevent, kbuf, sizeof(kbuf), &amp;ksym, NULL);
XUnlockDisplay(display);
-
+
switch (ksym) {
-
+
case XK_q:
case XK_Q:
/* user pressed q => quit */
running = 0;
break;
-
+
case XK_f:
case XK_F:
{
/* user pressed f => toggle fullscreen */
Window tmp_win;
-
+
XLockDisplay(display);
XUnmapWindow(display, window[fullscreen]);
fullscreen = !fullscreen;
@@ -313,36 +313,36 @@ int main(int argc, char **argv) {
DefaultRootWindow(display),
0, 0, &amp;xpos, &amp;ypos, &amp;tmp_win);
XUnlockDisplay(display);
-
- xine_port_send_gui_data(vo_port, XINE_GUI_SEND_DRAWABLE_CHANGED,
+
+ xine_port_send_gui_data(vo_port, XINE_GUI_SEND_DRAWABLE_CHANGED,
(void*) window[fullscreen]);
}
break;
-
+
case XK_Up:
/* cursor up => increase volume */
xine_set_param(stream, XINE_PARAM_AUDIO_VOLUME,
(xine_get_param(stream, XINE_PARAM_AUDIO_VOLUME) + 1));
break;
-
+
case XK_Down:
/* cursor down => decrease volume */
xine_set_param(stream, XINE_PARAM_AUDIO_VOLUME,
(xine_get_param(stream, XINE_PARAM_AUDIO_VOLUME) - 1));
break;
-
+
case XK_plus:
/* plus => next audio channel */
- xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL,
+ xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL,
(xine_get_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL) + 1));
break;
-
+
case XK_minus:
/* minus => previous audio channel */
- xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL,
+ xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL,
(xine_get_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL) - 1));
break;
-
+
case XK_space:
/* space => toggle pause mode */
if (xine_get_param(stream, XINE_PARAM_SPEED) != XINE_SPEED_PAUSE)
@@ -350,26 +350,26 @@ int main(int argc, char **argv) {
else
xine_set_param(stream, XINE_PARAM_SPEED, XINE_SPEED_NORMAL);
break;
-
+
}
}
break;
-
+
case Expose:
/* this handles (partial) occlusion of our video window */
if (xevent.xexpose.count != 0)
break;
xine_port_send_gui_data(vo_port, XINE_GUI_SEND_EXPOSE_EVENT, &amp;xevent);
break;
-
+
case ConfigureNotify:
{
XConfigureEvent *cev = (XConfigureEvent *) &amp;xevent;
Window tmp_win;
-
+
width = cev-&gt;width;
height = cev-&gt;height;
-
+
if ((cev-&gt;x == 0) &amp;&amp; (cev-&gt;y == 0)) {
XLockDisplay(display);
XTranslateCoordinates(display, cev-&gt;window,
@@ -382,26 +382,26 @@ int main(int argc, char **argv) {
}
}
break;
-
+
}
}
-
+
/* cleanup */
xine_close(stream);
xine_event_dispose_queue(event_queue);
xine_dispose(stream);
- xine_close_audio_driver(xine, ao_port);
- xine_close_video_driver(xine, vo_port);
+ xine_close_audio_driver(xine, ao_port);
+ xine_close_video_driver(xine, vo_port);
xine_exit(xine);
-
+
XLockDisplay(display);
XUnmapWindow(display, window[fullscreen]);
XDestroyWindow(display, window[0]);
XDestroyWindow(display, window[1]);
XUnlockDisplay(display);
-
+
XCloseDisplay (display);
-
+
return 0;
}</programlisting>
</sect2>
diff --git a/doc/hackersguide/output.sgml b/doc/hackersguide/output.sgml
index 806e89d0a..64adbd294 100644
--- a/doc/hackersguide/output.sgml
+++ b/doc/hackersguide/output.sgml
@@ -116,7 +116,7 @@
<programlisting>
&nbsp;&nbsp;&nbsp;if (_x_post_dispose(this))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;really_free(this);</programlisting>
- <function>_x_post_dispose()</function> frees any ressources allocated by any of the
+ <function>_x_post_dispose()</function> frees any ressources allocated by any of the
post plugin helper functions and returns boolean true, if the plugin is not needed
any more.
</para>
@@ -267,7 +267,7 @@
a deep copy of the frame, because the decoder might still use the frame as
a reference frame for future decoding. The usual procedure is:
<programlisting>
-&nbsp;&nbsp;&nbsp;modified_frame = port-&gt;original_port-&gt;get_frame(port->original_port, ...);
+&nbsp;&nbsp;&nbsp;modified_frame = port-&gt;original_port-&gt;get_frame(port-&gt;original_port, &hellip;);
&nbsp;&nbsp;&nbsp;_x_post_frame_copy_down(frame, modified_frame);
&nbsp;&nbsp;&nbsp;copy_and_modify(frame, modified_frame);
&nbsp;&nbsp;&nbsp;skip = modified_frame-&gt;draw(modified_frame, stream);
@@ -434,7 +434,7 @@
<listitem>
<para>
This function can only be called by the xine engine, plugins do not have access to it.
- It ends ticket revocation and hands out new tickets to all threads that applied with a
+ It ends ticket revocation and hands out new tickets to all threads that applied with a
<function>acquire()</function> or <function>renew()</function>. If you revoked the
tickets atomic, you have to issue them atomic.
</para>
@@ -499,7 +499,7 @@
<function>_x_post_rewire()</function> should be used in prominent locations
where it is safe to be suspended. Candidates for such locations are at the
beginning of the port's <function>open()</function> and
- <function>get_frame()</function>/<function>get_buffer()</function> functions.
+ <function>get_frame()</function>/<function>get_buffer()</function> functions.
The default pass through implementations for intercepted ports already do this.
</para>
<para>
@@ -515,7 +515,7 @@
</sect3>
</sect2>
</sect1>
-
+
<sect1>
<title>Video output</title>
<para>
@@ -539,13 +539,13 @@
</listitem>
<listitem>
<para>
- Most important, the ability to render/copy a given
+ Most important, the ability to render/copy a given
frame to the output device.
</para>
</listitem>
<listitem>
<para>
- Optionally the copying of the frame from a file dependant
+ Optionally the copying of the frame from a file dependant
colour-space and depth into the frame structure. This is to allow for
on-the fly colour-space conversion and scaling if required (e.g. the XShm
ouput plugin uses this mechanism).
@@ -569,7 +569,7 @@
The <varname>visual_type</varname> field is used by xine to
determine if the GUI used by the client is supported by the plugin
(e.g. X11 output plugins require the GUI to be running under the
- X Windowing system) and also to determine the type of information passed to the
+ X Windowing system) and also to determine the type of information passed to the
<function>open_plugin()</function> function as its <varname>visual</varname> parameter.
</para>
<para>
@@ -590,7 +590,7 @@
The <varname>visual</varname> is a pointer to a visual-dependant
structure/variable. For example, if you had previously claimed your
plugin was of the VISUAL_TYPE_X11 type, this would be a pointer
- to a <type>x11_visual_t</type>, which amongst other things hold the
+ to a <type>x11_visual_t</type>, which amongst other things hold the
<type>Display</type> variable associated with the
X-server xine should display to. See plugin source-code for other
VISUAL_TYPE_* constants and associated structures. Note that this
@@ -609,7 +609,7 @@
&nbsp;&nbsp;&nbsp;int get_property(vo_driver_t *self, int property);
&nbsp;&nbsp;&nbsp;int set_property(vo_driver_t *self, int property, int value);
&nbsp;&nbsp;&nbsp;void get_property_min_max(vo_driver_t *self, int property, int *min, int *max);</programlisting>
- Handle the getting, setting of properties and define their bounds.
+ Handle the getting, setting of properties and define their bounds.
Valid property IDs can be found in the <filename>video_out.h</filename>
header file.
</para>
diff --git a/doc/hackersguide/overlays.fig b/doc/hackersguide/overlays.fig
index 0301aead2..78ecda61c 100644
--- a/doc/hackersguide/overlays.fig
+++ b/doc/hackersguide/overlays.fig
@@ -2,7 +2,7 @@
Portrait
Center
Metric
-A4
+A4
100.00
Single
-2
diff --git a/doc/hackersguide/overview.sgml b/doc/hackersguide/overview.sgml
index d405ac18c..18cc40396 100644
--- a/doc/hackersguide/overview.sgml
+++ b/doc/hackersguide/overview.sgml
@@ -201,7 +201,7 @@
<term><filename>libmad</filename> (imported)</term>
<listitem>
<para>
- Mpeg audio decoder plugin (i.e. mp2 and mp3 decoding).
+ Mpeg audio decoder plugin (i.e. mp2 and mp3 decoding).
ISO/IEC compliant decoder using fixed point math.
</para>
<para></para>
@@ -460,7 +460,7 @@
<para>
Contains various video output driver plugins. Video output drivers
are thin abstraction layers over various video output platforms
- (e.g. X11, directfb, directX,...). Video output driver plugins
+ (e.g. X11, directfb, directX, &hellip;). Video output driver plugins
provide functions like frame allocation and drawing and handle
stuff like hardware acceleration, scaling and colorspace conversion
if necessary. They do not handle a/v sync since this is done
@@ -497,7 +497,7 @@
<term><filename>xine-engine</filename></term>
<listitem>
<para>
- The heart of xine - it's engine. Contains code to
+ The heart of xine &ndash; its engine. Contains code to
load and handle all the plugins, the configuration repository
as well as the generic decoding loops and code for synchronized output.
A lot of helper functions for plugins to use live here as well.
@@ -529,7 +529,7 @@
<sect1>
<title>Object oriented programming in C</title>
<para>
- xine uses a lot of design principles normally found in
+ xine uses a lot of design principles normally found in
object oriented designs. As xine is written in C, a few
basic principles shall be explained here on how xine
is object oriented anyway.
@@ -561,7 +561,7 @@
&nbsp;&nbsp;&nbsp; my_stack_t stack; /* public part */
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; /* private part follows here */
-&nbsp;&nbsp;&nbsp; int values[MAX_STACK_SIZE];
+&nbsp;&nbsp;&nbsp; int values[MAX_STACK_SIZE];
&nbsp;&nbsp;&nbsp; int stack_size;
&nbsp;&nbsp;&nbsp;} intstack_t;</programlisting>
Each method is implemented as a static method (static to prevent
@@ -573,7 +573,7 @@
<programlisting>
&nbsp;&nbsp;&nbsp;static void push (my_stack_t *this_gen, int i) {
&nbsp;&nbsp;&nbsp; intstack_t *this = (intstack_t *)this_gen;
-&nbsp;&nbsp;&nbsp; this->values[MAX_STACK_SIZE - ++this->stack_size] = i;
+&nbsp;&nbsp;&nbsp; this-&gt;values[MAX_STACK_SIZE - ++this-&gt;stack_size] = i;
&nbsp;&nbsp;&nbsp;}</programlisting>
</para>
<para>
@@ -613,15 +613,15 @@
&nbsp;&nbsp;&nbsp; this = malloc(sizeof(intstack_t));
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; /* fill in methods */
-&nbsp;&nbsp;&nbsp; this->push = push;
-&nbsp;&nbsp;&nbsp; this->add = add;
-&nbsp;&nbsp;&nbsp; this->pop = pop;
+&nbsp;&nbsp;&nbsp; this-&gt;push = push;
+&nbsp;&nbsp;&nbsp; this-&gt;add = add;
+&nbsp;&nbsp;&nbsp; this-&gt;pop = pop;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; /* init data fields */
-&nbsp;&nbsp;&nbsp; this->stack_size = 0;
+&nbsp;&nbsp;&nbsp; this-&gt;stack_size = 0;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; /* return public part */
-&nbsp;&nbsp;&nbsp; return &amp;this->stack;
+&nbsp;&nbsp;&nbsp; return &amp;this-&gt;stack;
&nbsp;&nbsp;&nbsp;}</programlisting>
</para>
<sect2>
@@ -646,7 +646,7 @@
</para>
</sect2>
</sect1>
-
+
<sect1>
<title>Coding style and guidelines</title>
<para>
@@ -655,44 +655,44 @@
Contributions will not be rejected if they do not meet these
rules but they will be even more appreciated if they do.
<itemizedlist>
- <listitem>
+ <listitem>
<para>
Comment your interfaces directly in the header files.
No doxygen comments, ordinary C comments will do.
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
Use C-style comments (/* */), not C++-style (//).
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
When in doubt, use lower case. BTW: This thing is called xine, never Xine.
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
Use expressive variable and function identifiers on all public interfaces.
Use underscores to seperate words in identifiers, not uppercase
letters (my_function_name is ok, myFunctionName is not ok).
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
Avoid macros unless they are really useful. Avoid gotos.
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
use something like
- <programlisting>&nbsp;&nbsp;&nbsp;printf("module: ..."[,...]);</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;printf("module: ..."[,&hellip;]);</programlisting>
for console output. All console output goes to stdout and
must be prefixed by the module name which generates the
output (see example above).
</para>
</listitem>
- <listitem>
+ <listitem>
<para>
Refer to emac's C-mode for all questions of proper indentiation.
That first of all means: indent with two spaces.
@@ -701,7 +701,7 @@
</itemizedlist>
</para>
</sect1>
-
+
<sect1>
<title>The xine logging system</title>
<para>
@@ -714,7 +714,7 @@
<para>
Output which is done thru this function will be
displayed for the end user by the frontend.
- If <varname>xine->verbosity</varname> is not 0 the messages will also
+ If <varname>xine-&gt;verbosity</varname> is not 0 the messages will also
be displayed on the console. Ideally these strings
are translated.
This function is for information which the user should
@@ -727,7 +727,7 @@
<sect2>
<title>xprintf</title>
<para>
- This macro uses the <varname>xine->verbosity</varname> value to decide
+ This macro uses the <varname>xine-&gt;verbosity</varname> value to decide
if the string should be printed to the console. Possible
values are XINE_VERBOSITY_NONE, XINE_VERBOSITY_LOG or
XINE_VERBOSITY_DEBUG. By default nothing is printed.
@@ -806,6 +806,32 @@
working on other parts of the code or are simply busy at
the moment).
</para>
+ <para>
+ We prefer to receive patches in a format which is immediately
+ committable. This normally means that we want your name and email address
+ (we're not keen on pseudonyms), a subject line which provides a
+ convenient summary of your changes, and body text which provides a longer
+ description (if needed). Patches must be generated using <command>hg
+ diff</command> or <command>cvs -z9 diff</command>, depending on which is
+ used for the repository, and always from within the top level of the
+ checked-out source.
+ </para>
+ <para>
+ If your patch is intended for a Mercurial-format repository, then
+ committing it locally and using
+ <command>hg export <parameter>.</parameter> &gt;<filename>foo.patch</filename></command>
+ to create the file to be attached is acceptable (but note that the first
+ line &ndash; up to the first line feed &ndash; of the commit message is regarded as
+ the patch summary; if you're not sure, check with
+ <command>hg log -r<parameter>.</parameter></command>.
+ Alternatively, use <token>From:</token> and <token>Subject:</token> lines
+ in the patch file itself; this is useful when forwarding.
+ </para>
+ <para>
+ Patches should normally be included as attachments. Some mail clients and
+ webmail services are known to mangle whitespace or wrap lines, either of
+ which is enough to render a patch potentially useless.
+ </para>
</sect1>
</chapter>
diff --git a/doc/hackersguide/post_frame.fig b/doc/hackersguide/post_frame.fig
index 4f576abdd..efafa31d5 100644
--- a/doc/hackersguide/post_frame.fig
+++ b/doc/hackersguide/post_frame.fig
@@ -2,7 +2,7 @@
Landscape
Center
Metric
-A4
+A4
100.00
Single
-2
diff --git a/doc/hackersguide/stream.sgml b/doc/hackersguide/stream.sgml
index d05bbba65..b9690d9fe 100644
--- a/doc/hackersguide/stream.sgml
+++ b/doc/hackersguide/stream.sgml
@@ -1,11 +1,11 @@
<chapter id="stream">
<title>xine's stream layer</title>
-
+
<sect1>
<title>Input layer</title>
<para>
Many media players expect streams to be stored within files on
- some local medium. In actual fact, media may be streamed over a
+ some local medium. In actual fact, media may be streamed over a
network (e.g. via HTTP or RTP), encoded onto a specialized medium
(e.g. DVD), etc. To allow you to access all this media, xine supports
the concept of an "input plugin". The tasks performed by an
@@ -156,7 +156,7 @@
<para>
xine's demuxer layer is responsible for taking apart multimedia files or
streams so that the engine can decode them and present them to the user.
- "Demuxer" is short for demultiplexor, which is the opposite of
+ "Demuxer" is short for demultiplexor, which is the opposite of
multiplexing. This refers to the process of combining 2 or more things
into one. Multimedia streams usually, at a minimum, multiplex an audio
stream and a video stream together into one stream. Sometimes, there are
@@ -329,7 +329,7 @@
<programlisting>&nbsp;&nbsp;&nbsp;void demux_send_headers(demux_plugin_t *this_gen);</programlisting>
This function generally reads the headers of the stream, does whatever it
has to do to figure out what audio and video codecs are used in the file,
- and asks the xine engine to initialize the correct decoders with the
+ and asks the xine engine to initialize the correct decoders with the
proper parameters (like width and height for video, sample rate and
channels for audio).
</para>
@@ -392,9 +392,9 @@
<programlisting>
&nbsp;&nbsp;&nbsp;buf_element_t *buf;
&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;buf = stream->video_fifo->buffer_pool_alloc(stream->video_fifo);
-&nbsp;&nbsp;&nbsp;buf->type = BUF_CONTROL_START;
-&nbsp;&nbsp;&nbsp;stream->video_fifo->put(stream->video_fifo, buf);</programlisting>
+&nbsp;&nbsp;&nbsp;buf = stream-&gt;video_fifo-&gt;buffer_pool_alloc(stream-&gt;video_fifo);
+&nbsp;&nbsp;&nbsp;buf-&gt;type = BUF_CONTROL_START;
+&nbsp;&nbsp;&nbsp;stream-&gt;video_fifo-&gt;put(stream-&gt;video_fifo, buf);</programlisting>
<para>
Buffers must have set the <varname>type</varname> field as shown. All buffer types are
defined in <filename>xine-engine/buffer.h</filename>.
@@ -410,7 +410,7 @@
To help finding out buffer types for known codecs, functions from <filename>buffer_types.c</filename>
may be used to convert "FOURCC" codes or audio format tags (as used in AVI files) to the xine
byffer type:
- <programlisting>&nbsp;&nbsp;&nbsp;buf->type = fourcc_to_buf_video((void*)this->avi->bih.biCompression);</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;buf-&gt;type = fourcc_to_buf_video((void*)this-&gt;avi-&gt;bih.biCompression);</programlisting>
</para>
</sect2>
</sect1>
@@ -620,7 +620,7 @@
video, subtitles do not form a continuous stream. The decoder will therefore
only be called once in a while. The metronom call for timestamping,
which for audio and video is done by the engine, has to be done manually for SPU:
- <programlisting>&nbsp;&nbsp;&nbsp;vpts = metronom->got_spu_packet(metronom, buf->pts);</programlisting>
+ <programlisting>&nbsp;&nbsp;&nbsp;vpts = metronom-&gt;got_spu_packet(metronom, buf-&gt;pts);</programlisting>
</para>
<para>
Another difference is that while both audio and video decoders are automatically
diff --git a/doc/internal/HOWTO.release b/doc/internal/HOWTO.release
index 2128ca391..2e2adff94 100644
--- a/doc/internal/HOWTO.release
+++ b/doc/internal/HOWTO.release
@@ -59,7 +59,7 @@ Currently, best practice to get a release out looks like this:
which the subminor releases like 1.0.1, 1.0.2,... are made and an
unstable branch in CVS head, which is going to become the next minor
(1.1) or major (2.0) xine-lib version.
-
+
Make sure you know
- what the new release should be called
(the "marketing version" part of the tarball name, for example)
@@ -88,11 +88,11 @@ Currently, best practice to get a release out looks like this:
- does it have the right name?
- does it unpack, compile and install correctly?
note: make sure to build with as many features as possible
- on a Debian box, "apt-get build-dep xine-lib" and
+ on a Debian box, "apt-get build-dep xine-lib" and
"dpkg-buildpackage -rfakeroot" are a good way to do that
- test the candidate (and make sure you are running exactly the new
version!) This should at least cover the [standard test parcours]
-
+
If you find any errors: fix them (get help on xine-devel or #xine)
and go back to step 4)
@@ -127,15 +127,19 @@ hands.
(also make sure it gets immediately approved by the xine-announce
moderator!)
-12) write the announcement for xinehq:
- You need to login on xinehq and use your admin privileges to create a
- news article in the "New Releases" section. Include a link to the
- SourceForge Release notes/Changelog page and one to the download page.
+12) write the announcement for xine-project.org:
+ You need to have an account on alioth.debian.org and a checked-out copy
+ of ssh://hg.debian.org//hg/xine-lib/xine-project-www/ (using Mercurial).
+ Add the new news item near the top of pages/news/items.xml (use the
+ provided template), run update.sh (requires xsltproc; if this fails,
+ re-edit), check that it looks fine in a convenient browser, then commit
+ and push the change. At present, you will need to request a web site
+ update via #xine on irc.oftc.net or by contacting a site admin.
+
+ You should include a link to the SourceForge Release notes/Changelog
+ page and one to the download page.
- Warning: triple-check that you get the HTML correct! If you have
- unmatched quotes, you might break the whole website so that it
- can only be repaired by manually fiddling with mysql to get the
- HTML right!
+ Warning: triple-check that you get the XML correct!
13) write the Freshmeat announcement:
use your freshmeat account to log into their website, if you aren't
diff --git a/doc/man/en/Makefile.am b/doc/man/en/Makefile.am
index ee0296033..c8d616c35 100644
--- a/doc/man/en/Makefile.am
+++ b/doc/man/en/Makefile.am
@@ -1,5 +1,13 @@
include $(top_srcdir)/misc/Makefile.common
-man_MANS = xine-config.1 xine.5
+STATICMANS = xine-config.1 xine.5
+DYNAMICMANS = xine-list-@XINE_SERIES@.1
-EXTRA_DIST = $(man_MANS)
+man_MANS = $(STATICMANS) $(DYNAMICMANS)
+
+BUILT_SOURCES = $(DYNAMICMANS)
+DISTCLEANFILES = $(DYNAMICMANS)
+EXTRA_DIST = $(STATICMANS) xine-list.1.in
+
+xine-list-@XINE_SERIES@.1: xine-list.1.in
+ $(SED) -e 's/@XL@/xine\-list\-@XINE_SERIES@/' $< >$@
diff --git a/doc/man/en/xine-config.1 b/doc/man/en/xine-config.1
index 0a2d8bcc6..3fe828166 100644
--- a/doc/man/en/xine-config.1
+++ b/doc/man/en/xine-config.1
@@ -1,12 +1,19 @@
+.de TQ
+.br
+.ns
+.TP \\$1
+..
.TH XINE 1 2001-08-28 "The xine project"
.SH NAME
-xine-config - script to get information about the installed version of libxine
+xine\-config - script to get information about the installed version of libxine
.SH SYNOPSIS
-.B xine-config
-[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags] [\-\-plugindir] [\-\-skindir]
+.B xine\-config
+[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version]
+[\-\-libs] [\-\-cflags] [\-\-objcflags]
+[\-\-plugindir] [\-\-datadir] [\-\-scriptdir] [\-\-localedir]
.SH DESCRIPTION
.PP
-\fIxine-config\fP is a tool that is used to determine
+\fIxine\-config\fP is a tool that is used to determine
the compiler and linker flags that should be used to compile
and link programs that use \fIlibxine\fP. It can also be used to determine
the directories where \fIlibxine\fP expects plugins and skins.
@@ -14,8 +21,7 @@ Finally, it's also used internally
by the .m4 macros for GNU autoconf that are included with \fIxine-lib\fP.
.
.SH OPTIONS
-.l
-\fIxine-config\fP accepts the following options:
+\fIxine\-config\fP accepts the following options:
.TP 8
.B \-\-version
Print the currently installed version of \fIlibxine\fP on the standard output.
@@ -24,14 +30,22 @@ Print the currently installed version of \fIlibxine\fP on the standard output.
Print the linker flags that are necessary to link \fIlibxine\fP to a program.
.TP 8
.B \-\-cflags
-Print the compiler flags that are necessary to compile a program that uses
-\fIlibxine\fP.
+.TQ 8
+.B \-\-objcflags
+Print the compiler flags (for C and Objective C, respectively) that are
+necessary to compile a program that uses \fIlibxine\fP.
.TP 8
+.B \-\-bindir
+.TQ 8
.B \-\-plugindir
-Print the directory where \fIlibxine\fP plugins are stored/expected.
-.TP 8
-.B \-\-skindir
-Print the directory in which \fIlibxine\fP skins are stored/expected.
+.TQ 8
+.B \-\-datadir
+.TQ 8
+.B \-\-scriptdir
+.TQ 8
+.B \-\-localedir
+Print the directory where, respectively, \fIlibxine\fP binaries, plugins,
+data files, scripts and locale data are stored/expected.
.TP 8
.B \-\-prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that \fIxine-lib\fP
@@ -49,8 +63,8 @@ and \-\-libs options. This option must be specified before any
.BR xine-lib (3),
.BR xine (1)
.SH COPYRIGHT
-Copyright \(co 2001 Siggi Langauf/the xine project, based on the man page
-for gtk-config, \(co 1998 Owen Taylor
+Copyright \(co 2001 Siggi Langauf, \(co 2001-2008 the xine project.
+Based on the man page for gtk-config, \(co 1998 Owen Taylor.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
diff --git a/doc/man/en/xine-list.1.in b/doc/man/en/xine-list.1.in
new file mode 100644
index 000000000..558b44df0
--- /dev/null
+++ b/doc/man/en/xine-list.1.in
@@ -0,0 +1,39 @@
+.TH XINE 1 2001-08-28 "The xine project"
+.SH NAME
+@XL@ - get supported filetype information from xine-lib
+.SH SYNOPSIS
+.B @XL@
+[\fPoptions...\fI]
+.SH DESCRIPTION
+.PP
+\fI@XL@\fP is a tool that is used to list the MIME type and filename
+extension information known and supported by the installed \fIxine-lib\fP.
+It is of use in filling in MIME information in front ends' desktop files.
+.
+.SH OPTIONS
+\fI@XL@\fP accepts the following options:
+.TP 8
+.B \-m
+.B \-\-mime\-types
+List the MIME types known to \fIxine-lib\fP. (This is the default action.)
+.TP 8
+.B \-e
+.B \-\-extensions
+List the file types (filename extensions) known to \fIxine-lib\fP.
+.TP 8
+.B \-a
+.B \-\-all
+List the MIME types known to \fIxine-lib\fP, along with their filename
+extensions and descriptions.
+.TP 8
+.B \-p
+.B \-\-pretty\-print
+Add line feeds; print each item on a line of its own.
+.SH COPYRIGHT
+Copyright \(co 2008 the xine project.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted, provided
+that the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
diff --git a/doc/man/en/xine.5 b/doc/man/en/xine.5
index 7a9357640..195fb1596 100644
--- a/doc/man/en/xine.5
+++ b/doc/man/en/xine.5
@@ -32,60 +32,73 @@ to read from. Valid MRLs may be plain file names or one of the following
.TP
\(bu CD and DVD:
.br
-.BI dvd:/[<device_name>][/<title>.<part>]
+.BI dvd:/[ device_name ][/ title [. part ]]
.br
-.BI dvd:/<DVD_image_file_or_directory>[/<title>.<part>]
+.BI dvd:/ DVD_image_file [/ title [. part ]]
.br
-.BI vcd://[<CD_image>|<device_name>][@[letter]<number>]
+.BI dvd:/ DVD_directory [/ title [. part ]]
.br
-.BI vcdo://<track_number>
+ (use the path of the directory which contains VIDEO_TS)
.br
-.BI cdda:/[<device>][/<track-number>]
+.BI vcd://[ CD_image_or_device_name ][@[ letter ] number ]
+.br
+.BI vcdo:// track_number
+.br
+.BI cdda:/[ device ][/ track_number ]
.LP
.TP
\(bu Video devices:
.br
-.BI v4l://[<tuner_device>/<frequency>]
+.BI v4l://[ tuner_device / frequency ]
+.br
+.BI dvb:// channel_number
+.br
+ (nth channel in your channels.conf)
+.br
+.BI dvb:// channel_name
.br
-.BI dvb://<number_or_channel_name>
+.BI dvbc:// channel_name : tuning_parameters
.br
-.BI dvbc://<channel_name>:<tuning_parameters>
+.BI dvbs:// channel_name : tuning_parameters
.br
-.BI dvbs://<channel_name>:<tuning_parameters>
+.BI dvbt:// channel_name : tuning_parameters
.br
-.BI dvbt://<channel_name>:<tuning_parameters>
+.BI dvba:// channel_name : tuning_parameters
.br
-.BI dvba://<channel_name>:<tuning_parameters>
+.BI pvr:/ tmp_files_path ! saved_files_path ! max_page_age
.br
-.BR pvr:/<tmp_files_path>!<saved_files_path>!<max_page_age> " (for WinTV PVR 250 and 350)"
+ (for WinTV PVR 250 and 350)
.LP
.TP
\(bu Network:
.br
-.BI http://<host>...
+.BI http:// host...
.br
-.BR tcp://<host>[:<port>] " (default port is 7658)"
+.BI tcp:// host [: port ]
.br
-.BR udp://<host>[:<port>[?iface=<interface>]] " (default port is 7658)"
+.BI udp:// host [: port [?iface= interface ]]
.br
-.BR rtp://<host>[:<port>[?iface=<interface>]] " (default port is 7658)"
+.BI rtp:// host [: port [?iface= interface ]]
+.br
+ (default port for tcp, udp and rtp is 7658)
.br
.BI smb://...
.br
-.BI mms://<host>...
+.BI mms:// host...
.br
-.BI pnm://<host>...
+.BI pnm:// host...
.br
-.BR rtsp://<host>... " (requires Real codecs)"
+.BI rtsp:// host... "\fR (requires Real codecs)"
.br
.LP
Additional input plugins will provide additional MRL types. The ones listed
above are available with stock libxine.
\fBNOTE:\fP where a file name is required, the \fIfull path must be
-provided\fP - from a shell, you can use \fB"$PWD/file"\fP or
+provided\fP - from a shell, you can normally use \fB"$PWD/file"\fP or
\fB"$(pwd)/file"\fP or \fB"\`pwd\`/file"\fP if the file is in the current
-directory. (Which one depends on your shell; all three work in bash.)
+directory. (Which one depends on your shell; all three work in bash. Also,
+normal URL encoding rules apply; `%', in particular, must be encoded as `%25'.)
As of xine-lib 1.1.3, the DVD title number may be 0 (select navigation) and
the chapter number may be 0 (full title).
@@ -256,6 +269,23 @@ audio program ID
.TP 20
.B service-id
service ID (needed for now/next information etc.)
+.PP
+The following keyboard & mouse inputs may be accepted:
+.TP 24
+.B Menu 2
+Start/stop recording
+.TP 24
+.B Menu 3
+Toggle zoom
+.TP 24
+.B Menu 7
+Toggle now/next display
+.TP 24
+.B Previous/Next Chapter
+Previous/next channel
+.TP 24
+.B Mouse wheel & button 1
+Scroll through channel list & select the highlighted channel
.SH SUBTITLE
.B external subtitle files (any mrl)
.br
@@ -263,7 +293,12 @@ Text subtitle files may be appended to the MRL:.
.TP
.BI <mrl>#subtitle:<subtitlefile>
This is the normal way to define the subtitle file to use. The frontend will
-not take any notice of the subtitle file.
+not take any notice of the subtitle file. For example:
+.br
+.I file://home/user/wibble.mpg#subtitle:/home/user/wibble.sub
+.br
+(Note that some front ends can detect subtitles files where the name differs
+as shown in the example.)
.br
.SH STREAM OPTIONS
.br
@@ -290,6 +325,10 @@ Set audio dynamic range compression.
.BI <config\ entry> : <config\ value>
Assign a new value to any config entry.
.TP
+.BI save: <file>
+Save the stream (if allowed) to the named file, relative to the directory
+given by the option "media.capture.save_dir".
+.TP
.B change configuration option 'on the fly':
.br
You can change a configuration option at any time, using the special
@@ -307,8 +346,8 @@ stream.
.br
The programs are documented fully on the xine home page:
-.UR http://xinehq.de/
-.IR "http://xinehq.de/"
+.UR http://www.xine-project.org/
+.IR "http://www.xine-project.org/"
.UE
.SH AUTHOR
This text was extracted from the xine man page by Darren Salt