Top Banner
Myth TV Linux Personal Video Recorder Jim Weir and Jeff Jim Weir and Jeff Forde Forde 11 July 2005 11 July 2005
26

Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Mar 31, 2015

Download

Documents

Montana Walden
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Myth TVMyth TV

Linux Personal Video RecorderLinux Personal Video Recorder

Jim Weir and Jeff FordeJim Weir and Jeff Forde

11 July 200511 July 2005

Page 2: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

OverviewOverview

Features System-at-a-glance Requirements Hardware Installation Configuration Program Guide Plug-ins DEMO!!!

Features System-at-a-glance Requirements Hardware Installation Configuration Program Guide Plug-ins DEMO!!!

Page 3: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

FeaturesFeatures Digital Television Capture Live TV Control (Pause,REW,FF) Commercial Detection/Skip Editing/Exporting Recordings Electronic Program Guide Digital Jukebox (MythMusic) Photo Gallery (MythGallery) Video Library (MythVideo) DVD Frontend (MythDVD) Games Launcher (MythGame) Weather Updates (MythWeather) News Feeds (MythNews) Remote Web Interface (MythWeb)

Digital Television Capture Live TV Control (Pause,REW,FF) Commercial Detection/Skip Editing/Exporting Recordings Electronic Program Guide Digital Jukebox (MythMusic) Photo Gallery (MythGallery) Video Library (MythVideo) DVD Frontend (MythDVD) Games Launcher (MythGame) Weather Updates (MythWeather) News Feeds (MythNews) Remote Web Interface (MythWeb)

Page 4: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

System-at-a-glanceSystem-at-a-glance

CaptureCaptureHardwareHardware

TV DriversTV Drivers(Video4Linux)(Video4Linux)

MythBackendMythBackend

MythFrontendMythFrontend MySQLMySQL

Page 5: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

RequirementsRequirements

Hardware TV Capture Board

Software Linux OS Video4Linux Drivers X Windows QT Library MySQL Database Server

Hardware TV Capture Board

Software Linux OS Video4Linux Drivers X Windows QT Library MySQL Database Server

Page 6: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

HardwareHardware

TV Capture Board required Frame Grabber

ATI TV Wonder (~$80) Requires encoding by software

Hardware EncoderHauppauge PVR 150 (~$85)

Encodes MPEG2 in hardware HDTV Board

HD-3000 (~$170) Handles Hi-Definition content

TV Capture Board required Frame Grabber

ATI TV Wonder (~$80) Requires encoding by software

Hardware EncoderHauppauge PVR 150 (~$85)

Encodes MPEG2 in hardware HDTV Board

HD-3000 (~$170) Handles Hi-Definition content

Page 7: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

InstallationInstallation

Stable Release (0.18) RPM packages Gentoo ebuilds

CVS Head (recommended) Checkout via CVS

Stable Release (0.18) RPM packages Gentoo ebuilds

CVS Head (recommended) Checkout via CVS

Page 8: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

ConfigurationConfiguration

All configuration is stored in a MySQL database

Must initially configure Myth with information about your TV card and channel lineup

Otherwise, default settings usually work well

All configuration is stored in a MySQL database

Must initially configure Myth with information about your TV card and channel lineup

Otherwise, default settings usually work well

Page 9: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Program GuideProgram Guide

Freely available from Zap2It.com

Must create an account

Requires completion of a small survey every 3 months

Run process mythfilldatabase to acquire updates

Freely available from Zap2It.com

Must create an account

Requires completion of a small survey every 3 months

Run process mythfilldatabase to acquire updates

Page 10: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Plug-insPlug-ins

MythMusicMythGalleryMythVideoMythDVDMythGameMythWeatherMythNewsMythWeb

MythMusicMythGalleryMythVideoMythDVDMythGameMythWeatherMythNewsMythWeb

Page 11: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythMusicMythMusic

Store and play digital music through MythFrontend

Supports playlists/organization

Cool visualizations during playback

Store and play digital music through MythFrontend

Supports playlists/organization

Cool visualizations during playback

Page 12: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythGalleryMythGallery

View photos from MythFrontend

Photos organized into folders

Myth can automatically scan for Flash Media cards

View photos from MythFrontend

Photos organized into folders

Myth can automatically scan for Flash Media cards

Page 13: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythVideoMythVideo

Archive movies and launch them from the frontend

Myth can store and display poster graphics and details associated with each movie

Archive movies and launch them from the frontend

Myth can store and display poster graphics and details associated with each movie

Page 14: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythDVDMythDVD

Provides a frontend to DVD playback

Can be configured to launch your favorite DVD playing software

Provides a frontend to DVD playback

Can be configured to launch your favorite DVD playing software

Page 15: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythGameMythGame

Launch various games from MythFrontend including: NES emulator SNES emulator Arcade emulator Any system executable

Myth can store and display artwork for each game

Launch various games from MythFrontend including: NES emulator SNES emulator Arcade emulator Any system executable

Myth can store and display artwork for each game

Page 16: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythWeatherMythWeather

Pulls weather updates from the net and displays in the frontend

Displays current and forecasted weather along with radar maps

Pulls weather updates from the net and displays in the frontend

Displays current and forecasted weather along with radar maps

Page 17: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythNewsMythNews

Allows you to subscribe to various RSS news feeds and view them

Allows you to subscribe to various RSS news feeds and view them

Page 18: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

MythWebMythWeb

Remote access to MythTV over the web

Allows user to: Browse the program guide Schedule/edit recordings Stream recordings to client Stream audio from MythMusic to client View information from MythWeather

Remote access to MythTV over the web

Allows user to: Browse the program guide Schedule/edit recordings Stream recordings to client Stream audio from MythMusic to client View information from MythWeather

Page 19: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Controlling Satellite or Cable Boxes with MythTV

Controlling Satellite or Cable Boxes with MythTV

Building the IR Emitter. Finding and configuring the LIRC to

transmit as well as receive Infrared Signals.

Configuring for your cable or satellite box.

Building the IR Emitter. Finding and configuring the LIRC to

transmit as well as receive Infrared Signals.

Configuring for your cable or satellite box.

Page 20: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Building the EmitterBuilding the Emitter

Parts List RadioShack Parts:

# 276-1538 - Connector, 9-Position Female Solder D-Sub

# 276-1122 - Diode, Pkg10 1N914/4148# 271-1328 - Resistor, Pkg5 3.3Kohm 1/4 Watt# 276-0143 - LED, IR 940nm, 5mm diameter

ORIR LED that came with your capture card.

Parts List RadioShack Parts:

# 276-1538 - Connector, 9-Position Female Solder D-Sub

# 276-1122 - Diode, Pkg10 1N914/4148# 271-1328 - Resistor, Pkg5 3.3Kohm 1/4 Watt# 276-0143 - LED, IR 940nm, 5mm diameter

ORIR LED that came with your capture card.

Page 21: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Building the EmitterBuilding the Emitter

Soldering: The componets are all soldered in series in the

following order.Pin 4 of the DB9 connector to the to the Anode (end

without the stripe) on the Reverse Blocking Diode.Cathode of the Reverse Blocking Diode(the striped end)

to either end of the Resistor.The other side of the resistor to the Anode (long lead) of

the LED.Cathode of the LED (short lead) to Pin 5 of the DB9

connector.

Soldering: The componets are all soldered in series in the

following order.Pin 4 of the DB9 connector to the to the Anode (end

without the stripe) on the Reverse Blocking Diode.Cathode of the Reverse Blocking Diode(the striped end)

to either end of the Resistor.The other side of the resistor to the Anode (long lead) of

the LED.Cathode of the LED (short lead) to Pin 5 of the DB9

connector.

Page 22: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Building the EmitterBuilding the Emitter

The Finished Product:The Finished Product:

Page 23: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Configuring LIRC for TransmittingConfiguring LIRC for Transmitting

Get LIRC 0.7.0 and myth-ledxmit which are both available Here

Follow the instructions on how to configure myth-ledxmit This creates a second instance of LIRC demon

that controls transmitting IR Signals Find a suitable Remote configuration file for

your cable or satellite box. Available from http://lirc.sourceforge.net/remotes/ Copy this conf file to /etc/ledxmitd.conf

Get LIRC 0.7.0 and myth-ledxmit which are both available Here

Follow the instructions on how to configure myth-ledxmit This creates a second instance of LIRC demon

that controls transmitting IR Signals Find a suitable Remote configuration file for

your cable or satellite box. Available from http://lirc.sourceforge.net/remotes/ Copy this conf file to /etc/ledxmitd.conf

Page 24: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Configuring LIRC for TransmittingConfiguring LIRC for Transmitting

Finally configure MythTV to use your IR Blaster. For this step you just need to make a simple

bash script like the following…

#!/bin/shREMOTE_NAME=SA2000 #Name of the remote in /etc/ledxmit.d filefor digit in $(echo $1 | sed -e 's/./& /g'); do

/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME $digit

sleep 0.4 # note, you may have to tweak the interdigit delay up a bit, depending on your receiver modelDone

/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME SELECT

Finally configure MythTV to use your IR Blaster. For this step you just need to make a simple

bash script like the following…

#!/bin/shREMOTE_NAME=SA2000 #Name of the remote in /etc/ledxmit.d filefor digit in $(echo $1 | sed -e 's/./& /g'); do

/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME $digit

sleep 0.4 # note, you may have to tweak the interdigit delay up a bit, depending on your receiver modelDone

/usr/local/lirc-ledxmit/bin/ledxmit-irsend SEND_ONCE $REMOTE_NAME SELECT

Page 25: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

Configuring MythTV to Change The Channel

Configuring MythTV to Change The Channel

Save your bash script and name it something like chan_change.sh

From within mythtv-setup navigate to “input-connections” and enter the script location into the external channel change command box.

Finally fire up MythTV and enjoy!

Save your bash script and name it something like chan_change.sh

From within mythtv-setup navigate to “input-connections” and enter the script location into the external channel change command box.

Finally fire up MythTV and enjoy!

Page 26: Myth TV Linux Personal Video Recorder Jim Weir and Jeff Forde 11 July 2005.

ResourcesResources MythTV Homepage

http://www.mythtv.org/ MythTV Wiki

http://www.mythtv.info/ Gentoo MythTV Guide

http://gentoo-wiki.com/HOWTO_Setup_MythTV Fedora MythTV Guide

http://wilsonet.com/mythtv TV Cards

http://www.pchdtv.com/ http://mythic.tv/ http://www.hauppauge.com/

IR Blaster http://losdos.dyndns.org:8080/public/mythtv-info/

MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html IRC

MythTV Homepage http://www.mythtv.org/

MythTV Wiki http://www.mythtv.info/

Gentoo MythTV Guide http://gentoo-wiki.com/HOWTO_Setup_MythTV

Fedora MythTV Guide http://wilsonet.com/mythtv

TV Cards http://www.pchdtv.com/ http://mythic.tv/ http://www.hauppauge.com/

IR Blaster http://losdos.dyndns.org:8080/public/mythtv-info/

MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html IRC