Digitalising Home Movies on Ubuntu Hardy with a PVR-150
July 16, 2008
I had a need at home to convert some out VHS movies to digital so I purchased myself a WinTV-PVR-150 MCE. This would enable me to play video from a VCR, outputting via a SCART cable which split into composite video and audio. Hardware encoding of the analogue signal enabled the captured input to easily be transfered to a digital file (mpeg2). As usual from Hauppauge linux support is excellent with the card fully supported out of the box with Hardy.
To take the input from the card and save it into a file I simply needed to do:
cat /dev/video /path/to/file
To switch between the various inputs on the card I need to use the following commands (v4l2-ctl is available in the ivtv-utils package):
v4l2-ctl -i 0 for the tuner
v4l2-ctl -i 1 for svideo
v4l2-ctl -i 2 for composite
All in all I found the card very easy to use for my purpose, and will now be looking to use it within my Mythbuntu installation.
Keeping mythtv-backend Alive
June 23, 2008
I’ve a small problem with my mythtv-backend in that it will crash once or twice a week without giving a clue as to the problem, even when running it through gdb. When restarting, it would work fine again therefore there was the need to detect a crash and restart when it happens.
This is currently been worked on for the next version of Mythbuntu through the use of upstart scripts, however I was needing a soultion before then. This lead to the development of the script below, which checks to see if it’s running, and restart it if it’s not.
The script is limited in that you need to manually start it after the machine has booted. I run the script within a screen console (so I can detatch it) using watch to run the script every 60 seconds.
So in screen:
sudo watch -n 60 ./keep-myth-server-alive.sh
The script:
#!/bin/bash
# Copyright (C) 2008
# David Morris (david.morris@greenacre.no-ip.com)
#
# This program is free software; you can
# redistribute it and/or modify it under the terms
# of the GNU General Public License as published by
# the Free Software Foundation, version 2 or later.
#
if [ `ps -ef | grep -c mythbackend` == '1' ];
then
sudo /etc/init.d/mythtv-backend start
fi
iplayer scraper
May 2, 2008
I’ve paid a bit of attention to the iPlayer development that has been occuring for linux over the last few months, with flash and mp4 versions. http://po-ru.com/ provides a ruby download script for the mp4 when passed the PID.
Now I’ve been thinking we can easily make this into a standalone player which users can browse on a desktop through the use of a GTK applications, or as a plugin for mythtv. To this end, I’ve hacked up a python scraper to generate the iPlayer listings and I’m publishing it here in the hope it’ll be of help to people.
It returns:
- URL with the PID
- URL for the thumbnail
- Title of show
- Date show was aired
- Duration of show
- Synopsis of show
I’ve create the core module and a small script to demonstrate how it can be called. What you choose to do with the data once it’s returned is left to yourselves.
mythtv Planet
January 17, 2008
There is a new planet in the solar system of OSS, mythtv Planet. If you want your feeds to be added then send an email do Daviey to be added at addme@planetmythtv.com. Alternatively give him a poke on IRC. daviey [on] irc.freenode.net.
Remote Wonder 2 in Mythbuntu
December 10, 2007
I’ve had a few searches for this hitting my blog and seen people having problems with it as well. I just redid mine on Ubuntu Gutsy and this should work the same. Here is what I did
sudo dpkg-reconfigure lirc
I then chose the userspace driver
sudo nano /etc/modprobe.d/lirc
Here I commented out blacklisting of the `lirc_atiusb’ module.
Once this is done you can load it with
sudo modprobe lirc_atiusb
You’ll then need to install the lircrc file to /home/<myth user>/.mythtv/lircrc
Restart and it should all work fine. I’ve attached my config files for you to check against as well. If you need more help post here or find me (davemorris) on irc.freenode.net
irw is a great little program to run in a terminal to see what buttons your pressing and tsee what they are mapped to.
/etc/modprobe.d/lirc
Mythbuntu is released!
October 22, 2007
The Mythbuntu team and myself are proud to present the first stable release of Mythbuntu. This release is based upon Ubuntu 7.10 (Gutsy Gibbon). We would like to thank everyone that has volunteered to help make Mythbuntu reach where it is today.
Please see the Release Notes for more information on improvements from the unstable releases this cycle.
Downloads & Upgrade instructions are available on the downloads page.
Features
- Frontend can be run from the live CD
- Complete installations(Backend, Frontend, Backend/Frontend, etc)
- Xfce4 Desktop Environment
- Easily upgrade from Ubuntu Gutsy to Mythbuntu
- Custom Mythbuntu MythTV theme
- GUI setup of LIRC
- Setup MythTV optimizations through MCC
Digg it at http://digg.com/linux_unix/Mythbuntu_7_10_Release_Final
Remote Wonder II on Mythbuntu
October 21, 2007
With lirc I’m told this actually appears under ATI/NVidia X10 RF (userspace) even though that refers to the 1st model. If someone is able to try it and let us know that would be grand.
Mythbuntu 7.10 Release Candidate
October 12, 2007
The Mythbuntu team and myself are happy to announce the Release Candidate for their 7.10 (Gutsy Gibbon) release.
This release is mainly a ‘bug fix’ release, where the majority of the bugs that were listed for the 7.10 Beta release have been fixed.
New Features
- More optimized builds of mythtv
- Support for adding medibuntu packages directly from mythbuntu-control-centre
Upgrading from Beta
Users who would like to upgrade their Mythbuntu beta setups can do so via standard apt methods. Some users however, have encountered a bug during this process causing multiple instances of network manager to appear. To resolve this, users must do this:
rm -rf ~/.cache
Feedback
We’d like to hear success (and failure) stories. Please feel free to make posts on our forum at http://ubuntuforums.org/forumdisplay.php?f=301
If you are curious of what hardware has been working for people, there are two sticky threads at the top discussing this.
Downloads
The ISO is available here:
i386 Builds
MD5sum
Torrent
Direct Download
AMD64 Builds
MD5sum
Torrent
Direct Download
Digg it
Mythbuntu beta and forums
October 3, 2007
Myself and the Mythbuntu team are pleased to announce Beta 1 of Mythbuntu-7.10. Together with this release, we’re opening the gates of our very own Mythbuntu forums. Please feel free to discuss and seek help with Mythbuntu.
Highlights include:
- Xfce based setup. No more openbox, it’s not even installed on the disk
- Network Manager included. You can do wifi networks both during and
after install with ease. - When quiting mythfrontend, you are brought back to an Xfce desktop.
You can administer the machine from here and change all settings.
The full feature set and download links can be found here.
Mythbuntu beta screen shots
October 2, 2007
So the screen shots for the Mythbuntu beta have been uploaded to the site, which must mean a new release is on it’s way. Noticeable within the screen shots is a switch of window manager from Fluxbox to XFCE which should feel alot more comfortable to many users.