I have been using MythTV for a couple of years now. Like most complex bits of software, it can be difficult to get it set up the way that you want it. There are a number of comprehensive guides to installing Myth on various flavours of Linux elsewhere on the Internet. These pages are not a HowTo on installing MythTV, but contain hints and tips that have helped me fine tune my system.
If you want to build Myth from svn see compiling MythTV from svn .
Hauppauge Nova-T 500.
This card contains twin DVB tuners. It's supported out of the box by Feisty, but you may experience problems with usb disconnects causing kernel panics. If your box locks up periodically for no apparent reason this may be the cause. One solution is to disable the EIT program guide in Myth and use mythfilldatabase instead. It's also possible to install the latest drivers , which seem to have made a big difference for me.
There is a good page about the card in the MythTV wiki . One useful tip is to make sure that you turn on the on board amplifier:
Liquid error: undefined method `join' for #
Using mythrename.pl.
In the contribute scripts directory MyThTV contains a script called mythrename.pl, which will rename your recordings to a more human readable format. By default Myth creates file names of the format:
Liquid error: undefined method `join' for "\n[ChannelID][Year][Month][Hour][Min][Sec].mpg\n":String
If you want to copy your recordings somewhere else, it can be difficult to identify the correct file. Running mythrename.pl with no parameters will rename your files in the format:
At first this seemed like a "good idea". However, various other Myth utilities expect the file names to be in the default format. One example is mythtranscode. So what happens if you have run mythrename.pl and want to restore your file names to the default format? You can use mythrename.pl to restore the original format:
Liquid error: undefined method `join' for "\nmythrename.pl –format '%c_%Y%m%d%H%i%s' –live\n":String
Now you can use mythrename with the –link option to create symlinks with pretty file names to the original files.
Trimming Recordings.
Myth has various automated methods for marking adverts in recordings. None of these work well for me here in the UK. For most programs I simply fast forward past the adverts. However, if I want to keep a recording I mark the adverts manually using edit mode.
Initially I found that editing recorded files to cut out the ads was problematic. The reason was the nature of the mpg files produced from DVB cards by Myth. There seems to be a 300 msec delay between the audio and video track. If you just watch the program this is not noticeable. However, once you start trying to edit the files, audio and video rapidly get noticeably out of sync.
One solution is to demux the mpg file using ProjectX and then re-multiplex the streams. However, this is quite labour intensive and time consuming. Luckily mythtranscode has an option that will fix errors in recorded mpg files. As a starting point I use the script from the MythTV wiki. I modified it as I don't want automatic commercial flagging.
I have set this script up as a user job, so I can run it when required.
Liquid error: undefined method `join' for #
Encoding Video for an Archos 404.
I recently bought an Archos multimedia player and I wanted an easy way to re-encode my MythTV recordings in a format suitable for the Archos.
There are a number of scripts around for converting MythTV recordings into PDA and iPod compatible formats. Benton Roberts has created a nice Perl script that helps you create a set of shell scripts for processing MythTV recordings. You can download his scripts from http://bentonroberts.com/personal/media-server/code/mythshelljob | here . The main script can be run either as a user job, or from a command line. One of the nice things about his scripts is the ability to create a job definition file. This is a simple text file the script uses to determine things like encoding parameters and output file name. If your household has several multimedia devices you can create a job definition file for each device and choose which one to run from the main script.
Creating Time-stamped Backups Using cron.
It's quite easy to backup your database using mysqldump. However, what happens if you discover a problem with the database that occured a few days ago? Simply dumping the database once a day won't help you, as your backup file will contain the error. The solution is to create daily backups. Each backup is a compressed .tgz file with the name in the format mysql-dd-mm-yyyy.tgz.
Don't forget to clear out your backup directory once in a while, or your hard drive will eventually fill up! If your hard disk crashes, having multiple backups won't help you, so you probably need another cron job to rsync your backups to another computer.
Liquid error: undefined method `join' for #
Problems Tuning Some Freeview Channels.
Myth has been having problems tuning certain Freeview channels, including BBC4, Channel5 and Radio 4. However, I can receive these channels with no problem using Kaffeine, so the hardware and signal strength must be OK. My database is quite old, having originated at about MythTV 0.17. I had tried various options to re-tune, but the problem persisted. In case anyone else is experiencing th same sort of trouble this is how I fixed it.
- Create a channels.conf file using scan (tzap). Make sure that you stop mythbackend first.
Liquid error: undefined method `join' for #
- Run mythtv-setup and delete all existing channels. Run the channel scanner with the option to use channels.conf '''and''' delete existing channels.
Myth can now tune all the Freeview channels correctly.
- Archlinux Mail Server [2011-10-31] Setting up a mail server on Archlinux with virtual users. Using Postfix, Dovecot, SASL, postgrey, Roundcube and mailgraph. Read more
- Glyders Wild Camp (Photos). [2011-10-29] Photos from My Tryfan Scramble and Glyders Camping Trip. Read more
- Glyders Wild Camp [2011-10-29] Scramble on the west face of Tryfan and a Wild Camp on the Glyders. Read more
- Carneddeau Summit Camp [2011-09-05] Camping near the summit of Carnedd Llewelyn. Read more
- Exped Synmat Ultralite [2011-09-01] Comparison of the Exped Synmat Ultralite and the Thermarest Neoair Read more
- Wild Country Zephyros 2 on Moel Siabod [2011-08-14] First outing for the new tent on a windy wild camp on Moel Siabod. Read more
- Inov8 Roclite 295 Trail Shoes. [2011-08-07] A new pair of shoes for general wear and mountain walking. Read more
- Adventures in KVM Land [2011-05-27] Moving my virtual machines from Xen on Debian to KVM on Ubuntu. Read more
- New Thermos Flasks [2011-05-03] The Thermos Ultimate really does keep your drink hot all day. Read more
- February Climb on Tryfan Bach [2011-03-13] Climbing with the children on Tryfan Bach. Read more