BYO vision mixer

Gephex is bril­liant. Prob­a­bly a great way to build a really capa­ble vision mixer (with some good real-time cap­ture hard­ware) on a shoe­string bud­get. I’m sick of drop­ping $120 and trekking over to Artar­mon every time a few sources need to be strung together! Actu­ally, if it weren’t for the fact that hire was locked in for an immi­nent evening, I’d prob­a­bly have can­celled and spent my $120 on another cap­ture card, instead. It’s nearly 10 frames behind real­time but that’s on a reg­u­lar Win­dows box run­ning as an un-prioritised process… on a ded­i­cated *nix machine I reckon that would drop back to about 4 frames, which is totally a fair deal (you nor­mally lose ~2 to genlocking/keyers any­way, and more if there’s a chain of mix­ers involved). Oh, yeah, and it does myr­iad effects and key­ing, too. Need to fig­ure out how to link net­work streams in, but its pretty much per­fect already. This is totally tak­ing prece­dence as my spare-time hard­ware project — it’s just call­ing for some proper gear to be built. Time to buy that book on micro­con­trollers methinks.

There are other hard­ware projects I’ve got cook­ing, yes, but none so imme­di­ately use­ful or eas­ily imple­mented. The great thing about this is the hard work (read:software) is essen­tially done already. At worst I’d need to hack some kind of inter­face dri­ver, but, really, it’s pretty much func­tional as is. And, because it’s already been ported to Linux and BSD, it’s really triv­ial to build a bare­bones sys­tem upon which to base it all. Pre­serv­ing key­board + mouse input is a totally nec­es­sary design para­me­ter any­way (for rea­sons of net­work stream inte­gra­tion, titling(!!), etc.) so hard­ware can be peri­od­i­cally switched on as it becomes avail­able. I’m tempted to pull apart my lan­guish­ing Athlon XP, but it feels too pow­er­ful for the task (not even kid­ding… this thing is light­ning fast) and I wouldn’t know what to do with the rest of the RAM in it. My biggest con­cern is track­ing down cap­ture hard­ware that’s Linux or BSD friendly. Ide­ally there’ll be a secu­rity cap­ture card that does PAL at full frame rate and has 4 inputs, because essen­tially that means it’d be triv­ial to add a few extra cards and, all of a sud­den, it’s quite fore­see­able to have a 12 input vision mixer that will key and title away til the cows come home.

One con­cern I have is that the mixer com­po­nent only takes two sources… which is much the same as on any hard­ware mix­ers I’ve used (two buses: select source on A + B bus, mix buses), but it feels really inflex­i­ble. I’d chain them together but think that might neces­si­tate extra gen­lock­ing time and increase over­all latency. I can’t actu­ally think of a usage sce­nario for this one, though, so it’s not a big deal. Because key­ing exists inde­pen­dently of mix­ing it’s not a con­cern of 2 sources + keyed source, and that’d be the main sit­u­a­tion in which such a thing would be at all necessary.

The other cool thing about this is you can mix dig­i­tal and ana­logue sources with impunity. Need SDI? Sure, get an SDI cap­ture card and add an input source. Firewire? Done deal. Same goes for out­put: because you can out­put via FFMPEG, your “vision mixer” poten­tially also encodes an IP-distributable stream simul­ta­ne­ously with real­time out­put to a monitor.

This is an ines­timably cool piece of soft­ware, but the most bril­liant thing is it isn’t really any­thing new. I dis­cov­ered it because I was look­ing for EffecTV which I’d last used in a pro­duc­tion con­text over 12 months ago… Gephex uses exist­ing open-source fil­ters and pro­cess­ing solu­tions and just pro­vides an excel­lent means of chain­ing them together. You can cre­ate some excel­lent motion art­work with it, but the most excit­ing thing for me is that it enables use of cheap and dis­pos­able x86 hard­ware in place of hideously expen­sive and pro­pri­etary (read: more expen­sive, but also inex­ten­si­ble and not par­tic­u­larly flex­i­ble) solu­tions that the ‘pros’ use.

Increas­ingly I’m dis­in­ter­ested in ‘pro­fes­sion­al­ism’ about this sort of thing, because that’s way out of my price league and, to be hon­est, the most com­mon place I wish this tech­nol­ogy were applied is in church and Chris­t­ian event con­texts, where (even if there is money) no-one is inter­ested in effec­tive com­mu­ni­ca­tion through applied tech­nol­ogy. So we con­tinue to try and push for­ward with no money and a bunch of inno­v­a­tive and irrev­er­ent (to the pros) solutions.

Ulti­mately, it’s about achiev­ing excel­lence in the qual­ity and nature of the work done to share the gospel and build up the body of those who fol­low Jesus — but excel­lence can be attained with­out even a smat­ter­ing of ‘professionalism’.

That said, I’d still love to own an MX-70.

Office 2007

Please stop me if I am mak­ing a fool of myself by over­flow­ing with gush­ing praise for this thing, but, seri­ously, the best $75 I ever spent on soft­ware. (Yes, you can get the lat­est Office Ulti­mate for $75 if you’re a stu­dent. Legit.)

The new ver­sion of Word is a thing of beauty. It just works, and makes sense, and is gen­er­ally a usabil­ity won­der. I’m sure some­one will pub­lish a study to the con­trary in the next week, but I don’t care — it is per­fectly intu­itive to a non-Office lit­er­ate user. Yes, that is myself – I’ve bat­tled with OO.org for years, and am utterly con­vinced it sucks. I have occa­sion­ally fought with MS Office prod­ucts in this time, and bat­tled slightly less, but still it’s felt like I’m doing things the slow way. Every essay I’ve writ­ten over the last eigh­teen months is stored in LyX (LaTeX) for­mat: I’ve basi­cally not used a word proces­sor for any­thing seri­ous in at least that long. And I haven’t used a Microsoft word proces­sor at home for three years (on a hor­ri­ble lap­top), and not on my pri­mary desk­top com­puter for four, or pos­si­bly five. His­tor­i­cal per­spec­tive: I started using Win­dows when I was 7, stopped when I was 15 or 16, and returned at 18 ½ — Microsoft have got good rea­son to be try­ing to bring me back into the fam­ily, because I’ve been away for a long time.

I am as upset as the next web devel­oper about the Out­look team’s brain-dead deci­sion to switch back to Word as the pri­mary rich email ren­der­ing engine, but will wax lyri­cal about the new cal­en­dar­ing fea­tures in Out­look!! For they are greatly beau­ti­ful. Observe my three cal­en­dars (Organ­ised into: Per­sonal & Work; Uni; Church) lay­ered together here:

Outlook 2007 week calendars layered

Groove makes me shrug enor­mously, it does noth­ing use­ful for me. Unless it’s like Share­point only… good. But even then, I’ve never dug that whole Intranet col­lab­o­ra­tive thang. Really, if I were going to run bloat-inducing col­lab­o­ra­tive soft­ware, I should start with Adobe’s Ver­sion Cue. But I don’t use it because… too many apps in my tray annoys me, and Fire­fox eats all my mem­ory as is (screeny from yes­ter­day… it peaked at about 1GB but I couldn’t be both­ered tak­ing another):

Firefox using the better part of 1GB of RAM

The only rea­son I still use that bloody browser is its exten­sions sup­port: Fire­bug has stolen my heart where Office 2007 hasn’t yet. Here’s its asset down­load gra­phy thingamijig:

Firebug in Net inspector action

It’s even bet­ter than Chris Pederick’s tool­bar. But oh how I’d love to switch to Opera (or even, shock, IE) full time now. Fire­fox really isn’t doing it for me with its bloat these days.

Speak­ing of bloat, Office 2007 is one 500MB down­load. It doesn’t down­load a 500MB stub and then install the rest — no, that includes Word, Out­look, Pow­er­point, Excel, Pub­lisher, … and all the other ran­dom crap I installed but will prob­a­bly never use. Fantastic.

Every­thing is pretty fast (but it emphat­i­cally encour­ages you to install Win­dows Live Desk­top, and see­ing as I’m a beta tester for other Live stuff pretty will­ingly, I fig­ured I may as well, and when you first install that index­ing makes every­thing chug) which is excel­lent — but I’m still look­ing to buy a new dual core 939 some­time soon. Graph­ics are fine because I have no inten­tion of upgrad­ing to Vista (read: need­ing DirectX 10 and a $1000 graph­ics card) in the next 18 months at least, but… well, another 2GB of RAM would go down nicely. Shame it’s still rel­a­tively expen­sive, though.

Microsoft, I wasn’t going to pirate your soft­ware because it’s not that good, but thanks for the dis­count, anyway!

I am what I am because Ubuntu is not

I got sick of wanky pseudo-African named-operating systems.

Actu­ally, that’s a lie, but I’m feel­ing a lit­tle vit­ri­olic (oxy­moron?). Ubuntu didn’t work at all, and of a sud­den Cen­tOS did. It’s not quite as pol­ished but I could grow to love it (maybe). I just need to look past this whole RPM thing, which really is ugly com­pared to the breadth and depth of apt options avail­able. IMO, of course. And the whole ports gig just scares me so I’m gonna stay away from FreeBSD here for a while longer (until this one breaks in another two years?)

I’d for­got­ten how much work I’d put into mak­ing Samba shares behave as well as they had been for the last for­ever, too. And was con­vinced there was noth­ing of value left on the com­puter (I didn’t delete the home direc­to­ries, just in case… that was really easy because they’re even on a phys­i­cally sep­a­rate vol­ume, it was basi­cally less effort to just leave them there) and con­se­quently (yet again) deleted a MySQL data­base with StuffOf­Value™ in it. In this case a CYIADA sur­vey data­base I’d built because there were no other options avail­able and (you prob­a­bly guessed it) I hadn’t sorted out host­ing by IT at work yet.

So the aim now is to setup a sim­i­larly solid server that’ll last me another two years, bar­ring hard­ware upgrades (this thing desparately needs more RAM even though it’s got half a gig – I have no idea where it all goes). This time around it’ll be more web-production-esque in its role, which basi­cally means it’ll have more than just being a quiet Samba PDC and file server and web dump­ing ground on its plate, at least until every­thing I’ve got planned for it today reaches matu­rity, or my sit­u­a­tion changes to the point that pay­ing for a VPS or real ded­i­cated server some­where else is a viable option. Loki does, indeed, work quite well, but I can’t screw with it quite as much as some things make me want to (not that I’d want to do that to Loki… in between cat­a­strophic hard­ware fail­ure it’s amaz­ingly sta­ble and the lack of gen­eral screwing-around-ness is prob­a­bly a big part of that! Prob­a­bly… :P)

No aspi­ra­tions sur­round­ing the idea of a media server this time around. Though there’s a pos­si­bil­ity I’ll look at maybe build­ing a ter­abyte RAID server later this year, which would mean rethink­ing whisper’s role some­what. It’d prob­a­bly be relo­cated to down­stairs (it’s cooler there) and replaced by a case with bet­ter ven­ti­la­tion and requir­ing bet­ter ven­ti­la­tion. The EPIA board I’ve got isn’t pas­sively cooled, but I reckon it can deal with get­ting toasty that much more because it’s got a fan stuck to it. It’s a bor­der­line fan require­ment, any­way — the hard dri­ves get hot­ter than the proces­sor (high­est I’ve seen the dri­ves is about 62° C, the proces­sor would only hit 55, tops) on forty-something degree Syd­ney days. If the stor­age upgrade is called for I’d prob­a­bly look at get­ting some­thing with a bit more grunt though, just because if the space requires bet­ter ven­ti­la­tion then that lets me stop con­strain­ing the sys­tem power accord­ing to temperature!

Any­way. Now I’m a Cen­tOS kid. Which makes me feel kinda dirty inside because of the whole Promi­nent North Amer­i­can Upstream Provider All In Title Case issue, but I think I can live with myself for the time being.

MacPro

It’s kinda nice and all, but seri­ously, so expen­sive. I’m sure the parts are all really high qual­ity, but that I can source pretty much all upgrade options offered for half the price or less — for exam­ple, adding a mea­gre two 512MB sticks costs an obscene $AU499, whilst even the most ridicu­lous gamer-marketed RAM (you know the stuff, it’s sup­pos­edly ‘tuned’ in pairs, etc.) can be had for $135 for two 512MB sticks (OCZ brand) — is rather telling about their hor­rific markup.

And yeah, I’m sure it’s all great qual­ity and mag­i­cally never crashes and all the rest of that mar­ket­ing crap. Good for you guys. I’m gonna wan­der back over the other side of the room here and install Win­dows on my equally-powerful sys­tem for, oh, about 40% of the cost. And don’t get me started on the absurd cost of your mon­i­tors. I can pick up an equiv­a­lent Dell 30″ for $600 less than your offer­ing… and if I’m con­tent with a mea­gre 23″ then I can get a 24″ Dell for $400 less! Even the 20″ screens are $500 apart. Seri­ously, it’s com­pletely unjus­ti­fi­able and no-one in their right mind should be pre­pared to spend that much more for a brand.

Sigh.

I need to open a buy-a-new-computer account and start putting money into it. Well not really… I just need a new hard­drive and var­i­ous soft­ware licenses I guess. I think I’d miss Ubuntu too much (maybe)… I don’t even know why, nearly every­thing I can do here I can do in Win­dows (haha — does any­one else notice the beau­ti­ful inver­sion of that argu­ment? I actu­ally think I’ve been run­ning Linux for too many years now to have posted about it in any currently-stored online blog entries! Crazy) except any­thing requir­ing a ter­mi­nal. That’s almost def­i­nitely my great­est frus­tra­tion, but no mat­ter. I need soft­ware that doesn’t run in Linux and is too inten­sive to work well in vir­tu­al­ized con­di­tions. Best option for me would be to get a whole sep­a­rate com­puter, but then… well, this thing can feel flaky after being on for two weeks. Win­dows I’d prob­a­bly get that every two days or so, but at least I’d think to reboot. Here, I just kill processes and at worst logout. Ker­nel patches are the only thing tak­ing this down, basically.

Moral of the story… some­thing like don’t waste your money on a shiny new Mac.

PDAs are teh suck

Okay, I know I bought a PDA not a phone, but still. I’m pissed off. I went to UNSW end-of-semester party tonight and didn’t want to be car­ry­ing some­thing the size of a quarter-kilo slab of choco­late with me, so swapped SIMs with another phone and took it.

Point of irri­ta­tion #1: None of my con­tacts are stored on-SIM. There is no way to STORE con­tacts on SIM that I have yet dis­cov­ered, only to import them off it. Hence, hell will ensue if I ever decide to change hand­sets (as it did when I moved from a CDMA hand­set to a GSM one a few weeks back… this point is fresh in my mem­ory, and still rather painful).

Point of irri­ta­tion #2: Because I swapped the SIM out, I left the phone with the SIM socket read­ily acces­si­ble so I could eas­ily replace it when I got home. This meant leav­ing the bat­tery out. PDAs can sur­vive a few min­utes on resid­ual charge (backup batt?) some­how, but appar­ently leav­ing it alone for… three hours (? I wasn’t out long because I’m work­ing tomor­row and… well, a few rea­sons) means that it’s prone to nuk­ing every­thing in ROM/RAM/whatever the heck it stores its stu­pid infor­ma­tion in.

For­tu­nately I’m pretty good with my back­ups (2/6/6 was the last). But I still lost a hand­ful of cal­en­dar items, more than a few mes­sages, one or two con­tact additions/modifications, my lat­est email sync info, and, more sig­nif­i­cantly, Bejew­eled high scores. I know, I know. I nearly threw it into a wall when I dis­cov­ered this. But that would have been unkind to the wall.

# by Josh on June 9th, 2006 Tags: , , , ,
| 2 Comments »

It was the power supply

Yeah. Oh yeah. Every­thing else works fine, but the brand-name power sup­ply (AOpen) had to keel over and die. Admit­tedly, it was only a 235W in a sys­tem with two opti­cal dri­ves, two hard dri­ves, and a 1.8GHz proces­sor with 768MB of RAM (I just kept adding things to it with­out really think­ing about power til yes­ter­day, when the type of crash/hang I kept get­ting struck me as being a clas­sic power prob­lem), but… a web-cam?!

That’s ridicu­lous. But true.

Any­way, I’m plan­ning on vio­lat­ing (yet again — ser­ial offender, here) the “No user-serviceable parts” sticker on the now-dead power sup­ply so I can fix it to use it in another sys­tem. I swapped it out for some generic Happy Star Lucky For­tune Power thing (yeah, the name is par­o­dic… it mightn’t have to be, though!) I had lying around — only 250 watts, mind — and every­thing turned back on again.

Well, kinda. The web-cam still doesn’t work on this machine, but I’m inclined to think that’s Linux (kernel-level/modprobe crap) being screwy, and not hard­ware par­tic­u­larly. Might be power again, but I doubt it.

And the web-cam is fine. I tested it on a Win­dows box and was delighted with the rather-un-crappy qual­ity of it. Which you’d kinda expect see­ing as it does 1.3MP still images, but I digress. Fixed-focus, but the expo­sure auto-balance is pretty decent, so I’m happy. Good expo­sure capa­bil­i­ties are what make crappy cam­eras less crappy.

As for the hub-that-wasn’t-a-switch, well… it’s going back this after­noon, if the place is open. They open IT-shop-like hours (i.e. open late, close later :P), so I’ll head down after mid­day. Hope­fully I can just get a refund on the 3Com hub, because I don’t really need a new switch after all (though I want one that’s more solid + doesn’t make squeal­ing noises incessantly!).

Oh, yeah, pic­tures. Here’s the 3Com hub on the inside. Because I had to unplug the fans, which were grind­ing annoy­ingly (barely spin­ning), and because I make it a habit to open up any bit of sec­ond hand gear to check for… dust, insects, anthrax. What­ever. The real rea­son is geekery.

3Com LinkBuilder FMS II

Note howit’s designed to read­ily accom­mo­date 24 ports. The 6 port model, reput­edly, also has the same design, though pre­sum­ably you’d need dif­fer­ent types of chips there (divide 12 by three then try and mul­ti­ply by a whole num­ber to get 6… you can’t). Any­way, it’s after 12… I’m off!

# by Josh on December 31st, 2005 Tags: , , , , , ,
| No Comments »

Asterisk

Actu­ally got an Aster­isk server func­tion­ing today at work. It’s pretty straight­for­ward when all the pack­ages are there… Asterisk@Home goes some way to doing all that for you. For those fer­vently par­tial to any par­tic­u­lar dis­tri­b­u­tion — or morally/ethically opposed to CentOS’s pack­ag­ing tac­tics… I can see why peo­ple may be, but don’t have those reser­va­tions myself –, let your fury be abated. There is a plain tar.gz file that has a script and some other stuff that basi­cally means you can install it on what­ever plat­form you like, depen­den­cies aside.

Depen­den­cies, inci­den­tally, were the main rea­son it didn’t get installed on a Debian sys­tem as orig­i­nally planned. Pacific Internet’s apt repos­i­tory seems to have been borked the last few days, so there were miss­ing pack­ages and pack­ages in the data­base but unable to be installed and all other kinds of junk… When it got to the point I couldn’t even get some­thing to install from CPAN because of lower-level depen­den­cies in Perl itself, I kind of gave up and started down­load­ing Asterisk@Home. That was yes­ter­day. I can­celled the down­load because Pacific was being too slow for my lik­ing (Tel­stra Cable has spoilt me with down­stream), and this morn­ing before head­ing in I down­loaded the dis­tri­b­u­tion from Source­forge in about 10 min­utes. Bad check­sum. Down­loaded again. Burnt to CD. Still faster than it would have been to down­load at work. Ah well.

I didn’t get in til 9.30 because I was burn­ing CDs etc, and had a func­tional sys­tem call­ing between PCs and with voice­mail, recep­tion mes­sage, etc., by 11.11 (I noted the time, it being a sem­i­nal moment in my per­sonal VoIP-using his­tory, even if I did cheat and use a pre-packaged ver­sion!). Good stuff.

Also, if you’re going to use Asterisk@Home in Aus­tralia, install the Open­Voice IVR prompts and record­ings. It’s much bet­ter than lis­ten­ing to that Amer­i­can voice which was dri­ving us nuts even whilst test­ing :P Hav­ing said that, you may need to restart the server when chang­ing voice files… ours was doing some weird thing where it seems to have cached the old files in voice­mail IVR prompts. The voice would be chiefly Aus­tralian, but for a “one” sound. Might’ve been the inflex­ion (falling “one” or neu­tral “one” instead of ris­ing “one”), but I didn’t think they had par­tic­u­larly con­cerned them­selves with that when writ­ing most PBX/voicemail sys­tems… could be wrong. Any­way redi­al­ing the voice­mail exten­sion a few times seemed to help resolve things. Bizarre.

The Aster­isk box, to bor­row a term (Hi Steve :P), is run­ning with 256MB of RAM — but is sit­ting per­ilously close to swap whilst run­ning. It doesn’t help that it leaves two instances of mpg123 run­ning in the back­ground for hold music, as well as vsftpd (seri­ously, who’d use that on a tele­phony server? If you need to backup voice­mail, write a cron job to copy the files to a remote server. Bingo, no FTP server required! Grr.) and a hand­ful of other crap. Any­way, it’s prob­a­bly going to get more mem­ory before it moves into pro­duc­tion use. There are two Fritz! ISDN cards in it, but they haven’t been set up yet. Any­one seen a site about installing Fritz! cards with Aster­isk? All I’ve seen about them is that they need ker­nel recom­pi­la­tion for chan_capi stuff… and recom­pil­ing ker­nels has never struck me as par­tic­u­larly fun. (The few times I have tried, boot­load­ers have been unco-operative… i.e. I didn’t know what I was doing!)

# by Josh on December 21st, 2005 Tags: , , , , , , , , ,
| 2 Comments »