| Past Articles
|
|
| Monday, February 05 |
| · | BeyondTV Vista Compatibility FAQ ( 4.6 coming soon ) (0) |
| Wednesday, January 24 |
| · | Fun with BeyondTV Skins (1) |
| · | Broadcast HDTV quality compared (0) |
| · | SageTV HDTV Network Extender Q2 2007 (536) |
| · | Vidabox announces Blu-Ray, HD-DVD, CableCARD VISTA boxes (1) |
| Tuesday, January 16 |
| · | Recording Cable HDTV on a Mac via FIREWIRE (551) |
| Friday, January 12 |
| · | MythTV vs Windows Media Center Comparison (7) |
| · | CES/MacWorld Links Galore (12) |
| · | More Vista Media Center & ATI CableCard tuner news (7) |
| Monday, January 08 |
| · | ATI Announces Two CableCARD Digital Cable Tuner Cards (574) |
| Tuesday, January 02 |
| · | Nintendo Wii Media Center (16) |
| Sunday, December 24 |
| · | Happy Holidays 5% Coupon from PCAlchemy (EXPIRED) (583) |
| Thursday, December 21 |
| · | SageTV 6 Released (579) |
| · | New GBPVR Release Coming Soon (?) (18) |
| Tuesday, December 12 |
| · | VidaBox: DualHD Media Center->Blue-ray & HD-DVD format! (3) |
| | Older articles |
|
| |
|
HowTo: Slackware Linux 9.1 MythTV Install Guide
Page: 3/3 (4203 total words in this text) (44095 Reads) 
===MythTV Setup===
First lets setup the backend:
$ cd ../setup
$ ./setup
Answer yes to the 2 questions:
Would you like to clear all capture card settings before starting configuration? [no] yes
Would you like to clear all program/channel settings before starting configuration? [no] yes
Refer to the MythTV documentation located at
http://www.mythtv.org/modules.php?name=MythInstall
for more information on the settings.
Here's how mine is setup. Anything entries not listed were left at default.modp
==General==
==Host Address Backend Setup==
leaving the defaults here will work for most people
IP address for MythTV:
(If you're not using static IP addresses on your network, then type the address you'll be assigning to this computer)
Port the Server runs on:
(unsure, if you're reading this how-to, you probably don't need to mess with this.)
Port the Server shows status on:
(unsure, if you're reading this how-to, you probably don't need to mess with this.)
Master Server IP address:
(use this if the computer you're setting up isn't your master backend. Put the IP address for your master backend here)
Port the master server runs on:
(unsure, if you're reading this how-to, you probably don't need to mess with this.)
==Host-specific Backend Setup==
This is where you'll tell myth to store your recorded shows and live video buffer.
directory to hold recordings:
(point this to the directory where you want to store your recordings)
directory to hold Live-TV buffers:
(point this to the directory where you want to store your live tv buffer.
I suggest a different directory than your recordings.)
Live TV buffer(GB):
(This sets the maximum amount myth will use for the live tv buffer.
Higher number=more live tv recorded and temporarily stored.
This means higher numbers allow you to rewind farther back in live tv.
Minimum free Live Buffer(MB):
(This tells myth what the minimum space allowable should be in order to use the live tv buffer.
This means that if your free space falls below this, myth won't let you watch live tv.
I think thats wha this does anyway.)
Save original files after transcoding:
(Checking this preservers the original recordings if you use transcoding.
This means that if you transcode a show, you'll end up with a transcoded file in addition to the original file.)
==Global Backend Setup==
Format: (This sets your video format. NTSC for the U.S. Pal for Europe, etc.)
VBI format:
(this is for teletext and closed captioning. You're own your own here.)
Channel Frequency table:
(this is for selecting the type of channel frequency your using. Broadcast television (antenna), cable, etc.)
Time offset for XMLTV listings:
(this is the times the tv listings use don't match your time zone.)
Master Backend Override:
(Not quite sure about this one. Has to do with streaming video.)
=Shutdown/Wakeup Options=
You're own your own here for now. These are shutdown/wakeup options for the backend. I left everything default.
startup command:
Block shutdown before client connected:
Idle timeout(secs):
Max. wait for recording (min)
Startup before rec. (secs):
(This is the amount of time myth will start recording before a recording is set to start.
Usefull to make sure you get a show recorded completely.
This helps prevent missed show begginings because your computers clock was a little
off for example.)
Wakeup time format:
Set wakeuptime command:
Server halt command:
Pre Shutdown check-command:
=WakeOnLan settings=
You're on your own here as well. I used defaults.
Reconnect wait time (secs):
Count of reconnect tries:
Wake Command:
Wake command for slaves:
==Capture Cards==
Now you're going to setup of your capture cards.
(New Capture Card) <---select this
Card Type: MPEG-2 Encoder card(PVR250, PVR-350)
Video Device:
(select your video device, this was determined when we setup the IVTV driver.
t can be found by issuing this command:
# /bin/dmesg |grep ivtv)
VBI device:
(You're on your own here, i used the default)
Audio device: (select your audio device.
I'm using the PVR-350's tv-out so this doesnt effect me)
Audio sampling rate limit: (just what it says, i left it default)
Do not adjust BT audio volume: (you're on your own, i left it default)
Default input: (select the input method for your tv signal.
If using the coaxial input, select tuner 0)
==Video Source==
(New Video Source) <---- select this
Video Source Name: (give the source a name, i used "cable")
XMLTV listings grabber: (Choose your XMLTV listings grabber for your location.)
Zip/postal code: (enter your zip code)
Provider: (choose the correct provider from the list)
Channel frequency table: (Most people should just leave this default.)
==Input Connections==
Select the input that matches your default input. For me its:
[MPEG: /dev/video0](Tuner 0)->(none)
==Connect source to input==
Video Source: (use what you defined as a name in video source above)
Input preference: (this used is if you're using multiple tuner cards. I left default)
External channel change command:
(this is if you're controlling a tuner box. you're on your own,
i'm not using an external cable box.)
Preset tuner to channel: (used with the above setting, you're on your own)
Starting channel: (the channel Live tv first tunes to when selected. Can be left default.)
==Channel Editor==
It is recommend you leave this alone for now. More info can be found at
http://www.mythtv.org/
Once everything is setup it's time to populate the database:
$ mythfilldatabase
Now we're going to setup a cron job so that mythfilldatabase will run periodically to update the tv listings.
$ cd ../configfiles
$ cp mythfilldatabasecron ~/.mythtv
$ cp mythcrontab ~/.mythtv
$ cd ~/.mythtv
$ crontab mythcrontab
$ crontab -l NOTE: this is a lowercase L.
You should now see something like this:
# The following will run the mythfilldatabase shell script at 0430
# every day. Format is
# minutes hour day_of_month month day_of_week
# man 5 crontab for more information
# Need to use a shell script because the QTDIR environment variable isn't
# being honored by crontab?
# The next text should be all on the same line.
30 04 * * * /bin/bash $HOME/.mythtv/mythfilldatabasecron
This means that mythfilldatabase will run at 4:30am every morning. To change this, simply edit the mythcrontab file and run the following:
$ crontab mythcrontab
Once thats complete, we can start the backend
$ mythbackend
===Finishing Touches===
==Autostarting Mythbackend at boot==
Now would be a good time to set the backend to start up at boot time. We'll also set it up to write to log file for debugging. To do this, add the following line to your /etc/rc.d/rc.local file.
/usr/local/bin/mythbackend > /home/kevin/mythbackend.log 2>&1 &
==Autostarting mythfrontend with X==
Now lets setup mytfrontend to start with X and to write to a log file.
First lets create a file called mythfrontendauto in your /usr/local/bin directory. You can do this by running the following command.
$cd /usr/local/bin
$ su
# kedit mythfrontendauto
Add the following lines:
#!/bin/bash
/usr/local/bin/mythfrontend >/home/kevin/mythfrontend.log 2>&1 &
Next lets make it executable:
# chmod 755 mythfrontendauto
# exit
Now we need to put a link to this file in the ~/.kde/Autostart directory
$ cd ~/.kde/Autostart
$ ln -s /usr/local/bin/mythfrontendauto mythfrontend
Now if in the future you need to troubleshoot problems with Myth, you can check the
mythfrontend.log and mythbackend.log files which you'll find in your home directory (thats ~/).
You can now start the mythfrontend if you prefer to configure it while its running on your computer monitor by issuing the command:
$ mythfrontend
Or you can wait and configure mythfrontend after you have it running on your TV.
===Running X through PVR-350 TV-out===
For those using PVR-350's you'll need to edit your /etc/X11/XF86Config file so that Myth will be displayed on your TV instead of the computer monitor.
I recommend making a copy of your XF86Config in case you have problems.
You'll need to add the following lines to your /etc/X11/XF86Config file under the Monitor section:
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480" <-----For PAL change this to "720x576"
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-Vsync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 FrameBuffer"
Driver "ivtvdev"
Option "fbdev" "/dev/fb1" <-----change this to what ever fb# device you're using
BusID "0:0x0d:0" <----see note below
EndSection
For the BusID section, change what i have listed to the busID you retrieved during the IVTV setup with the $ /sbin/lspci -v command.
I mentioned you should make note of it. However you need to convert it to hexidecimal format.
For example, fom the $ /sbin/lspci -v command, i got 00:0d.0 for my bus id.
This converts to 0:0x0d:0 (even though it looks like it, there are NO spaces in there).
Now we need to get the X driver for the pvr-350. You can get it here:
http://membres.lycos.fr/badzzzz/ivtvdev_drv.o.gz
Now lets unzip and install it:
$ gunzip ivtvdev_drv.o.gz
$ su
# cp ivtvdev_drv.o /usr/X11R6/lib/modules/drivers/
# exit
====The End====
| Previous (2/3)
[ Back to Guides & How To's | Sections index ] |
|
|