Template:Xine/common: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(Add some EPG-related info.)
(some layout, add analogue info)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Usage==
==Installation ==
'''Install the package'''<BR>
In [http://www.debian.org/ Debian GNU/Linux] and Debian-derived distributions such as [http://www.ubuntu.com/ Ubuntu], install with one of these commands:
Instructions on doing so will vary by distribution. For example, with [http://www.debian.org/ Debian GNU/Linux] and Debian-derived distributions (such as [http://www.ubuntu.com/ Ubuntu]), one can install from the GNOME desktop using Synaptic or from the command-line with one of these commands:
aptitude install {{{frontend}}}
aptitude install {{{frontend}}}
apt-get install {{{frontend}}}
apt-get install {{{frontend}}}

Then create the channels list using the [[scan]] utility from the [[LinuxTV dvb-apps]]:
==Analogue TV==
mkdir ~/.xine
Requires the v4l2 input plugin (?)
scan ''/path/to/initial/tuning/file'' >~/.xine/channels.conf

Now start up {{{frontend}}} and open the DVB card:
===Usage===
{{{frontend}}} dvb://
xine v4l://dev/video0
You should now see a broadcast TV channel.

==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 <tt>/usr/share/dvb</tt>; if there's no suitable file for a transmitter near you, you should use <tt>[[w_scan]] -X</tt> 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}}}
{{{frontend_specific}}}
Line 14: Line 32:
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}}}).
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==
===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 [[User:Deadfly|Deadfly]] missed something.
* 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 [[User:Deadfly|Deadfly]] missed something.
* xine-lib 1.2 will follow the [http://standards.freedesktop.org/basedir-spec/latest/ XDG Base Directory Specification]; by default, it will use <tt>~/.config/xine-lib/channels.conf</tt>.
* xine-lib 1.2 will follow the [http://standards.freedesktop.org/basedir-spec/latest/ XDG Base Directory Specification]; by default, it will use <tt>~/.config/xine-lib/channels.conf</tt>.
Line 20: Line 38:
==External Links==
==External Links==
* [http://hg.debian.org/hg/xine-lib/xine-lib?f=-1;file=doc/README.dvb;style=gitweb xine Digital TV (DVB)] - HOWTO use xine for DVB
* [http://hg.debian.org/hg/xine-lib/xine-lib?f=-1;file=doc/README.dvb;style=gitweb xine Digital TV (DVB)] - HOWTO use xine for DVB
* [http://xinehq.de/ Official xine homepage]
* [http://www.xine-project.org/ Official xine homepage]
** [http://www.xine-project.org/features xine features]

Latest revision as of 21:33, 28 September 2011

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