Archive for the ‘Technical’ Category

TapMedia Players (3) In practice

18 Jul 2007 11:16 by Rick

In part 2, I described a method for getting the three primary applications installed safely on your system. You should be able to run any media files that you come across with it’s optimum application. In the case of generic files such as .wav, .mp3 and .mpg you may not have assigned a player, in which case, ask for the list of options when prompted and select which one you would like to handle it. At fist un-tick the box “Always use the selected program” until you have a feel for which player is best for you (and which ones work!) If you change your mind later, open a file with the right mouse option “OpenWith …” and chose an alternative.

DVD Playback

Note that none of these are actually capable of playing a DVD by themselves. They still needs the relevant codecs from a third party. If you go to The Plugins option table and click on “Look for Plugins on the Internet” you will be taken to a sales page with a number of options (Roxio, CyberlLink, InterVideo and nVidia at present). Fortunately you will find that you probably already have one which came with the DVDROM drive. If not then there is a freeware alternative available called DScaler.

The other thing that you will notice is that whatever you set earlier, Windows Media Player or an application that came with your DVD/CD drive may be the application selected automatically when you insert a disk. This is not directly related to the application itself but the Autorun features set on the drive. What I suggest is that you go to My Computer, right click on the drive icon and select preferences. On the Autoplay tab select each media type In turn and tell it to “Prompt me each time to chose an action.” This will give you a chance to think about it and make your decision later for each type of disk.

Online

One feature that you do want that comes with all the players is the browser plug-ins that enable inline and streaming content to be handled correctly. This is what the question about MIME types was about on the real Player install. Fortunately all three now come with plug-ins for IE, Firefox and, I think, Opera. There is a fourth application that I haven’t mentioned yet which is important in this context—Adobe Flash Player. This doesn’t present too many complications, it is a single function application unlike the others, only works from within the browser and comes with its own codecs built in.

Part 4 will talk about troubleshooting problems.

TapMedia Players (2) Installing

16 Jul 2007 12:50 by Rick

As we saw in the first article in this series, in order to play all formats of auto and video files we may come across we need to have three separate Media Players installed. It used to be the case that the bickering was intense and the players would steal control from competitors without consulting the owner of the PC. I am glad to say that this has largely died out but you still need to install the programs with care so that you retain control (and your sanity). Note that these pieces of software are not those that you can accept all the defaults and let them rip, you do need to read all the information presented to you and make some decisions.

Unfortunately one of the features of these programs is that they have many configurable options and no good information about what they mean. Each of the applications does a lot more than just play music or video. They come with library organisers, instant messages about new (media) releases, online information about performers, graphical visualises for music, online radio stations and shops where you can buy stuff. Although you may want some of this, you are unlikely to want three different versions so these guides explain how to minimise them. You can always change you mind later.

Windows Media Player

You will find that you have this installed already but it is worth getting a recent version (I would suggest version 10 at present even though 11 is available) partly for security reasons and partly to benefit from its less aggressive attitude.

During the install (or afterwards by going to the Tools—>Options menu) you get some choices to make. I would suggest looking carefully at the privacy options and also the file types that it handles. On this last point, this is the list of types that it will set itself up as the default player overriding other competitors. I would suggest allowing it to handle it’s own proprietary types (asf, wma and wmv) but it is your choice what other more generic types you would want it to play, particularly mp3, mpeg and CD & DVD disks.

Quicktime

The Apple Quicktime format is very popular for internet video files, partly because of the popularity of the Mac with production houses. There is a very good independent install guide for it at Codec Guide but it still needs some modification for general use as that was written for a particular purpose. The software can be downloaded from the Apple web site. At the time of writing, this is version 7.2 Be sure to get the version without iTunes unless you particularly want that software.

My suggestions for the various prompt windows you get are
Destination Folder—un-tick the box for “Apple Software Update”;
Configure Files and Mime Types—in much the same way as for WMP, only allow it to handle it’s own proprietary types (in fact it won’t allow you to remove one of them). Also un-tick the “notify me” box at the bottom.

Once it is installed I think you need to do some further configuration. In the system tray you will find the blue Q icon. Right click on this and select QuickTime preferences. On the Update tab, check that “Check for Updates” is not selected. On the Streaming tab set your internet speed and un-tick the “Enable Instant On” box. Finally, on the Advanced tab, un-tick the “Install QT in system tray” box and click OK. Now start QuickTime, eg. from the Start menu or the desktop icon. Go to Edit—>Preferences—>Player Preferences (note that Quicktime Preferences is also available here if you need another look). Tick the “Use high quality” box and un-tick the “Show Content Guide”. Now, next time you start it you will have a clean, unobtrusive and really quite good media player.

Real Player

Now that any serious allegations of spy-ware are past them, this is a player like any other and one that you may like; it plays more formats than the others. You won’t, however, come across much video material on the internet in proprietary Real Video format but quite a lot of audio streaming sites, such as the BBC, use the Real Audio formats. There are some candid recommendations on how to install it from one of the company’s engineers on a forum. The software can be downloaded from the Real web site and be sure to go for the free version.

When I installed it I un-ticked all the boxes on the Desktop Settings prompt and on the Universal Media Player click “Select media Types”. This is a similar process to the other two and, again, I would suggest only selecting the native proprietary formats to start with.

Once it is installed, start it up and go to the Tools—>Preferences menu item. On the General tab set it to display the player only on start-up, Set your internet speed on the Connection tab and take a look at the Privacy options. I have lost my notes now but I think there is also a Configure Message Centre tab, and I would suggest un-ticking all the boxes, the same on the Auto Update tab.

The third in this series will cover using the players in practice.

TapMedia Players (1) The Problem

14 Jul 2007 08:05 by Rick

One of the trickiest problems to solve with computer software is interactions between different products and nowhere is this more difficult than with “media” software. By media software I mean the programs that play video & audio files, CDs & DVDs. For the moment I am ignoring the creation of these files and disks which includes recording sound and video, writing disks, ripping files and conversion. What I am looking at is playing what you have got or can download. Later I will be looking in more detail at the playback for presentations such as we use in Church.

What makes this so complex is that there are at least three competing systems, each with their own proprietary formats and which largely refuse to talk to each other. These are Microsoft Windows Media Player, Apple Quicktime and Real Player. What is worse is that these programs have a reputation of bickering and fighting over who has control of the PC that should be yours. You don’t have a lot of choice about the file formats because others are creating them, so what I have been looking at is how to achieve the maximum capability with the minimum of annoyance.

I will state at the start that I am not an expert in this field, I am trying to make sense of it so if you have any useful insight I would welcome hearing from you. It is possible to get into quite a mess with this and on more than one occasions I have had to un-install everything and start again.

The reason that the problem exists at all is that, if nothing was done to media files, they would be absolutely huge. I am sure you can do the maths but even a small 320 x 240 video at 25 frames per second and 24 bit colour depth generates a huge file in no time (44Mbps). This is what analogue VHS recorders did and why the media was relatively bulky (and poor quality). The situation for audio is similar; though the data rate should be lower, we are less tolerant of errors so the files can still be large. For example a CD samples at 44.1 thousand times a second at 16 bit resolution on each of two channels (1.3Mbps). Analogue audio recording could be good, arguably better than digital. What was done to reduce the quantity of data in both cases was to compress the files eliminating bits that were thought to be unnecessary. A certain amount of lossless compression can be done but most of the methods involve some compromises of quality over space. It is these algorithms which compete and some of them are proprietary.

The software that handles this compression/de-compression is abbreviated to “Codec” and there are hundreds of them. The way that they are supposed to work is that they are first registered with Windows and then any media player that needs to use one sends the raw data to it and it comes back processed. The media player decides which codec it needs by looking at the identifiers on the file. This is where the system breaks down. Some of the media players refuse to even look at competitor’s files, so Windows Media Player will not play Quicktime .mov files however hard you try and only Real Player will look at .ram files. In fact Real Player is one of the better ones and will play most things sent to it if the codecs are available. This is the second problem—the proprietary codecs are only generally available with the corresponding company’s player. If they were charging for this software then there would be a good case for challenging them on competition grounds but they are, at least in basic form, given away free. So, for Real Player to process a Quicktime file, Quicktime itself has to be installed, even if you don’t use it. Finally WIndows Media Player is one of those programs that comes pre-installed with Windows and is difficult, if not impossible to remove.

So, how should this be resolved. Well, ideally, the manufactures ought to be a bit more sensible about this. In the codec, only the “co” part is really proprietary. The “dec” parts have published standard algorithms and should be freely available; after all they want us to view the films coded with their software. The coding part, the creation of files, is a business matter and if they want to hold onto and/or charge for this, it is up to them, but in that case the creators have a choice of which format they want to use. Secondly they should get off their high horses and make the players acknowledge that there are other good things out there and start recognising each other’s files.

In the short term we need to make the best of what we have got and that is what I will look at in the second article in this series.

TapSoftware Updates

13 Jul 2007 08:53 by Rick

Keeping up to date with software fixes these days can be very difficult; at best it is time consuming. Many applications come with automatic notifiers but often we are not comfortable enabling them and, anyway, they vary in efficiency. Some, for instance, only work from admin accounts; others ought to but instead try to update from limited accounts and fail. Microsoft pioneered this with Windows Update with Automatic Updates and have had a period of mixed success and errors which we hope is now over [update: spoke too soon on this. Reports of problems with this week’s .net patch]. The Anti-Virus people have got it best in hand but even they hiccup when it comes to vulnerabilities internal to their own software.

Today I discovered a very useful facility which does for your whole machine what Microsoft Update does for their products. Secunia Software Inspector is a free service which uses a Java applet to go through your machine looking at the revision levels of software all types and notifies you if there are security updates that you should be installing. I ran it today against a machine that is pretty well maintained (but not by me) and it noticed that Adobe Flash Player and Sun Java JRE were both down level. It even told me about the update to Apple Quicktime which was only announced this week. A company like Secunia is going to be on the ball because it is they who tell the rest of the world what is up, and I trust them more than some because they don’t have a marketing team leaning on them, at least not in the retail business.

TapPrinter Ink

9 Jul 2007 13:36 by Rick

There is a saying that printer ink is more costly than gold. I haven’t done the sums but don’t doubt it.

When you buy a printer, apart from quality, cost is a major consideration. But it is not just the original purchase price, but the ongoing cost of consumables. The paper is a known factor and you chose according to need; most papers will work and you pick the one you like. What you have little control over is the ink, because they use proprietary cartridges that are not interchangeable.

There is a bit of an argument at the moment about who’s system is cheapest to run with lots of statistics and studies being published to prove one case (260K PDF) or the other (1.9MB PDF). The factors that come into play are

  • how much of the mechanism you have to replace with the cartridge
  • how much is actually left when the printer decides it is empty
  • in a multi colour cartridge, how much is left of the other colours when one goes empty
  • the actual cost of the ink

Logic would suggest that a separate colour system should be more efficient than a multi colour system. In practice, it helps, but doesn’t make a huge difference unless you print a lot of stuff with a limited range of colours—the company logo for instance. The exception is that it makes sense for the black to be separate because plain text and pictures, especially photos, have different requirements.

Similarly, replacing the print head with the cartridge would seem to be an extravagance but for very light users this may be a sensible option because blockage is more likely to happen and this is an easy way to solve it without replacing the whole device.

Mechanisms that decide when the cartridge is empty have been the cause of complaints when they are too cautious. Also, if they rely on some proprietary chip, then this can hinder refill companies reusing the cartridge because they can’t be reset to “full”.

My personal preference, and that of Which, is the Canon ink tank system where the refill consists of nothing but a plastic container with the ink and a bit of sponge. No electronics at all and a separate tank for each colour. I believe the “out of ink” warnings are done by photo-cell, one on the tank for the “running low” warning and another on the feed to the head for “right out” and when they say out, they are really dry. We have never had a problem with it but we do a reasonable amount of printing which keeps the heads clean. After half a dozen colour refill sets we [correction] are ahead by one magenta cartridge which was a surprise as a regular print job has a lot of red have used one more magenta and one less yellow catridge which seems reasonable considering what we print most.

BUT, when it comes down to it, the main factor on cost-per-page is marketing. It is well known that the initial cost of the printer is subsidised. The manufacture costs of the cartridges are very much lower than what you have to pay and the price is set by how they recover this subsidy. Competition is fierce and, now, how they figure in the cost war will have a major impact. You can control this to some extent by going to a refill company or third party supplier. The manufacturers, of course, claim that their ink is special, but I have never found a problem with using cheaper supplies. So when you do your research, see what is available and how much it really costs.

Thanks to Windows Secrets for some of the background links and the topic idea.

TapAkismet Spam Statistics

6 Jul 2007 09:05 by Rick

As my “caught spam” counter rapidly approaches the 100,000 milestone I have noticed that there seems to be a discrepancy. Currently I get between 200 and 300 spam comments a day on this blog. This high figure really kicked in over Christmas last year but I have been using the Akismet anti-spam plugin since the previous May when the problem was significant, but a lot less.

The way Akisment works is that, as each comment arrives, details of it are checked against a central database at Automattic and an opinion is given as to whether it is spam or not. If it thinks it is spam it is put in a separate bucket and doesn’t get displayed; if not it goes for moderation as normal (I am a bit more paranoid than some and every time I consider taking off the moderation, I get a flurry of misses). The spam comments are kept for 15 days unless deleted manually and I have an opportunity to override the decision, though I haven’t seen a single false positive yet.

So every comment that arrives is given a unique number in the blog database, there doesn’t seem to be any way of bypassing that as they are all kept for a period and need to be referenced. As I write the latest spam message has been given number 62,407. This is 150 a day since I started, which seems reasonable. So how do Akismet reckon that they have stopped 99,315 on my behalf, almost 100 a day more?

The faq says

Some versions of the Akismet for WordPress plugin will hide duplicate comments, making it appear to be a different number caught than displayed.

but I can see no evidence of that and I am using the standard issued plugin.

It is not particularly important as there is no doubt that it does a good job, but it would suggest that their web site claim of nearly 2 billion spam blocked is also inflated.

TapafterWorkOptions

26 Jun 2007 11:53 by Rick

I had a visit to this blog yesterday via the address http://10.120.0.17:15871/cgi-bin/afterWorkOptions.cgi?ws-session=3003182594. recognising this as a private lan (10. address) I was curious how it got into my referrer log without being translated by the NAT router.

mrry seems to think it is something to with being rated by Websense as unsuitable for work but I find that hard to believe. This is a family friendly blog!

TapBathtub theme for Order of the Bath

24 Jun 2007 19:36 by Rick

I thought it was about time that I created a theme that suited the blog title and incorporated all (and only) the features I wanted. Subject to change in the future, this is it.

It is

  • Mimimalist—so a lot of things that I don’t want/like are missing. Like calendar, monthly archives (what is the point) etc.
  • Fluid—it works to any (reasonable) screen size
  • Extensible header image—one that stretches with the screen
  • There is built-in (but optional) support for my favourite plugins—Akismet, Custom Comments, Get Recent Comments, Gravatar and Paged Comments.

If you like it, I have made it available as a download. It should be fairly easy to adapt.

Please report any problems here and I will do my best to fix them, otherwise, what-you-see-is-what-you-get (except the logo at the bottom which is not included in the download).

TapGpg4Win and Enigmail

22 Jun 2007 17:40 by Rick

There is currently a problem that Enigmail, the OpenPGP extension for Thunderbird doesn’t work with Gpg4Win. The latter is the GUI version of GnuPG for Windows. The versions tested were Enigmail 0.95.1 and Gpg4Win 1.1.0 but I understand other versions are affected.

There seems to be some dispute as to which program is at fault and the most seen recommendation is to un-install Gpg4Win and install the plain command line version of GnuPG. Although there is some overlap, both provide a key management GUI for instance, this would lose some of the useful disk management functions of Gpg4Win.

I have discovered that there is a much easier fix. In Thunderbird, go to the OpenPGP ==> Preferences menu item and in the “Files and Directories” window, tick Override and enter C:\Program Files\GNU\GnuPG\gpg.exe. Now stop and restart Thunderbird and every thing works just fine.

TapComputer error nearly costs SNP election

21 Jun 2007 18:52 by Rick

Gerv Markham reports that they used MS Excel to count the votes in the “Highlands and Islands” constituency and due to a coding error forgot to count any votes for the SNP. Had a alert agent not spotted this the SNP would have been two seats down rather that one up overall in the Scottish Parliament. See the full report for the details.

^ Top