05.16.07

New Blog Software

Posted in Announcements [A] at 1:01 am by

I have switched from b2evolution to WordPress for my blog.  This will enable me to incorporate podcasts as well in the future.  Yes, I think there is a way to do podcasts in b2evo, but it involved a “hack” and I wasn’t in the mood for such things.  This software has a nice plugin to enhance the podcast experience, so we’ll give it a try.

I am still in the process of customizing the look, so I hope it’s not too boring.

Anyone out there have something they’d like to discuss on a podcast?

05.15.07

Repost from old blog: Linux Wireless: Dynex DX-WGDTC Good, Zonet ZEW1601 Bad

Posted in Uncategorized at 11:00 pm by

I have recently been trying to setup a desktop PC running Ubuntu 6.10 for my kids. I installed the Edubuntu suite so that it has all of the educational software and set my son up with a limited number of links to the internet. The trouble is… wifi.

Linux is a great operating system, and I trust it much more with the kids than I would Windows (of any version). The one big thing that I’ve never had much success with was getting 802.11 wireless to work.

I had purchased a Zonet ZEW1601 card from Tiger Direct because it was cheap and because it was advertised as being Linux compatible. The manufacturer even has some Linux drivers for download on their site. I had originally tried to set this up using Fedora Core 5 to create a secondary MythTV box in my bedroom. I wracked my brain with this during my spare time for weeks before I gave up. When I decided to create a machine for the kids, I decided that I would give it another try with a slightly newer and different distribution (Ubuntu). The system recognized the card automatically and it shows up in the network devices list, but that’s the extent of it. I worked on this for hours and the best thing I could come up with was that the driver didn’t know how to properly turn on the wireless radio.

I gave up on the built-in drivers and downloaded the ones form Zonet’s web site. They are only available as source, so I had to compile it. I found a nice HOWTO on the web and followed it step by step. (It’s nice when they post the exact commands to type, so I can just copy and paste!) Well, I got the same result as I did with the MythTV box… complete freeze when the kernel driver loads. It was at that point that I decided to give up on the Zonet card. I don’t know if there are other cards out there based on the same chipset (RT2561 / RT61) that will work, but this one definitely does not!

I was out shopping and ended up in Best Buy to pick up some music CD’s. I asked one of the employees about Linux compatibility on the PCI wifi cards. Apparently, he has been asked this before because his quick response was “It doesn’t say Linux compatible on any of the packages.” I looked briefly around to see if any of them even mention what chipset they use, but no luck. I went home and started my web research. I came across the MadWifi project’s compatibility list: http://madwifi.org/wiki/Compatibility

That was VERY helpful. It let me search the big retails web sites and see what was available that was known to be compatible with their drivers. When I came across Best Buy’s web site, I found this card was on sale: Dynex DX-WGDTC Since the entry on MadWifi was a little less than concrete, I did a google search and found this article: $35 wifi PCI card works out of the box with Ubuntu linux =)

I was excited! Not only did I find one that says it works out of the box with Ubuntu, but it’s the cheapest one and it’s on sale! I ran out to BB yesterday and picked it up. Installed it in place of the Zonet card and had the wireless working in 5 minutes. All I had to do was go into the networking control under Adminitration and set the SSID and WEP key and I was in business. I was also impressed with the size of the antenna. Usually the cheaper cards have short little wimpy antennas, but this one was formidable and seems to pick up a good signal.

Summary: If you need an inexpensive PCI wireless card that works out of the box with Ubuntu Linux (and probably others as well since the drivers come with the kernel), you want this card. And while you’re at the store, mention to the sales guy that if anyone asks for a Linux compatible card to sell them this one!

PS. It turns out the sale price ($31.49) was online only, so I ended up paying full price at the store ($35). If you want the sale price, I think you can order it online for in-store pickup to get the $3.50 off. I wasn’t feeling patient enough to go back and do it for the 3 bucks.

Repost from old blog: Video Podcasts for my Pocket PC

Posted in Projects at 10:55 pm by

I’m working on a script that would allow me to subscribe to video podcasts intended for playback on an iPod. I have a Cingular 8125 Pocket PC with Windows Mobile 5.0. (This model is also known as the HTC Wizard.)

The main problem is Windows Media Player. The only automatic way to synchronize media to a Windows Mobile device is to use WMP and MS ActiveSync. Windows Media Player is very restrictive about what it will play and even more restrictive about what it will sync. The mobile version will only play a few select types of media. There are third party programs for the PPC that will play .MOV and .M4V files, but how do you get them on the device without dragging them there manually?

So far the only solution I have come up with is to transcode. I’ve created a batch file that runs mencoder (from the mplayer project) to transcode the video files into .AVI’s. I can then add the files to a playlist and WMP will sync them to my PPC, but only after converting them again to WMV’s. I know what each transcode causes a loss of quality, but I’m encoding at such a low quality setting that it’s not noticeable. My script works pretty well with one part missing: How do I add the resultant files to a WMP library/playlist as part of the batch file?

I’ve been scouring Google with no results that make sense. Microsoft wants me to program with complicated object models and such just to add a file to a playlist. I’m currently using Juice for podcast aggregation, so I was considering a quick look at the source code for how it adds the items to the playlist… Problem is I often have trouble with Juice not properly updating the WMP playlists so I think whatever method they are using is broken to start with.

Here’s the batch file. It’s pretty simple/crude. Anyone have input?

@echo off
REM Video Podcast conversion script, by Sean Aldrich
c:\
cd "C:\Program Files\mplayer\"
REM check to see if it's a video file
echo %1% | find /I \".mp3\"
if %errorlevel% == 0 goto notvideo
REM convert to AVI so media player recognizes it
mencoder.exe %1 -o %1.avi -oac mp3lame -ovc lavc -lavcopts vcodec=wmv2:vbitrate=300
REM add to playlist so media player will sync it
:notvideo

FYI, If you try to set this up with Juice there seems to be a problem with quotes in the “Run this command after each download” text box. It will only tolerate one set of quotes. I had to use this method so that my quotes would allow spaces in the podcast path:
c:\progra~1\mplayer\vrecode.bat "%f"

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »