video

Movie encoder “daemon”

I sometimes have incoming high-def video in formats that are not directly compatible with AppleTV.  I had been using iFlicks and an El Gato Turbo.264 HD encoder (a USB dongle with H.264 hardware innit), but lately that started producing bad output – I think the hardware was going bad as even the official software had the same results.  It was great while it lasted, it allowed the poor overworked Mac Mini that was doing the encoding to do 720p transcodes faster than real-time.  I should note that iFlicks’ author has actually recommended not using the El Gato thing, he mentions audio sync problems, but I never saw that, just frequent badly encoded video after mine started to go bad.

I’ve now switched back to software encoding using Handbrake.  To that end, I wrote a tiny little daemon that watches for files in one directory, encodes them, then moves them to the folder that iFlicks is watching and trashes the original.  iFlicks will then add meta-data (it searches thetvdb.com based on the file name), and finally send the file off to iTunes (which will then sync it to AppleTV.  WHEW that’s a lot of steps, you see why I need to write myself things to help?)

iFlicks can do software encoding itself, but it just uses Quicktime, which is a whole hell of a lot slower than Handbrake. Handbrake still doesn’t do 720p at real-time on a Mac Mini, but it’s only about half real-time, as opposed to Quicktime, which was taking 4-8 hours to encode an hour of video.

The script also gives me Growl notifications, and I have the Prowl app on my phone, so I get push notifications when encodings start and finish too.

Code after the jump.
› Continue reading

Tags: , , , , ,

Sunday, February 28th, 2010 Uncategorized No Comments

An important video

I have received information that it is no longer Christmas, and therefore this blog needs to be updated. So this post is to wish you a Merry Martin Luther King Jr. Day. In celebration, here is an important video that every American should watch.

Tags: ,

Thursday, January 15th, 2009 Uncategorized 1 Comment

Merry Christmas

Someone said “ship it!” and I misunderstood, so I’m on a ship until after Christmas.  Since I know millions of people’s lives are not complete without checking this blog for updates several times a day, here is something to tide you over.

Also

wowbushshoe

Tags: , , , ,

Friday, December 19th, 2008 Uncategorized No Comments

You must use the force

The greatest YouTube video ever.  Or at least today.

Tags: , ,

Monday, November 3rd, 2008 Uncategorized 3 Comments

I’m a TV Star

Or at least the back of my head is. I’m in there, front and center, right behind Paul’s stalkergroupie (lnor) and her mom.

Things I learned at this taping:

  • Getting all monitors to display everything in the correct aspect ratio all the time is so difficult that even a major network television show can’t get it right. Before the show they had an old episode playing on the widescreen studio monitors, and parts of it were squashed vertically.
  • Jimmy Kimmel “Live” is so not live that they taped another musical performance from The Swell Season the night we were there, and it doesn’t air until Friday.

    Tags: , ,

    Thursday, April 24th, 2008 Uncategorized No Comments
  • I love the whole world

    Tags:

    Monday, April 21st, 2008 Uncategorized No Comments