User:Ianf

From MythTV Official Wiki
Jump to: navigation, search

I've been running Myth since May of 2003, moving from FC1 i386 to FC3 x86-64 and Centos-4 i386. I'm also running a frontend on FC4 i386. I usually run SVN, patching my boxes and updating every month or so, but only when there isn't a flurry of commit activity.

Contributions

Things I've done for myth:

  * Read the list and help when I can..
  * Wrote up a quick summary on how to generate a modeline for an HDTV, which was cleaned up
    (quite nicely) by Jarod Wilson [1]
  * Hacked together (based on someone else's trial code) some Python scripts for changing
    channels over serial cable on the Motorola DCT-2000 box.  Now deprecated in favor of
    Jim Paris' channel program, written in C.

Todo

Outstanding things to do:

  * Build a RAID box to consolidate my storage
  * Get my HD-3000 working fully - I still can't get reliable captures
  * Get the SB Live 5.1 to do Dolby Digital within Myth for HD shows

And, of course, here are my hardware specs:

Master backend / frontend:

  * Lanparty UT nf3 250Gb motherboard in an Ahanix D.vine D4[2]
  * AMD Athlon-64 3200+ running FC3 x86-64
  * 512MB RAM
  * 80GB hard disk (boot) using ext3
  * 300GB hard disk (show storage) using xfs
  * Firewire capture from a DCT-6200
  * PVR-250 - Composite capture from a DCT-2000 (serial port connection for channel changing)
  * PCHDTV HD-3000 for DVB capture over QAM from Comcast
  * SB Live 5.1 for Dolby Digital using ALSA drivers
  * Mythweb

Slave backend:

  * MSI Mainboard SIS 645DX based running Centos 4 i386
  * P4 Celeron 1.7Ghz
  * 1GB RAM
  * Bunch-o-hard disks for video and music storage
  * PVR-250 - coax capture of analog cable

Laptop frontend:

  * HP Pavilion zv5405us
  * AMD Athlon-64 3200+ running FC4 i386
  * 1.25GB RAM
  * 80GB hard disk
  * occasional backend for transcoding (but only when using ethernet - never wireless)
  * usually a roaming frontend

Interesting Things

Here's something hopefully some else will find interesting... For a while, I was working on seeing if I could get mythtivo to pull shows from my Series 1 Tivo and put them into "Watch Recordings". I stopped working on it back in September, then picked it up again today (2006-01-22). If you're using MythTivo, you'll also need the tyStream utilities. Then you'll need to check the paths at the top of the file.

What it does so far: Given the show on your Tivo with the fsid 2948633, you would call it via:

test_extract.sh http://mytivo.mydomain.com/2948633

It's basically the same way that MythTivo (http://tivo-mplayer.sf.net) calls mplayer in the mythtivo-settings.txt file.

The script pulls the show, converts from a tyStream to a .mpg file, then rebuilds the seek table. Unfortunately, it's not complete. It also needs to add a transcode job to the user job queue right away in order to "normalize" the video - unless someone's got a better idea.


In any case - it's something I've been tinking with... if you want to take a look at it, I've uploaded a copy to http://www.duckland.org/~ian/test_extract.sh

Update 2006-01-30...

I've created a script (not ready for public consumption yet) that, assuming that your S1 Tivo is running TivoWeb (only tested with 1.9.4) should be able to pull down the list of Season Passes. The goal being to ultimately insert them into the Myth db. Combine with the above show? Instant S1 Tivo migration tool!

More stuff...

While my wiki knowledge is next-to-nil (meaning that I'll figure out how to put up a TOC at the top of this page one of these days), I've got a 2 more contributions to the list...

Encoding Videos for PSP and Treo 650

HOWTO: Transcode to a PSP HOWTO: Transcode to a Treo 650

PSP: Here's the script. Just add it as a user job... (you WILL need the PSP-enabled version of ffmpeg, which I named ffmpeg-psp)

       #!/bin/sh
       INFILE=$1
       OUTFILE=$2
       ffmpeg-psp -y -i "${INFILE}" \
               -bitexact -f psp -s 320x240 \
               -vcodec xvid -r 29.97 -b 1500 \
               -acodec aac -ac 2 -ar 24000 \
               -ab 64 -muxvb 768 "${OUTFILE}"
       ffmpeg-psp -y -i "${INFILE}" -f singlejpeg -ss 5 -vframes 1 -s 160x120 -an "${OUTFILE}.THM"


Treo 650: Here's the script. Just add it as a user job...

       #!/bin/sh
       INFILE=$1
       OUTFILE=$2
       /usr/bin/mencoder -o "${OUTFILE}" \
               -aspect 4:3 \
               -ovc lavc \
               -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=300:aspect=4/3:acodec=mp3:abitrate=96 \
               -oac lavc \
               -vf-pre pp=lb \
               -vf scale=320:200 \
               -af volnorm \
               "${INFILE}"