MythTV on FreeBSD
MythTV is an open source PVR software project.
It is well-known in the Linux world as a complex application with many dependencies, difficult to install. The FreeBSD ports system simplifies much of the process, but there remain components that must be set up manually. This page attempts to walk you through the tough parts.
Hardware
MythTV is designed to utilize V4L to access video input devices (encoders, tuners). FreeBSD does not include V4L (it's 4L, after all). At this time, the multimedia/mythtv port works with Conexant iTVC MPEG encoders, including Hauppauge WinTV PVR-x50 cards.
Support for pcHDTV cards does not exist.
It may also work with bktr cards -- can someone confirm? If you have experience running MythTV with any of its other "supported" hardware under FreeBSD, please consider contributing to this page.
Dependencies
MythTV is flexible and modular enough that any dependencies are related to modules or specific functionality, and there isn't a heck of alot required by the base system. Due to MythTV's architecture, dependencies can be divided thusly:
- Front-end:
- X (ideally using a video card that supports XvMC)
- LIRC-compatible remote (optional)
- Back-end:
- MySQL
- Tuner (optional)
- Scads of disk (optional)
Setup
FreeBSD
- Install drivers for your hardware:
For Hauppauge cards, the ports are multimedia/pvr250 or multimedia/pvrxxx depending on your model.
Add to /boot/loader.conf :
cxm_iic_load="YES" cxm_load="YES"
For bktr (older Brooktree or Connexant 8x8), kldload bktr or rebuild your kernel. man bktr for details.
- Plextor ConnectX (M|TV)402U devices ... USB device 0x093b:0xa004 has no support in FreeBSD at this time.
- pcHDTV HD-3000 or HD5500 ... not yet supported.
- ?
MythTV
If you want access to programme guide data, create an account at http://www.schedulesdirect.org/ (North America) or see http://www.mythtv.org/wiki/index.php/XMLTV for other locations (optional)
Install MythTV from the port:
# cd /usr/ports/multimedia/mythtv # make install
- Configure per the on-screen instructions.
References
- Software:
- FreeBSD-specific:
multimedia/mythtv in portsmon
bktr man page
multimedia/pvr250 in portsmon
multimedia/pvrxxx in portsmon
- Honourable mention:
Installation guide by Stacey Son and Ari Maniatis, for MythTV 0.17 and FreeBSD 5.3