How To Install Mythtv On Windows

/ Comments off

NOTE: If you're running Debian unstable and you have compiled MythTV from source, you will need to install an additional package before you will be able to run MythTV. Execute the following to install the MySQL driver for QT. $ su - # apt-get install libqt3c102-mt-mysql # exit 9.1 Configuring the Master backend system. I attempted to install the linked MythTV binary and Norton Antivirus flagged several of the DLLs as trojan horses. Can somebody else test the installer and see whether it's a false positive or in fact a virus? 2009-11-11: Confirmed seeing Trj/Downloader.MDW in the precompiled Windows MythTV binary (.22).

How To Install Mythtv On Windows

MythTVis a Free Open Source software digital video recorder (DVR) project distributedunder the terms of the GNU GPL.

My MythTV barely works- I'm running a pretty vanilla version of Ubuntu 6, with the default MythTV package. 'mythtv-setup' crashes, and I don't have the time or patience to debug the problem. It's easier to get Windows Media Center to play DivX and XviD videos.

Custom made MythTV Systems

Let us build you a dedicated MythTV system..We supply complete, fully configured, ready to use MythTV systems for a varietyof configurations based upon our own MythTV extensions.

These are ready to use, turnkey systems that launch directly intoMythTV - no messing with Linux or Windows. They come with an integral drivefor PVR functionality, a DVD or BluRay drive and an infrared remote control.Ready to connect to an aerial or satellite dish and a digital ready screen.Simple installation and setup.

MythTV on Windows

We love MythTV and use it to view live and time slipped TV, to watch recordedvideo and to listen to music. We have several Linux boxes on a local networkrunning MythTV. But recently I was asked if I couldn't get a frontend upon a Windows box too. No amount of evangelical zeal could persuade a changeof OS so I reluctantly agreed to research it..

Although MythTV was primarily designed to run on Linux, it has been 'ported' torun on other OS’s such as Windows and Mac OS. There are pre-built standardreleases available fromMythTV on Windowsand there's aMythTV wikipage on building MythTV on a Windows box but there's nothing written about crosscompiling from Linux to Windows. So I wrote this guide.

NB the tools and method described below can also be used to build MythTVnatively on Windows or Linux too:

  • Building MythTV on Windows.
  • Building MythTV on Linux.

Cross compiling Linux to Windows

There's a lot of compiling to do so you'll need a fast, fat Linux box:

  • At least 10 GB free space on a fast disk.
  • At least 2 GB, preferably 4 GB physical memory.
  • A recent multi-core CPU; or lots of patience.
  • A fast internet connection >= 2 MB/s.

In summary, you'll need to:

  • Install a recentmingw32 cross compiler.
  • Download our build script.
  • Extract and run the build script which will in turn download, patch and compile a number of libraries and MythTV sources to produce the MythTV programs, libraries and installer.

So you'll need to be happy with the Linux command line, the C/C++ language,make and shell scripts.

How To Install Mythtv On Windows

The first step is to build or install the cross compiler; in thiscase gcc. Gcc is well equipped for cross compilation, there being manytarget systems to choose from in the distributed sources. Fortunatelymany have trodden this path before and there already exists themingw32 compiler.

Mingw32 is a gcc compiler andruntime library primarily used to build native Windows apps on a Windows hostbut can also be used to cross compile. Some Linux distributions, like Ubuntu,provide packaged versions of the compiler. So the first significant step is toinstall mingw32.

Installing the Mingw32 cross compiler

On an Ubuntu or Debian distribution at a terminal type:

sudo apt-get install mingw32

Mythtv Iso

If your distribution doesn't provide a pre-built package then you can build it usingthis scriptprovided by Mingw.

Compiler cache and compiler farming

Because of the volume of files to be compiled it is recommended thatcompiler cache (ccache) is installed. If you have several networkedsystems then compiler farming (distcc) can be beneficial too.

On an Ubuntu or Debian distribution at a terminal type:

The reader is referred to 'man ccache' and 'man distcc' for configurationand operational guides.

Download the build script

It is highly recommended that you downloadthis build script toautomate the build process. If you want to do the build manually thenlook at the Step by step guide first and use the'.diff' files from thelatest patchesas a guide to making the necessary changes.

At a terminal type:

NB the script and patches were designed to build MythTV 0.24, released on 11 Nov 2010,but will also build MythTV 0.23.1 and the current git master (v0.25pre-1070-g9590973).

Using the build script

At a terminal enter:

./ -h

to list the options available for the build process.

To start the build simply type:


The script will display the type of build selected and prompt you tocontinue. Pressing return will start the process of downloads and builds whichcan take some time - around 30-60 minutes on recent multi core systems.

Hopefully everything built OK and we ended up with an installation archive.If not then follow the Step by step guide toresolve the problem.

Running MythTV for Windows

Mythtv Database Setup

Now that we have built MythTV we're anxious to try it. We have 3 choices:

  1. With Wine on a Linux or Mac system. more..
  2. With VirtualBox on a Linux, Mac or Windows system. more..
  3. On a real Windows system. more..

For testing out patches and new features Wine is easiest. All the major MythTVcomponents work with Wine. Clickhere to read more.

For testing Windows compatibility then VirtualBox comes into its own. It'ssimple to have a number of canned Windows systems ready to run and it'seasy to re-start from known configurations. Clickhere to read more.

Ultimately the intent is to run on real hardware. Clickhere to read more.

MythTV on a Virtual Machine

You want to setup MythTV so you can get DVR service to your home network, but do not want to dedicate a single computer. This guide will show you how you can leverage your Windows PC to run MythTV on a Virtual Machine using VitualBox. You could also do this just for testing out MythTV functionality then move it to a dedicated PC if it works for you. These same principles can be used to try out any operating system on your windows box.

We have a full guide on how to get TV with DVR capabilities on your network utilizing an HDHOMRUN with cable card or over the air antenna. You can see that here.

Let’s get started.

Software Needed

  • MythTV – A free DVR service that runs on Linux – We suggest Mythbuntu as it is optimized for MythTV out of the box.
  • VirtualBox – A free Oracle VM software package

Download the software

Mythbuntu iso file

Here are the system requirements for Mythbuntu.

How To Install Mythtv On Windows Media Player

Minimum System Requirements (SD content):

  • 1.0 GHz x86 or x86_64 Processor
  • 512 MB of system memory (RAM)
  • 2 GB of disk space (Frontend Role)
  • 10GB + 1.5GB/hour for storage of SD material (Backend Role)
  • Graphics card capable of 1024×768 resolution (if using VDPAU, 256MB minimum)
  • Supported TV Tuner Card (Backend Role)

Recommended System Requirements (HD content):

  • 2.0 Ghz x86 or x86_64 Processor (2+ cores)
  • 2GB MB of system memory (RAM)
  • 10 GB disk space (Frontend Role)
  • 10GB + 5GB/hour for storage of HD material (Backend Role)
  • nVidia GT 4xx+ 512MB+ Graphics Card
  • Supported TV Tuner Card (Backend Role)

I should also note that this works flawlessly with HDHomerun or other network based tuners. You will have a super hard time at best if you try to do this with an integrated tuner card.

Mythtv Installation

Install VirtualBox, open it, and create a virtual machine

Name it, set the type to Linux, and version “other linux (64-bit)

Set the memory size to 512MB or 2048MB depending if you want HD min requirements or not.

You will want to create a virtual hard drive which will partition some of you physical drive specifically for MythTV.

Choose Virtualbox Disk Image

I used “Fixed size” for my storage type.

Here you need to set your storage size. You would probably want to add a 500GB or 1TB drive to your box so you have plenty of DVR space.

  • Keep in mind – 10GB + 5GB/hour for storage of HD material (Backend Role)

Click Create!

Now we have the virtual box ready to install Mythbuntu.

Right click on the instance and go to the storage settings. Advanced systemcare ultimate key free. Click the disk + button.


This is where we can select the Mythbuntu Iso you downloaded earlier by selecting “Choose Disk”

You will see the iso under the controller

Next go to the “Network” header on the left.

  • Enable Network Adapter checkbox on Adapter 1
  • Attached to: select Bridged Adapter

Ok that then start the machine.

A windows will open up where you can now walk through the Mythbuntu setup.

The first screen will ask you to select your language

You can download updates while installing; hit continue

Erase disk and install Mythbuntu: Remember this is the virtual disk you created earlier so your windows installation and directors are safe.

Add your location

How to install mythtv on windows 10

Keyboard layout preferences

You will want to name your virtual box and login automatically

Depending on your needs you will select one of the following options. I suggest the first instance. You are going to use this box as the “backend” so other TV’s can access for TV and DVR. The first option will also allow you to test if everything is working within your virtual environment.

I would add all the following check boxes for additional services. This way you can access the virtual box from multiple services. The MythTV Service needs to be selected.

I didn’t setup a remote as I will use the remote for my other XBMC Kodi boxes around the house, not on the virtual machine that will be used as a backend. So to be clear, you will be able to use your phone for instance as a remote on your TV’s even though you select “No Additional Remote Support” on this screen.

It will install and complete.


At this point you will want to use the Mythbunut setup guide on our XBMC Kodi Live TV HDHOMERUN Prime MythTV Cox Cable Card Setup post. This will help you get everything talking from the cable card/Antenna -> HDHOMERUN -> MythTV.

Once you have the Mythbuntu setup in the other blog, you can use the MythTV Frontend app within your virtual server to see if you are getting TV signal. I would do this to ensure everything is working before you move on to connecting your XBMC/Kodi boxes to it.

Under applications in the top left hand corner you will see “MythTV Frontend”. When you open it you can go to “Watch TV” and make sure everything is working. Again, you have to setup the backend first before this will work which is described in the blog link above.

If all is good you will have TV!

So again, this is for those of you that

  1. Want to test out this setup before buying a dedicated PC for MythTV
  2. Those that have a multi-purpose windows pc/server they want to add this functionality too

Good Luck!