'Quick' efficiency


In 2004 I discovered what could easily be considered the greatest app launcher ever created on the Mac, but it's much more than just an app launcher.  I am of course referring to Quicksilver.  This has been the very first thing I put in the apps folder after a fresh OS X install ever since.  I love how it allows me to all but ignore my dock and not only live without spotlight, but evolve past it.

Quicksilver can and will completely revolutionize the way you think of your apps, files and bookmarks and really all the contents of your drive.  Rather than wasting time looking for what I want in the dock or anywhere else, I just tap F6 (you can set it to almost any key) which brings up the bezel and I then type the first 1-2 letters of whatever I'm after.  That may sound odd to some, but once you get used to it, and learn how unlimited and customizable it is, your computer use and data access will be on a much more cerebral level.

Aside from the massive amount of efficiency this gives my daily computing, it has also given me a much better mental image of my files after using it all these 8 years now.  Having BSD roots back to 1986, I am happy to type rather than use the mouse.  I am very much the only use the mouse when really needed type.

The shocking thing is that after all these years of Quicksilver being around, there are still many people that have never used it, or even heard of it.  I think this is at least partly to blame on the bloated dock syndrome so many suffer from on Mac OS X.  This is part of that dock aesthetic Apple started in OS X.  I personally think the dock is next to useless.  It's kept hidden, and only contains apps that are running, and a rare minimized window, but I normally prefer just hiding whole apps to get them out of my way visually.

So for those of you willing to relearn how you get at your stuff within the OS, I encourage you to give it a try.  I can't tell you exactly what it will do for you, because thats actually up to you.  It learns from your personal use of it, and what things with similar names you open up more, so that after just 2 -3 uses it has already leaned many things from you.


Download:
Leopard/Tiger - Panther

Other Links:
Homepage - Plugins

Leopard performance on sub-867 MHz G4 hardware


I use one of my spare 400 MHz Sawtooth for testing things on occasion, and a few nights ago I was installing Leopard and testing performance.  I went the more direct route to shoehorning it on by putting the drive in my 1.8GHz and installing it that way.  I then put the drive in the 400 MHz again and it booted perfectly into a fully updated 10.5.8 install.  No need to mess with firmware.

The performance was quite shockingly good to my delight.  I opened Camino and Aurora with 4-5 tabs each then played 480p XviD in VLC 1.1.12, and had about 9% CPU to spare and no real system lag.  After testing VLC playback I fired up MacTubes and was able to play the SD h.264 feeds perfectly smooth at approx. 81-82% CPU consumption.  If you download the files with MacTubes, and play with VLC, or even play the feed in VLC; you can get away with even less CPU power, which makes a G4 350 MHz (AGP) a possibility to watch youtube with no frame drops.  To be fair, the test system I'm using has 2GB RAM and an extra Geforce 6200 I have which supports every GUI/GPU feature in Leopard so those alone would help on any CPU.

This is even more proof that having a GPU with Core Image and Core Animation support is really what makes good Leopard performance.  Without GPU hardware support for those built in can't turn off features in 10.5 you have to pay a CPU tax of up to 34%.  This is because without CI/CA the OS uses the CPU to emulate the GPU.  So anyone not running a Geforce 5200 or higher or a Radeon 9500 or higher under Leopard is literally slowing their CPU down as much as 34% and about 23% on average.  The only way to actually disable all the GPU/GUI features in 10.5 that I have found is to have a tower and remove the video card.  That means you can only remote into it. 

The moral of the story is you're better off running Tiger if you have an unsupported GPU since it doesn't force the GPU features on the OS and CPU unless there is proper hardware support.  If you do have GPU support then your 10.5 performance should be just as good, if not better.  My two daily use Sawtooth both perform slightly better in all aspects on 10.5 and much better in OpenGL related code.  A fully capable GPU is literally like an extra CPU in Leopard.  In Tiger it's more of a slight benefit. 

It's all about having the right hardware in the right places for the OS you run.  The performance is amazing considering it's less than half the minimum CPU spec.


Test system specs:
Sawtooth
G4 400 MHz 7400 w/1MB 2:1 L2
2 GB Memory
27 GB PATA HD
Geforce 6200 256 MB AGP
Leopard (10.5.8)

CorePlayer + Perian = Better AC3 Audio


CorePlayer struggles with AC3 audio, but I discovered that installing Perian fixed this issue about 90%.

As a big user of VLC and Mplayer for about a decade before I bought CP in January, I hardly ever use Quicktime for playback.  In turn, I never bothered installing Perian, as I didn't need extra codecs for it. It turns out that Perian makes some codecs truly system wide for any compatible app.  In this case the compatibility is accidental.

Most of the MKV wrapped h.264 I play have AC3 audio so this is a huge help!  I still have some issues with XviD that have AC3, but all the h.264 that had it play fine now.

Just something I wanted to share with the few CorePlayer users out there. I am running version 1.3.6 of CorePlayer and OS X 10.5 Leopard for the record.

Perian can be found here for those that don't have it or know of it.

Video on PowerPC: Part 1 - Playback on G4/G5


I will say it right off the top... I am a video super-nerd. I love documentaries, films, sitcoms and animation, among many other things. There is no doubt to how much I love my video collection and the fact that I can play it all beautifully on PowerPC hardware. The hardware I currently use for playback is a PowerMac G4 Sawtooth with a 1.8GHz 7448 CPU and over 10.5 TB local storage, but I have used hoards of different PowerPC Macs over the years, and with many different Mac OS, codecs and playback software. The Altivec engine found in all G4 and G5 CPU's is key to good playback on more codecs and resolutions. In the next month or so I will be doing another article based on G3 video playback, but since video really comes to life with Altivec support I wanted to lead with it.

Since at least the early 90's, Apple hardware has been a leader in the professional video production industry, with Mac OS and Avid based applications. For years consumers have been able to play DVD's, and edit their personally filmed camcorder video on their Macs. Until 2002 though, the Mac platform was very limited in terms of good software and codecs for the ripping and playback of compressed video like DivX, XviD or anything FFmpeg based. This was a shame before then, because these are by far the most efficient codecs in terms of low CPU use and file size, and in turn the best for people that want to rip or digitize their video collections.

When OS X 10.2 Jaguar came out in August 2002, it really was a great time, as that was when a lot of new developers started porting their apps to Mac OS. Because of the BSD foundation of OS X this brought many developers over from the Unix and Linux world, and along with them they brought greats like VLC, Mplayer and Handbrake, just to name a few. By summer 2003, the Mac platform had done a complete 180 from DivX inept to fully capable, and I for one was very excited by this as a lover of video. Although I am going to explain how to get good playback on other codecs, I just want to first emphasize how crucial DivX and XviD are to a good experience, because of how inherently efficient both are, especially on sub-700MHz G4 hardware. Even if you have hardware far beyond that spec, it's still nice to keep CPU cycles free for other things. On the extreme low end of the G4 scale, like a 350-600MHz, these codecs will be your saving grace.

When it comes to h.264 video, it's less blocky, but can easily use 2-3x more CPU compared to DivX etc. The YouTube web interface for example is Flash on top of h.264, and will make many PowerPC systems come to screeching halt unless you have a faster G4 or a G5 system, but even then anything higher than 360p can be taxing on it. Flash has not been supported on PowerPC for over 2 years now, and I don't recommend anyone use it any longer.  There are far too many security holes in 10.1, and any technically sane person would never use it.  Those that love to spread the 10.1 plugins that are modified to show as newer versions should be banned from ever helping anyone with computers.  For those that are a true slave to flash, and simply have to use it, you shouldn't do it on a PowerPC.  Life can exist without it very easily.  In my opinion using it is like saying you love things that are covered in horrible.  Far too many people are slaves to this horrible technology. 

I do have a few tips on how to improve playback and lower CPU use that I will get to in this article. One app out there that several PowerPC users I know online have raved about is CorePlayer, which several have confirmed can play 720p and 1080p h.264 on higher end G4 and G5 systems. CorePlayer costs $20 and once I buy and do extensive testing on it I will write an article on it.  Since this writing, CorePlayer has closed operations and is no longer for sale.  I was one of the lucky few to get it while still available, and yes it does play 1080p perfectly on my single G4 1.8GHz.  This article, however, is focussed on freeware playback software such as VLC, Mplayer etc.

I am now going to group the hardware into two categories based on computing power, as it will help fine tune the playback options to the power you have to work with. The lowest OS I will advise on in this article is 10.4 as anything lower really limits playback options. When I do a G3 playback article I will add 10.3 and even 10.2 to the mix. Anyone running a G4 or G5 is far better off on 10.4+ for playback in terms of better software with more codec playability.



Group 1 - Single G4 350-600MHz

Your only real options are DivX (FFmpeg) based codecs at a lower resolution (240-360 high) for compressed video or standard DVD. Some low res h.264 will play also in MacTubes, once you get up to about 450MHz.

Best Software Options for 10.4:

 - VLC 0.9.10 and/or Mplayer OSX 1.0rc1 for DivX
 - Apple DVD Player for DVD
 - MacTubes (set to use Quicktime in prefs.) for YouTube

Best Software Options for 10.5:

 - VLC 1.1.12 and/or Mplayer 1.0rc1 for DivX
 - Apple DVD Player (this will only work on a sub-700 MHz if you turn off deinterlacing)
 - MacTubes (set to use Quicktime in prefs.) for YouTube

Since Leopard requires a G4 867MHz+, you should expect at least a slight decline in performance in this 350-600MHz range if you have shoehorned it on your hardware.



 Group 2 - Single G4 700MHz+ - Any Dual G4 - Any G5

This is where video playback really shines on Apple's PowerPC systems. Virtually every codec is usable, and where your hardware sits on this scale will determine the quality/resolution it is capable of playing. Having a 1.0 GHz or higher is preferable but a 700 MHz is enough beef in my experience. I suppose even the 667 MHz PowerBook and PowerMac could be included, as they are close enough to 700, but I have little direct experience with that exact MHz.

Best Software Options for 10.4:

- VLC 0.9.10 and/or Mplayer OSX 1.0rc1 for ripped video of any codec or DVD's
- MacTubes for YouTube

Best Software Options for 10.5:

- VLC 1.1.12 and/or Mplayer OSX 1.0rc1 for ripped video of any codec or DVD's
- MacTubes for YouTube



About the Software


VLC

This is easily the most capable freeware player on any OS. Although 0.9.10 (last version with Tiger support) is very good, I feel the newest build of 1.1.12, which needs Leopard, is enough of a jump forward that it's worth upgrading if video playback is one of your main roles for your Mac. This newest build is hands down the best freeware player on the platform. I use it about 95% of the time I play video. I honestly cannot think of one bad thing to say about 1.1.12. It's that good. VLC had hinted at dropping PowerPC development about a year ago, but some great coders stepped up and they obviously have a great comprehension of Altivec optimizations.

0.9.10 - http://sourceforge.net/projects/vlc/...0.dmg/download

1.1.12 - http://sourceforge.net/projects/vlc/...c.dmg/download

Web Plugin - http://sourceforge.net/projects/vlc/...c.dmg/download

Archive - http://download.videolan.org/pub/videolan/vlc/


Mplayer OSX

Mplayer is a very old and loyal friend that I have always kept around. It offers great features like frame dropping for slower machines, and I find is the best player by far at playing ripped media off optical disks, with it's well implemented disk cache feature. There are actually 2 different Mplayer projects on Macs. There is the standard Mplayer team and then there is another development team that ads the OS X name on the end. Over the years this has resulted in two different directions for the app and many different versions from each. The best one in my experiences is 1.0rc1, which is a PowerPC optimized build from 2006 that runs great on Tiger and Leopard. VLC is a more elegant and capable player in general, but Mplayer is a beast and has always been there for me when I need it. A very worthy tool to keep around indeed.

It tends to like G4 chips a lot more than G5's.

1.0rc1 - http://www1.mplayerhq.hu/MPlayer/releases/MPlayerOSX_1.0rc1.dmg


MacTubes

This is a saviour for anyone with at least a G4 450MHz (maybe a 400 if it's all you're running), and the desire to be able to watch YouTube video. It also offers a totally different method of experiencing YouTube. Set the player setting in preferences to Quicktime to make video playable. I am able to play 240/360p/480p perfectly on my G4 1.8GHz with Flash on the site, but after almost two years of using MacTubes now I honestly prefer it over the web. For one you never have to look at what are generally obnoxious comments, unless you want to see them, by clicking on info which opens the comments in a separate window. It makes YouTube a lot more like watching a video in VLC or Mplayer. A winner in my book.

MacTubes is also a very capable and robust YouTube downloader, and also gives you direct urls to each resolution offered, to stream to VLC or whatever player you choose.

Always get the newest - http://macapps.sakura.ne.jp/mactubes/index_en.html



A note about Quicktime 

While it is useful to give MacTubes its most CPU-efficient form of playback, and to do simple edits (Pro version), it is easily the least efficient playback application on the Mac.  VLC and Mplayer beat it hands down in terms of CPU consumption, and by margins of 50% and higher.  Even if you have every codec under the sun installed for Quicktime, it's simply far too much of a CPU hog to use for playback.  No matter the codec, resolution, or whatever - QT is a sloppy pig.  All I use it for is MacTubes (indirectly) and simple edits, and/or joining parts together ($30 pro version).

Quicktime has a clear role on the Mac, but its strength hasn't been playback for a long long time now.  Even with MacTubes, I often download the videos and watch them in VLC.  A clear example of the difference in CPU use...  to play a 360p video in MacTubes via Quicktime it uses about 30-35% of my 1.8GHz 7448.  To play the same video in VLC it only consumes about 18-19%, and a very low 9-12% in CorePlayer.

The moral of the story is don't use QT to play video.  Streaming a video is going to consume the same bandwidth, so why not just download it and play it with a more efficient tool.  I only ever use VLC and CorePlayer to stream, and only for video I just want to watch the first few seconds of to see if it's worth downloading.  I delete most of them after watching.

PCI Gigabit Ethernet on the cheap


I am the proud owner of several Sawtooths; these were the last PowerMac to have 10/100 ethernet.

I bought two Trendnet TEG-PCITXR PCI gigabit ethernet cards for only $12 each on ebay.  I am happy to say that it works perfectly and uses built in drivers found in 10.5.2+.

Here is a product page for it:  TEG-PCITXR

It lists nothing about mac compatibility, but I read on a couple different sites that these worked in 10.5.2+ so I gave them a try. Glad I did.  It's also a great idea for firewall systems that need 2 ethernet or even a PowerMac with dead onboard eth.

So any PowerMac with PCI and 10.5 can easily benefit from this card.  I am loving the true gigabit speed.  It makes network drives perform like local drives.


EDIT:

After further testing I have found that these cards do work under 10.4.11.  I had one working on both my G4 upgraded G3 tower, and one of my spare Sawtooth.  Both were running 10.4.11.

I have been using the two cards under 10.5 for over a year and they offer very reliable and consistent performance.  I get around 27MB/sec on average, and up to 34MB/sec when transfering between my two Sawtooth.  Far better than the 4-11MB/sec I get on the built in 10/100.

These cards also work perfectly in Debian and Lubuntu Linux.  There seems to be no OS I use that these don't work perfectly with.  OpenBSD also.

These cards are a must for G4 towers.  The built in ethernet on my Gigabit (Mystic) tower only gets around 20-21MB/sec vs these cards that are 27-34MB/sec as I mention above.