The XdTV RC File explained:

fine = n
finetuning (what left+right keys do), default: 0

norm = pal | ntsc | secam
which TV norm, default is pal

key = keysym
Hotkey for the channel. All X11 keysyms allowed here. You can prefix
a keysym with Modifier+, i.e. ^F is "Ctrl+F".

capture = off | overlay | grabdisplay
capture mode: off, overlay (default, TV card => video, 0% cpu) or
grabdisplay (TV card => main memory => X-Server => video, frame rate
depends on load and picture size).

source = Television | Composite1 | Composite3 | SVHS
input source

color = n
bright = n
hue = n
contrast = n
Valid range is 0-65535, default is 32768

deinterlace = none | bob | weave | greedy | onefield
deinterlace function applied to the image

subpage = val (different from 888)
Allow save an default subtitle page that will be used at
every "show subtitles" use.

The following global options are allowed before the first station only.
They may be superseeded by individual channel options:

norm = pal | ntsc | secam
which TV norm, default is SECAM

capture = off | overlay | grabdisplay
capture mode: off, overlay (TV card => video, 0% cpu) or
grabdisplay (default TV card => main memory => X-Server => video, frame rate
depends on load and picture size).

source = Television | Composite1 | Composite1 | SVHS
input source

colorkey = value
If Xvideo is enabled, assigns value to colorkey.

fullscreen = width x height
specify which video mode should be used for full-screen.  Works with
X11 only, and of cource you need a valid modeline for this mode in
your X11 RC file.

fullscreen_mode = on|off
Choose the method you want when fullscreen is launched.

windowsize = width x height
specify the startup size of the TV window. Overrides what has been
specified in the XdTV.ad resource file.

wm-off-by = [+-]x[+-]y
Some WM's handle static gravity not correct (I know mwm and
kwm).  This is somewhat boring with fullscreen mode.  With this
options you can correct this with a displacement for moving
windows.  For example, wm-off-by = -4-24 does the trick for kwm (the
KDE window manager).

subpage = val (default = 888)
Allow save an default subtitle page that will be used at
every "show subtitles" use.

freqtab =
select a channel-to-freqency mapping.  Options window->Frequency table
brings up a menu with all valid entries (and allows table-switching at
runtime).

pixsize = width x height
size of the channel pixmaps (within Channels window).  0x0 disables this
feature.

mixer_tvchan = device
This allows to control volume using the sound card mixer. device is
*not* /dev/mixer (which is set by mixer_dev),
but the name of the sound source (line1 for me, just
take one of the mixer programs floating around and try which is the tv
card...).
Volume-control works with the keypad: + is up, - is down, Enter is
mute.

mixer_dev = xxx | mixer_pcmchan = xxx | audio_dev = xxx
Advanced mixer/audio parameter, see section OPTIONS for explications

restoresnd = on|off
indicates if XdTV restores the initial sound settings on exit. (default=off, works only with alsa)

vop_autograb = on|off
automatically enter in grabdisplay mode when a vop is activated (default=on)

subtitles = on|off
Subtitles activation at startup.

capture_size = val (default = 768 x 576)
Sets the width and height of the grabbed frames;

blackborder = nr (default = 0)
set height of the black borders (as -ybar option)

xawpopup = val (default = on)
To disable/enable xawpopup

message_timer = val (default = 5000)
Choose how long a title is displayed on screen.

decoration = on|off
Decoration activation at startup.

stayontop = on|off
Stay on Top activation at startup.

xvport = number
Xvideo Image port (similar to -xvport option).

grab_filepath = val (default = $HOME)
Choose the path where grab images are saved.

jpeg_compression = val (default = 75)
Choose the compression percentage for a jpeg grab image.

xosd = on|off
Xosd activation at startup.

xosd_main_color = val (default = lawngreen)
Choose the xosd main text color.

xosd_outline_color = val (default = black)
Choose the xosd outline text color.

xosd_outline_offset = val (default = 0)
Choose the size of the outline color

xosd_shadow_offset = val (default = 0)
choose the size of shadow behind the text

xosd_main_font = val (default = -*-bitstream vera sans mono-*-*-*-*-*-240-*-*-*-*-*-*)
Choose the xosd main text font.

xosd_vtx_font = val (default = -*-bitstream vera sans mono-*-*-*-*-*-180-*-*-*-*-*-*)
Choose the xosd teletext font.

codec = DivX | FFMPEG - Mpeg4 | FFMPEG - Mpeg1Video | FFMPEG - Huffyuv | XviD (default = XviD)
Choose the video codec you want to use for recording.

width = val (default = 384) 32 to 768 (modulo 32)
Video width that will be recorded.

height = val (default = 288) 16 to 576 (modulo 16)
Video height that will be recorded.

bitrate = val (default = 800) in Kbit/s 1 to 10000 (modulo 1)
Video bitrate in kbits/s.

quality =
for DivX: Fastest | Fast | Medium | Slow | Slowest
for FFMPEG codecs: none | log | phods | EPZS | full | X1
for XviD: H623, No ME | MPEG, Low | H623, Low | H623, Medium |
H623, High | Very High | Ultra High Video quality level.

stereo_mode = off | on (default=off)
Choose the audio recording mode: mono or stereo.

compress_audio = on | off (default = on)
Activate / desactivate the Sound compression mode during recording.

mp3_bitrate = val (default = 128) 16 to 512 (modulo 16)
If you select CBR, this parameter help you to choose the constant
MP3 Audio bitrate (kbits/s)

mp3_quality = val (default = 5) 1 to 9 (modulo 1)
MP3 quality level.

mp3_vbr_mode = on | off (default =off)
Activate / desactivate the "Variable BitRate" for MP3 Audio recording.

mp3_vbr_quality = val (default = 8) 1 to 8 (modulo 1)
If the MP3 VBR mode is selected, you can choose its quality level.

fps = fps (default = 25) 1 to 30 (modulo 1)
Frame per second. This parameter could be modify to synchronize sound
and audio if there is such problems on your AVI file.

max_gap = val (default = 80) 1 to 500 ms (modulo 1)
Max.gap possible between sound and audio in an AVI file.
This parameter could be modify to synchronize sound and audio
if there is such problems on your AVI file.

min_quantizer = val (default = 2) 1 to 64 modulo 1
Quantizer minimum: Smaller the quantizer is, higher the quality will be.
These parameters help us to modify quality during the recording.
If we want a stable quality we have to fix MIN equal to MAX.

max_quantizer = val (default = 8) 1 to 64 modulo 1
Quantizer maximum: The higher the quantizer is, the smaller the
quality will be. These parameters help us to modify quality
during the recording. If we want a stable quality we have to
fix MIN equal to MAX.

audio_buffer_size = val (default = 1764) 441 to 65535 modulo 441
Sound buffer size used during the recording.

divx_path = path (default = $HOME or the folder where XdTV is launched)
Choose a folder where you want to record the avi file.

display_frame = on | off (default = on)
Display frames on screen during the recording.

record_sub = on | off (default = off)
Allow ot not recording a subtitle file during an AVI recording

record_chg = on | off (default = off)
Allow or not changing TV channel during an AVI recording

record_delay = val (default = 0,000000)
set recording delay between audio and video in seconds

streaming_mode = on | off (default = off)
enables http export of the recording
(XdTV will act as a http stream server)

streaming_http_port = val (default = 63427)
set the port of the http stream

preview_player = val (default = mplayer -nofs -quiet -nosound)
If you have launched a record, it's possible to preview it.
Choose the player you want to use to do that. You can also use
xdtv -avinoaudioout -avi

alevt_defaultpage = val (default = 100)
Choose the default teletext page. If you write 100 200 300
that will launch 3 differents alevt window with 100, 200 and 300
as default pages.

alevt_finetune_mode = none | auto | manual
Choose the best method to capture teletext signal.

alevt_finetune = val (default = 1)
If alevt_finetune_mode = manual, this value is used to fine tune
the teletext signal.

alevt_error_reduction = yes|no (default = yes)
If there is some noise on teletext signal, this activate
an algorithm to reduce errors.

alevt_error_bell = yes|no (default = yes)
Activation of the bell when some errors appear.
alevt_charset = latin-1 | latin-2 | koi8-r | iso8859-7 (default = latin-1)

Eventmap:
    lirc-key-A = the_command
    repeat = n

    This will map key A on your remote with the_command (check xdtv_cmd)
    repeat = n tells the program what shall happen if a key is repeated. A
    value of zero tells the program to ignore repeated keys. Any other positive
    value 'n' tells the program to pass the command every 'n'-th time, when
    a key is repeated.

 
Copyright (c) 2002 Keuleu - Pingus - BlindMan
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation;
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
A copy of the license is included in the section entitled "GNU
Free Documentation License".