Steve's blog | |||||
Subscribe
Links
Friends |
Thursday, 03 February 2005
WMA patches cleaned up and sent
I've extracted my changes for initial ogg support now. Debian bug #293398 has the daapd patch. There are some new build-deps needed too (on vorbis libs).
The first-cut wmamp ogg support is up at https://www.einval.com/~steve/software/wma/wmamp-ogg.diff.gz. The build environment for wmamp is rather large and scary. What I've used is:
I briefly looked at adding FLAC support tonight, but I lost interest as I don't actually have any FLAC-encoded audio. Instead I'm now looking into better parallelisation (or at least double-buffering) of the ogg download. 00:00 :: # :: /wma :: 1 comment Wednesday, 02 February 2005Noodles kindly passed on the Linksys WMA11B Wireless Media Adapter that he'd promised me. This is a little ARM-based Linux box with wired and wireless network inputs and TV and audio outputs. With the software that comes with the little media box, you can play Windows media and MP3 audio and display a variety of image formats. There's just one problem with this software - it claims to work only on Windows, needing a .Net runtime to serve both software and media files to the box. We don't have any Windows machines in the house any more, so that clearly wasn't going to wash! Various Free Software hackers have acquired these boxes and played with them, and there's now a complete set of Free tools available (to play audio, at least):
With this selection of excellent programs, I managed to get my WMA11B up and running a couple of weeks back without once using the supplied Windows software. I could play MP3 music through my new hi-fi, spooling the files directly off the network. Yay! Well, almost. The problem is that almost all the music I have is now in Ogg Vorbis format. :-( I didn't want to re-rip and re-encode all of my CDs into an inferior, encumbered format, so I decided to extend the toolchain to support Ogg Vorbis. This turned out to be really quite easy, and after just a few hours of hacking at the weekend I have it working now. There were a few issues and bugs to solve along the way:
My very first attempt to play Ogg files worked, just slowly. My first attempt at playback with the Tremor library worked perfectly. Monitoring the system using top, I can see it uses about 20-25% CPU when playing back Ogg files, leaving enough spare cycles to do other stuff. To do:
Longer term, I'm thinking of hacking apart wmamp and essentially rewriting it. I've got several ideas on how I'd like it to look and behave. It's been a while since I've worked on GUI code, but I'll muddle through somehow. I've had a great time so far hacking on the WMA11B. Plugging together the fruits of multiple projects has proven to me again just how powerful Free Software can be. I have a neat new toy to play with, and as I have source to all the main components I can customise and improve them as I see fit. How cool is that? :-) 01:26 :: # :: /wma :: 10 comments |
||||