MythTV Roku Brightscript App

Before I got rid of it, I used my Roku Netflix Player to playback recorded tv from MythTV. Here’s the app and a couple videos showing how it looked. http://www.youtube.com/watch?v=21Hxu2vYn6U http://www.youtube.com/watch?v=_VdyIcL7wY4 Here’s a link to Roku’s Developer site http://www.roku.com/developer Here’s a link to the zip containing the demo video player. I’ve made a few modificationsContinue reading “MythTV Roku Brightscript App”

MythTV Roku Streaming Dir Remove Expired

This is just a quick and dirty script to delete MythTV recordings that had been previously transcoded and moved to the stream directory, but have since been autoexpired out of MythTV. This is an issue because trying to pull data outta the MythTV recording database about a recording that has been deleted causes an errorContinue reading “MythTV Roku Streaming Dir Remove Expired”

MythTV iTunes Compatible XML RSS Feed

Since I’m already transcoding the recordings to h.264, might as well make them easily accessible to my iPhone or Boxee Box or Miro. Since the filenames are more likely to be seen, might as well make them more human readable. The biggest advantage to this renaming a season of a recorded show for archiving usingContinue reading “MythTV iTunes Compatible XML RSS Feed”

MythTV Roku Commercial Skip Encode Script

Before I forget, here’s my MythTV UserJob1: /usr/local/bin/mythipodcom.sh %DIR% %FILE% This script runs on a MythTV recording to remove commercials and transcode to h.264 video that I’ve tested and will play on Android (Motorola Droid), iPhone (iPhone 4), Roku DVP (Original Roku Netflix Player), Boxee Box, and in Miro on Windows. The contents of /usr/local/bin/mythipodcom.sh

MythTV Roku Streaming XML List Generator

Once the files have been created, will need to create an XML file the brightscript program on the Roku DVP can parse to display show data. This bit of perl reads the stream directory, sorts by file creation date, picks out the .mp4 files, uses the MythTV bindings to pull out show data, smashes itContinue reading “MythTV Roku Streaming XML List Generator”

MythTV Migration

http://www.mythtv.org/wiki/Database_Backup_and_Restore One of my first experiences with mythtv was restoring a recording and a dump of the MySQL database before I could buy my own tuner card. It was cool to see recordings populated and get a feel for the UI, but it was ultimately pretty pointless. Anyhoo, I bork’d my mythbuntu setup and neededContinue reading “MythTV Migration”

MythTV Status MOTD

My MOTD was lacking, so it got prettied up a bit. I have Apache available externally for Mythweb and transcoded shows. I like to keep an eye on recent accesses. raging@mythbuntu:~$ cat /etc/update-motd.d/40-apache-hosts #!/bin/sh echo “nRecent Apache Accesses” cat /var/log/apache2/access.log | cut -f1 -d” ” | sort | uniq I loved when mythtv-status was includedContinue reading “MythTV Status MOTD”

Video Encoding

I used to encode to mpeg4, which worked pretty well, but quality wasn’t the greatest. The files weren’t exactly tiny either. /usr/bin/nice -n 19 ffmpeg -i “${directory}/${file}.tmp” -acodec libfaac -ab ${abitrate} -ac 2 -s ${width}x${height} -vcodec mpeg4 -b ${vbitrate} -flags +aic+mv4 -trellis 1 -mbd 2 -cmp 2 -subcmp 2 -g 250 -maxrate 512k -bufsize 2MContinue reading “Video Encoding”