Difference between revisions of "Template:Xine/common"

From LinuxTVWiki
Jump to: navigation, search
m (Mutter, grumble, EEXIST, "how do I remove it"…)
(some layout, add analogue info)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Installation and Channel Setup==
+
==Installation ==
'''1. Install the package'''<BR>
+
'''Install the package'''<BR>
 
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:
 
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}}}
'''2. Channel Setup '''<BR>
+
 
Next, create the channels list using the [[scan]] utility from the [[LinuxTV dvb-apps]]:
+
==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
 
   mkdir -p ~/.xine
 
   scan ''/path_to/initial_tuning_file'' >~/.xine/channels.conf
 
   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, you should use <tt>[[w_scan]] -X</tt> instead.
+
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==
+
===Usage===
 
Now start up {{{frontend}}} and choose DVB from the menu. Alternatively, you may accomplish this on the command line with:
 
Now start up {{{frontend}}} and choose DVB from the menu. Alternatively, you may accomplish this on the command line with:
 
  {{{frontend}}} dvb://
 
  {{{frontend}}} dvb://
You should now see a broadcast TV channel.
+
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 19: 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 26: Line 39:
 
* [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://www.xine-project.org/ 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