Archive

Archive for February, 2007

Elura 100 Headset Problem

February 12, 2007 2 comments

For a while now I’ve been trying to figure out how to setup a pair of headphones on my Elura 100 so that I could listen to the mic input. It seems silly that Canon would design the Elura 100 with a mic input, but no way to attach a pair of headphones to monitor the input. You can try to plug a headset directly into the AV output, but you’ll get a lot of feedback from the video signal that’s being piped out of there. You’ll need to create a solution that can filter out the video signal.

I finally had the opportunity to hit radio shack and they helped me figure out how to do it. It will cost you about $10 to buy the pieces for this makeshift adapter for a pair of headphones on the Elura 100.

You need to buy the following:

  • 1/8″ Coupler
  • Audio Adapter

Canon Elura 100 Headset HackThen you take your AV cable that came with the camera, plug it into the AV jack next to the mic input. After that’s attached, you plug the red and white audio RCA jacks into the audio adapter, then stick on the coupler, now you have a place to attach a set of headphones with a mini-plug. It’s a little klunky, but it’s the only solution that I’ve found that works. Again, it seems silly that Canon doesn’t sell a special pair of headphones that can filter out the video signal so that you can monitor the mic input.

Links:

Categories: tech, video

Extract Text from PowerPoint using Perl – convert ppt to text

February 3, 2007 6 comments

I need to unleash this on the world. I’ve been working on a project where the goal is to integrate powerpoint slides into a flash presentation. All the ppt to swf products seem to convert the powerpoint slide into an image, maybe vector based, I’m not sure, but the end result is a swf and the text is not selectable.

The point is to automate the process of grabbing the text out of the original powerpoint deck to use for different purposes, search engine optimization, text search. I’m sure there’s an easy way to do this in VB or C#, but I’m a Perl native and became obsessed with Win32::OLE for the last 3 hours.

Here’s the breakdown:
The Problem: How do I get text out of the text boxes in a powerpoint presentation and into a text file?

1. First get yourself Win32::OLE for perl

2. Take a look at this roth consulting presentation. It took me a few reads to “get it”, and I think there are some inconsistencies in some of the examples.

3. Make yourself a powerpoint presentation. Just use the default text boxes. This script is highly experimental and I’ve only been playing with it on simple slides.

4. After several attempts at pasting code into this blog… i’ve given up. You can download the sample file: ppt-parse.txt PPT Parser

Basically, this is an exercise in Win32::OLE.

Categories: perl, powerpoint