Template:Xine/common

From LinuxTVWiki
Revision as of 21:33, 28 September 2011 by CityK (talk | contribs) (some layout, add analogue info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

Install the package
Instructions on doing so will vary by distribution. For example, with Debian GNU/Linux and Debian-derived distributions (such as Ubuntu), one can install from the GNOME desktop using Synaptic or from the command-line with one of these commands:

 aptitude install {{{frontend}}}
 apt-get install {{{frontend}}}

Analogue TV

Requires the v4l2 input plugin (?)

Usage

xine v4l://dev/video0

Digital TV

Channel Setup

Create a channels list using the scan utility from the LinuxTV dvb-apps:

 mkdir -p ~/.xine
 scan /path_to/initial_tuning_file >~/.xine/channels.conf

The initial tuning files are typically stored in /usr/share/dvb; if there's no suitable file for a transmitter near you, you should use w_scan -X instead.

Usage

Now start up {{{frontend}}} and choose DVB from the menu. Alternatively, you may accomplish this on the command line with:

{{{frontend}}} dvb://

You should now see the first channel on your channels.conf list. If you want to always load the first channel on the list at startup, edit the following lines of the config file under /home/username/.xine/ :

# Remember last DVB channel watched
# bool, default: 1
media.dvb.remember_channel:0

{{{frontend_specific}}}

Methods of changing channel other than the previous/next keys will cause a channel list to be displayed; this will display some now/next information, depending on what's been received on the current multiplex and any previously visited (this information is not remembered when you quit {{{frontend}}}).

Notes

  • Xine appears to only tune DVB-S channels via the channels.conf file if you are using a Universal type lnbf. That is one with an LO: 9750/10600. C-Band LO: 5150 and Ku band LO:10750 commonly used in North America seem to be unsupported as yet unless Deadfly missed something.
  • xine-lib 1.2 will follow the XDG Base Directory Specification; by default, it will use ~/.config/xine-lib/channels.conf.

External Links