dinsdag 13 mei 2008

flash plays mp3 files at wrong or double speed

I had a flash file loading an external mp3 file trough actionscript. This works perfectly in some flash players, but others might play the mp3 file at a wrong speed (double speed).
This problem never occured to me, but i have some friends experiencing this problem.

The reason for this problem is the encoding of the mp3 file.
Flash only supports mp3 files encoded at a multiple rate of 11.025, so you should only use mp3 files encoded at 11, 22, 44... bitrate, where 44 would cause the least of problems. Other bitrates will (in some players) play the sound at a wrong or double speed.

Strange Adobe never fixed this, since this problem never occured with older flash players.
Anyhow, this encoding thing should do the trick, and your sound will play perfectly.


here some testing results i found at drupal.org
there is also a patch offered so the flash can only play files at the correct speed.
-----
TESTFILES LOCATED AT: http://playlist-demo.drupalart.org

Constant Bitrate, 192 Kbps, 44100 Hz, Stereo [OK]

Constant Bitrate, 128 Kbps, 44100 Hz, Stereo [OK]

Constant Bitrate, 112 Kbps, 44100 Hz, Stereo [ stuttering start/finish]

Constant Bitrate, 96 Kbps, 44100 Hz, Stereo [ stuttering start]

Constant Bitrate, 64 Kbps, 44100 Hz, Mono [ stuttering start/finish]

Constant Bitrate, 128 Kbps, 32000 Hz, Stereo [plays at faster speed, stuttering start]

Constant Bitrate, 96 Kbps, 32000 Hz, Stereo [plays at faster speed, stuttering start]

Constant Bitrate, 96 Kbps, 24000 Hz, Stereo [plays at even faster speed, stuttering start]

Constant Bitrate, 96 Kbps, 22050 Hz, Stereo [stuttering start]

Constant Bitrate, 64 Kbps, 22050 Hz, Stereo [OK]

Constant Bitrate, 32 Kbps, 11025 Hz, Stereo [stuttering start/finish]

Variable Bitrate, 125-180 Kbps VBR [OK]
------
thanks to zirafa for these testing results
------

or you can always use a hammer...
Please leave your comments.

.

woensdag 12 maart 2008

Virus and antivirus on MacOSX

Is there a need for AntiVirus software on the Mac?

It is commonly said that there are no virusses affecting the Mac, This is true in a way, but virusses for MacOsx exist.
Most of them are old virusses, and won't do any harm to your system, but nevertheless new virusses are popping up. Although still innocent, it could become a problem in the future.
Apparently more and more hackers try to prove some instability in the MacOS environment.

Today, a Mac affected by (or malfunctioning due to) a virus is still very rare, but i tried the famous ClamXav anyway.
ClamXav is een AV programm that uses the ClamAv engine to search your computer for virusses. ClamXav has a GUI wich makes it easy to use.
This particular software one of the most famous available for the mac, and its free.
It is known to be a fast and accurate piece of software to protect your computer from virusses.

I have installed ClamXav and did a systemscan on my Mac. For being a fast scanner, it took me more than 2 hours to scan my computer, and it slowed down the entire system, but no mac virusses were found, ofcourse, wich is still a good feeling.
(The scan did find a trojan in an old deleted email)


---my scan results ---


Started scanning
Please note, large files will take a long time to scan.

/Users/******/Library/Caches/Java/cache/javapi/v1.0/jar/count.jar-21edef6a-635fcef5.zip: Java.Classloader FOUND
/Users/******/Library/Caches/Java/cache/javapi/v1.0/jar/count.jar-2cf0bf70-5123d8f1.zip: Java.Classloader FOUND
/Users/******/Library/Mail/POP-********/INBOX.mbox/Messages/11812.emlx: Trojan.Dropper-3172 FOUND
******
The above file looks like it may be part of an email mailbox, please think carefully about what to do with this file. If it has been quarantined, you may end up losing some email. I suggest you leave this file where it is (or move it back if it's been quarantined) and delete suspicious messages from within your email client.
******
----------- SCAN SUMMARY -----------
Known viruses: 228651
Engine version: 0.92
Scanned directories: 6287
Scanned files: 65202
Infected files: 3
Data scanned: 63272.87 MB
Time: 8248.216 sec (137 m 28 s)

ClamXav v1.1.0 - ClamAV 0.92/6218/Wed Mar 12 20:07:21 2008 - ClamXav

One or more infected files were found, but were left where they are. You can either deal with them yourself, or scan again with the preferences set to move them into a different folder.


-------------

I deleted the 3 corrupted files manually, so my system 'should' be clean now..
Hopefully, virusses will stay away from the mac forever, but this would be a fantasie.
And if you haven't already done so, it is very advisable to download and install the latest security update for MacOsx, you can find it on the apple website

anyone has any info on botnets using macs as a zombie?


some related stuff:
forum topic virus on mac - dutch
info about clamAv and clamXav on oreillysite
download clamxav





or you can always use a hammer...
Please leave your comments.

.

woensdag 20 februari 2008

Convert wmv to avi mp4 mov ipod etc for mac

I ve been looking for some freeware or shareware programs for Mac to convert wmv files into something usable on mac without using flip4mac.

I ran into different kinds of software and the following came out ready to be used:

ipod video convertor
it works well and fast, a clkean and fast installating, but the trial version only alows to do 5 minute clips or less, so you will have to register for bigger files. One thing that bothered me: it drops a lot of frames on older videofiles. the video went almost double as fast as the audio, and i couldnt get it fixed in the settings.
http://www.dvd-to-ipod-video-converter-for-mac.com-http.com/how-to-convert-wmv-to-ipod-for-mac.html

i stopped looking for another program, soon more info..
let me know if you find any good ones!

or you can always use a hammer...
Please leave your comments.

.

zondag 17 februari 2008

Show Full headers in Mac Mail

In Mac Mail, the Headers are disabled by default.
To show the headers in Mac Mail, simply select a message you want tyo see the headers for, and in your menu go to 'view > message > show long headers'.
You will now see the headers appear for this message.
To undo this, just repeat the action (and select standard headers)

Its as simple as that.


or you can always use a hammer...
Please leave your comments.

.

vrijdag 15 februari 2008

Adobe updater can't update adobe software

Another common problem is the Adobe Updater. Many people seem to experience problems updating their Adobe software (like Dreamweaver, Illustrator, Photoshop,...). Myself, I had problems updating Adobe Flash CS3.

To update your adobe software, open the program, go to 'Help/Update'.
The updater will now search for new updates and ask you to download them.
In the preferences you can choose which Adobe programms you would like to be updated by (de)selecting them.
I choose for Flash CS3 and downloaded the update.

When Adobe Updater tries to install the update, i get the error message "updater can't find software to be updated"
and thats where it ends, the updater just quits.
Downloading the update from the Adobe website and installing it manually results in the same error.

Apparently Adobe can't find the correct path to install the updates in. So it stops working.
For Windows PC's there are some solutions to this problem by manually changing the path to the correct directory in the installer file. It's not that hard, but you will need some experience in code.
Still in some cases this doesn't resolve the problem, and also Adobe itself doesn't have any answers on this topic yet.

Uninstalling the software and reinstalling it could work in some cases, but even people with a clean formatted system with only the adobe software running came trough this same problem, when they tried to update.

I could figure out any solution yet, so all feedback is welcome to help out people with this problem!


or you can always use a hammer...
Please leave your comments.

.

Spilled coffee over Macbook Pro, now the keys are stuck, replace the keyboard

I recently spilled some coffee over my Macbook Pro.

**Spilling liquids over your laptop is one of the worst things you can do to your computer and needs instant action!!
There is no way to get this fixed under warranty

If your unsaved data is worth more then your computer, you might wanna try to backup first and let the liquid drip deeper into your system. In any other case immediately turn over your laptop, unplug all power and remove the battery asap. This might prevent any electrical shortcuts to screw your computer, if its not too late already.

So that is what i did.
Now you can only wait (for 2 or 3 days) to let the liquids dry out. The longer you wait, the safer.

If you think the computer is completely dry, you can try to turn it on again.
In my case, a Macbook Pro, it rebooted and still worked perfectly. Except for some keys on the keyboard were stuck.
I was able to do all my backups and other work using an external keyboard.

Offcourse i wanted my keyboard to be fixed, so i did some research and came across this topic: "how to replace the keyboard of your macbook pro". This is a tutorial with pictures and very good explenation coming with it.
Thank you guys, it was a great help for me.

I followed the steps in this tutorial, and although i was afraid to open the macbook at first, it turned out to be very easy.
If you have the correct gear that is (described in the tutorial). If you wanna try this at home, don't stress out, folow the steps and you will be done in less than an hour.
The tutorial also explaines how to rinse your keyboard for any stuck liquid to come off. I didn't wanna go trough this trouble, so i just bought a new keyboard (70 euros at Applestore) and replaced it with mine.
I reassembled everything (don't forget any steps) and now my computer is working as it should.

Also i was amazed by the amount of coffee that was in my computer. Like half a cup of coffee went into my computer, but the inside was unaffected. The mainboard was clean, and most of the residu was guarded in and beneath my keyboard.
If you open your macbook pro, you will see it has a lot of layers beneath the keyboard which come in very handy in cases of spilling liquid over your computer.

I hope you never have to go trough this, especially with a new machine, but if you do, don't stress out and use your brain, it will probably turn out well.


or you can always use a hammer...
Please leave your comments

.

donderdag 14 februari 2008

Quicktime doesn't play video after updating to 7.4

My Quicktime doesn't show any video anymore, but it plays the audio.
It seems to be a common problem for Macusers after updating Quicktime to 7.4

There are a lot of issues like this on many forums, but no one seems to have the correct solution that works for all.
I read a lot about problems with third party software and codecs which could might cause the problem.
Apple doesnt hold itself responsible for third party software so don't expect any help there (although i am very happy with their support).

I also read difficult solutions like deleting codecs etc in your /library

I figured my flip4mac was out of date so i uninstalled it and downloaded the latest version, installed it and the problem is solved.
Sometimes the video still doesnt show, but after refreshing the loaded video, it shows perfectly.
(Maybe for some of you the refresh might do without reinstalling any software.)

It seems more or less logical to me that after a software update like upgrading your Quicktime leads to some broken connections with codecs or other software. so reinstalling some of them might help.
Still developers should be working harder on this matter


or you can always use a hammer...
please leave your comments

.