Difference between revisions of "Install mythtv"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | MythTV is a [[program]] to [[watch TV under Linux]]. Here is how to configure it with a Hauppauge PVR USB2 tuner and SUSE Linux | |
+ | = mysql = | ||
+ | [[yast]] -i [[mysql]] | ||
+ | /etc/init.d/mysql start | ||
+ | |||
+ | mysql> create database mythconverg; | ||
+ | Query OK, 1 row affected (0.00 sec) | ||
+ | mysql> use mythconverg | ||
+ | Database changed | ||
+ | mysql> grant all privileges on mythconverg.* to mythtv; | ||
+ | Query OK, 0 rows affected (0.00 sec) | ||
+ | |||
+ | mysql> exit | ||
+ | Bye | ||
+ | Check that the user mythtv can log in to mysql: | ||
+ | mysql --user=mythtv --password=mythtv | ||
+ | Welcome to the MySQL monitor. Commands end with ; or \g. | ||
+ | Your MySQL connection id is 21 | ||
+ | Server version: 5.0.51a-Max SUSE MySQL RPM | ||
+ | |||
+ | = Setup mythtv = | ||
* mythtv-setup | * mythtv-setup | ||
− | ** General: keep settings as they are, set 0000 as PIN (completely useless). | + | ** General: keep settings as they are, set 0000 as PIN (completely useless). Set your TV format like PAL or NTSC. Set your frequency table like europe-west. |
− | ** capture cards: make sure you choose MPEG-2 encoder card. Exit with ESCAPE. | + | ** capture cards: make sure you choose MPEG-2 encoder card. Tell mythtv your video device, e.g. /dev/video0. Make sure in the end you see [ MPEG: /dev/video0 ]. Exit with ESCAPE. |
** Video sources: choose "no grabber". Call it jj. | ** Video sources: choose "no grabber". Call it jj. | ||
** Input connections: make sure [ MPEG : /dev/video0 ] (television) -> jj appears. Exit with ESCAPE | ** Input connections: make sure [ MPEG : /dev/video0 ] (television) -> jj appears. Exit with ESCAPE | ||
Line 9: | Line 29: | ||
* mythfillbackend | * mythfillbackend | ||
* mythbackend | * mythbackend | ||
− | * mythtv | + | Call mythtv's backend so that it runs in the background: |
+ | mythbackend & | ||
+ | * Start mythtv | ||
+ | mythfrontend | ||
+ | |||
+ | = Reset mythtv = | ||
+ | To reset mythtv, do: | ||
+ | rm -rf .mythtv | ||
+ | mysql --user=root | ||
+ | drop database mythtvconverg; | ||
= See also = | = See also = | ||
+ | * [[watch tv]] | ||
* https://help.ubuntu.com/community/InstallMythOnUbuntu | * https://help.ubuntu.com/community/InstallMythOnUbuntu | ||
* http://wiki.linuxquestions.org/wiki/MythTV#Debian_Based_Systems | * http://wiki.linuxquestions.org/wiki/MythTV#Debian_Based_Systems | ||
* http://wiki.linuxquestions.org/wiki/MythTV_-_Ubuntu_Installation_Guide | * http://wiki.linuxquestions.org/wiki/MythTV_-_Ubuntu_Installation_Guide | ||
* http://www.mythtv.org/modules.php?name=MythInstall | * http://www.mythtv.org/modules.php?name=MythInstall | ||
+ | * http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions | ||
+ | * http://mythtv.org/docs/mythtv-HOWTO.html |
Latest revision as of 17:07, 10 December 2011
MythTV is a program to watch TV under Linux. Here is how to configure it with a Hauppauge PVR USB2 tuner and SUSE Linux
Contents
mysql
yast -i mysql /etc/init.d/mysql start
mysql> create database mythconverg; Query OK, 1 row affected (0.00 sec) mysql> use mythconverg Database changed mysql> grant all privileges on mythconverg.* to mythtv; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye
Check that the user mythtv can log in to mysql:
mysql --user=mythtv --password=mythtv Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 21 Server version: 5.0.51a-Max SUSE MySQL RPM
Setup mythtv
- mythtv-setup
- General: keep settings as they are, set 0000 as PIN (completely useless). Set your TV format like PAL or NTSC. Set your frequency table like europe-west.
- capture cards: make sure you choose MPEG-2 encoder card. Tell mythtv your video device, e.g. /dev/video0. Make sure in the end you see [ MPEG: /dev/video0 ]. Exit with ESCAPE.
- Video sources: choose "no grabber". Call it jj.
- Input connections: make sure [ MPEG : /dev/video0 ] (television) -> jj appears. Exit with ESCAPE
- Channel editor -> Channel scanner -> europe-west (provided you are in western europe)
- mythfillbackend
- mythbackend
Call mythtv's backend so that it runs in the background:
mythbackend &
- Start mythtv
mythfrontend
Reset mythtv
To reset mythtv, do:
rm -rf .mythtv mysql --user=root drop database mythtvconverg;
See also
- watch tv
- https://help.ubuntu.com/community/InstallMythOnUbuntu
- http://wiki.linuxquestions.org/wiki/MythTV#Debian_Based_Systems
- http://wiki.linuxquestions.org/wiki/MythTV_-_Ubuntu_Installation_Guide
- http://www.mythtv.org/modules.php?name=MythInstall
- http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
- http://mythtv.org/docs/mythtv-HOWTO.html