Installation of MythTV 0.19
From Erlands Wiki
Installation
We will start by installing the 0.19 version of Myth available as a pre-compiled package for Ubuntu. The reason for this is to simplify the SVN installation later. The Ubuntu package will for example create a database, create a mythtv user install a /etc/init.d script and som other stuff. To install the latest 0.19 version do as follows:
- 1. sudo apt-get install build-essential dialog apache2 mysql-server phpmyadmin gcc-3.4 libapache2-mod-php5
- 2. sudo apt-get install libapache2-mod-auth-mysql
- 3. sudo apt-get install dvdauthor mplayer-amd64 (You may want to use mplayer-586 instead)
- 4. sudo apt-get install ntp ntp-simple
- 5. sudo apt-get install gsfonts-x11 msttcorefonts
- 6. sudo apt-get install tcsh
- 7. sudo fc-cache -f -v
- 8. sudo /etc/init.d/apache2 restart
- 9. Change the password for the root user in mysql to something else
- 10. If you want to be able to access the mysql server from other computers change the /etc/mysql/my.cnf file so:
bind-address = 127.0.0.1
- Is changed to:
#bind-address = 127.0.0.1
- 11. You need to restart mysql for the changes to take effect (sudo /etc/init.d/mysql restart)
- 12. wget http://ubuntu.moshen.de/2F306651.gpg -O- | sudo apt-key add -
- 13. Add the following to /etc/apt/sources.list
deb http://ubuntu.moshen.de dapper mythtv deb-src http://ubuntu.moshen.de dapper mythtv
- 14. sudo apt-get update
- 15. sudo apt-get install mythtv mythbrowser mythdvd mythgallery mythmusic mythnews mythvideo mythweather
- 16. sudo apt-get install mythweb mythtv-doc
- 17. sudo apt-get install xmltv-util
- 18. Change password for the new mythtv user by running:
- sudo passwd mythtv
- 19. sudo addgroup mythtv admin
- 20. sudo addgroup mythtv cdrom
- 21. sudo addgroup mythtv plugdev
Configuration
- 1. Logout and login as the mythtv user
- 2. mythtv-setup
- 3. In the General section:
- Host Address Backend Setup: Change the IP-adresses to the real addresses instead of 127.0.0.1
- Host-specific Backend Setup: Change to the correct directory if it isn’t already what you want
- Global Backend Setup:
- TV Format: PAL
- VBI format: PAL Teletext
- Channel frequency table: europe-west
- Enable Folow symbolic links when deleting files
- Shutdown/Wakeup Options:
- WakeOnLan settings:
- Job Queue (Host-Specific):
- Job Queue (Global):
- Job Queue (Job Commands):
- 4. In the Capture Cards section, create a new entry for each TV-card, in my case this results in two cards:
- Card type: DVB DTV capture card (v3.x)
- Signal Timeout (msec): 5000
- Tuning Timeout (msec): 10000
- Card type: MPEG-2 encoder card (PVR-x50, PVR-500)
- Video device: /dev/video1
- Default input: Tuner
- 5. In the Video sources section, create a new source for each type of TV-card, in my case this results in two entries:
- Video source name: swedb digital
- XMLTV listings grabber: Sweden (tv.swedb.se)
- Video source name: swedb analog
- XMLTV listings grabber: Sweden (tv.swedb.se)
- 6. In the Input connections section, create a connection for each TV-card, unselect “Free to are channels only” on DVB cards.
- 7. In the Channel Editor select the Channel Scanner button and select Video Source/Capture Card and scan for channels. For the Swedish cable distributor you should perform a full scan and enter:
- Frequency: 322000000
- Symbol Rate: 6875000
- Modulation: QAM 64
- FEC: None
Your MythTV installation shall now be ready to use
References
Categories: MythTV | HTPC | Ubuntu
