| Both sides previous revision Previous revision Next revision | Previous revision |
| ports:multimedia:mythtv [2007/01/23 23:17] – PaulChvostek | ports:multimedia:mythtv [2022/09/19 01:39] (current) – Remove ACL: not devs only for a long time, all:read is already default KubilayKocak |
|---|
| [[/TableOfContents()|TableOfContents()]] | |
| |
| ---- | |
| |
| ===== MythTV on FreeBSD ===== | ===== MythTV on FreeBSD ===== |
| |
| %%MythTV%% is an open source PVR software project. | ===== Introduction ===== |
| | |
| | [[http://www.mythtv.org/|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. | 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 ===== | ===== 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 [http://www.hauppauge.com/pages/prods_pvr.html Hauppauge %%WinTV%% PVR-x50] cards. | %%MythTV%% can work with %%HDHomeRun%% ethernet connected tuners from Silicon Dust. They are simple to set up and work well. |
| |
| Support for [http://www.pchdtv.com/ pcHDTV] cards currently does not exist, but we're hopeful the company will follow through on their offer to contribute a unit for testing. | %%MythTV%% is also designed to utilize V4L to access video input devices (encoders, tuners). At this time %%MythTV%% works best with USB DVB-S/C/T cards supported by ''%%multimedia/webcamd%%'' because webcamd provides an V4L userland implementation. See [[/WebcamCompat]] for a list of known working cards but any DVB card supported by webcamd should work fine in %%MythTV%%. |
| | There are also drivers available for Hauppauge cards (''%%multimedia/pvr250%%'' and ''%%multimedia/pvrxxx%%'') but they only provide a non standard driver interface which does not work with newer %%MythTV%% versions >= 0.23. |
| |
| 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. | Have a look at [[/HTPC]] for a list of all DVB drivers. |
| |
| ===== Dependencies ===== | ===== 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: | %%MythTV%% is flexible and modular which gives you the possibility to separate frontend and backend and have them on different machines. |
| * Front-end: | |
| * X (ideally using a video card that supports %%XvMC%%) | **Frontend:** ''%%multimedia/mythtv-frontend%%'' |
| * LIRC-compatible remote (optional) | * X Server (ideally using a video card that supports %%XvMC%%) |
| * Back-end: | * LIRC-compatible remote (optional) |
| * %%MySQL%% | **Backend:** ''%%multimedia/mythtv%%'' (also requires an X-Server and monitor for the Setup or use display forwarding) |
| * Tuner (optional) | * %%MySQL%% |
| * Scads of disk (optional) | * Tuner (optional) |
| | * Storage for recordings (optional) |
| |
| ===== Setup ===== | ===== Setup ===== |
| |
| ==== FreeBSD ==== | Install %%MythTV%% from the port: |
| * 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** : | |
| |
| <code> | <code> |
| # cxm_iic_load="YES" | # cd /usr/ports/multimedia/mythtv |
| # cxm_load="YES"}}} | # make install |
| * For '''bktr''' (older Brooktree or Connexant 8x8), {{{kldload bktr}}} or rebuild your kernel. {{{man bktr}}} for details. | </code> |
| * For Plextor ConnectX (M|TV)402U devices ... wait a bit, I have one on order. :) | |
| * ? | |
| |
| === MythTV === | Setup the mythtv database: |
| |
| * If you want access to programme guide data, create an account at http://labs.zap2it.com/ (North America) or see http://www.mythtv.org/wiki/index.php/XMLTV for other locations (optional) | <code> |
| * Install MythTV from the port:{{{ | # mysql -uroot -p < /usr/local/share/mythtv/database/mc.sql |
| # cd /usr/ports/multimedia/mythtv | </code> |
| # make install}}} | |
| * Configure per the on-screen instructions. | |
| |
| ---- | Configure the backend: |
| |
| == References == | <code> |
| * Software: | # mythtv-setup |
| * [http://www.mythtv.org/ MythTV site] | </code> |
| * FreeBSD-specific: | |
| * [http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=mythtv multimedia/mythtv] in portsmon | |
| * [http://www.freebsd.org/cgi/man.cgi?query=bktr&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html bktr] man page | |
| * [http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=pvr250 multimedia/pvr250] in portsmon | |
| * [http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=pvrxxx multimedia/pvrxxx] in portsmon | |
| * Honourable mention: | |
| * [http://mythtv.son.org/ Installation guide by Stacey Son and Ari Maniatis], for MythTV 0.17 and FreeBSD 5.3 | |
| |
| | Start the backend: |
| | |
| | <code> |
| | # echo 'mythbackend_enable="YES"' >> /etc/rc.conf |
| | # /usr/local/etc/rc.d/mythbackend start |
| </code> | </code> |
| | |
| | ===== MythTV on PC-BSD ===== |
| | |
| | If you prefer an better out of the box experience you should give [[http://www.pcbsd.org|PC-BSD]] a try because they have a %%MythTV%% PBI with an install script. |
| | |
| | See: http://wiki.pcbsd.org/index.php/MythTV |
| |