Posts for the 'OSX' Category

  1. Installing ffmpeg on OS X

    This is a work in progress for installing ffmpeg on OSX by a custom compile

    This is another thing that I have needed to do and decided to put what I am doing in a blog post, I might need it in the future or it might be helpful for others.

    So firstly download LAME – this is needed for supporting MP3 audio files, such as those in FLV and also for vorbis support. LAME src can be located on sourceforge.

    Unarchive the file (lame-3.98b6 at the time of writing )

    cd lame-3.98b6
    ./configure --with-vorbis
    make
    sudo make install

    The first time I did this I noticed a problem running make so I “make clean” and then went through the process again.

    Next up we want support for AAC audio, and you can get packages called FAAD2 and FAAC from www.audiocoding.com/downloads.html for these and then unarchive them ( FAAD 2.6.1 and FAAC 1.26 at the time of writing).

    cd faad2
    autoreconf -vif
    ./configure --without-bmp --without-xmms --without-drm --without-mpeg4ip
    make
    sudo make install

    Then faac

    cd faac
    ./bootstrap
    ./configure --with-libmp4v2
    make
    sudo make install

    x264 ( http://www.videolan.org/developers/x264.html )

    cd x264
    ./configure --enable-pthread --enable-pic
    make
    make install

    liba52

    wget http://liba52.sourceforge.net/files/a52dec-snapshot.tar.gz
    tar -xzvf a52dec-snapshot.tar.gz
    cd a52dec-0.7.5-cvs/
    ./configure
    ./configure --enable-libmp3lame --enable-x264 --enable-liba52 --enable-gpl

    And for amr_wb and amr_nb go into their directories and do the following:

    ./configure
    make clean
    make -j2 > /dev/null
    sudo make install

    Basically the -j2 switch is for enabling dual cores when compiling.

    Now we get around to compiling ffmpeg itself:

    ./configure --enable-shared --disable-mmx --enable-libmp3lame --enable-libamr-wb --enable-libamr-nb --enable-nonfree --disable-vhook
    make clean
    make -j2 > /dev/null
    sudo make install

    And that should be it though I am currently trying this configuration and it seems to work well:

    ./configure --enable-shared --disable-mmx --enable-libmp3lame --enable-libamr-wb --enable-libamr-nb --enable-nonfree --enable-libx264 --enable-libfaad --enable-gpl --disable-vhook
    By timc3 on the
    March 25th, 2008
  2. Address book abbu backup import

    Well it appears that Address book in Leopard has got a pretty nasty bug/feature with importing archived address book items.

    Address Book Leopard.png

    When I make large changes to my Address Book I have got into the habit of backing up, and with Plaxo and several other services and devices syncing off it I can often need it.

    Today somehow my address book contacts got really messed up and I thought “well lucky me I have backups from when it was last in good shape, so no problem, I will just import the backup”. Unfortunately it appears that the import of Address Book archives is broken.

    Address Book archives the address book items into a abbu file. This appears to be a special file format that is in reality a folder containing Metadata, images and other files quite like the location:

    ~/Library/Application Support/AddressBook/ (hidden on my mac for some reason).

    When I went to use the import facility it asked whether I wanted to overwrite the existing contacts (I did) but then nothing. There was information in the console, but it was different everytime and not one import. Looking on the web, I could see that I wasn’t the only one with the problem, and there was no solution. So I looked to myself to find out how to get it back.

    Now please understand that this isn’t a recommended solution and I don’t know how it could possibly effect someone else if they tried this, so do so at your own risk, but I had nothing to lose.

    Firstly, I deleted all the files under ~/Library/Application Support/AddressBook/ with Address Book closed. Then I opened Address Book, I created a new contact, then I imported the abbu file. I got all my contacts back and they all look intact from the last backup.

    Then I used Plaxo to sync them back to the service…

    By timc3 on the
    February 4th, 2008
  3. Low Key Stand

    This looks like a really nice stand for Apple computers with an integral 4 port USB hub. Raising the display might also help usability because I feel the default position is slightly too low.

    lowkeystand.jpg

    You can get them from Macessity.

    By timc3 on the
    February 1st, 2008
  4. MacHeist

    Today I purchased the MacHeist bundle of OS X software. This will be available for the next 5 days and includes quite a few applications and gives a major saving on buying them alone for the amazingly cheap price of $49. On top of this it also gives money to charity. The included applications are:

    MacHeist.jpg
    • 1password – a password manager. I currently use KeepassX because its cross platform
    • CoverSutra – a iTunes player
    • Cha-Ching – A personal money organiser. One of the reasons that I bought this
    • iStopMotion – For create stop animations using still and video cameras
    • Awaken – A alarm clock for Mac
    • Speed download – Looks like a very nice download manager
    • Appzapper – for cleanly removing applications. Recommended
    • TaskPaper – Simple GTD organiser
    • CSSEdit – As it say a simple CSS Editor
    • Snapz Pro X – for screencaptures and screencasts. I really wanted this
    • Pixelmator – Image editor
    • Wingnuts 2 – A game.

    Of course a lot of users will not need all these applications, or it would be unusual, but even on one application you can make a saving and give money to Charity.

    By timc3 on the
    January 18th, 2008
  5. Predictions for 2008

    I don’t think its too late to provide some predictions for 2008, so here are mine.

    3D Printers
    We are going to be seeing a lot more on the subject, although they have been out for a while I think this is going to be the year that we are going to be hearing alot more about 3D printers and 3D printing methods, and seeing a lot more things they can do. Also the price will drop I am sure meaning that there are more around to play with.

    3D_printer.gif

    Phones
    I think the phone market will see some much better models this year, coming from the increased R&D that the iPhone would have produced. Touch screens are already advancing as proved by new models from Samsung, and software will bound to improve. Microsoft will lag behind as usual. The Samsung model SCH-W559 I am particularly interested in checking out as it has a vibrating touch screen (called VibeTonz) that provides feedback to make it feel like a mechanical device.

    Samsung-sch-w559.png

    OS X viruses or worms.
    Apple and OS X are proving increasingly popular due to ease of use and maintenance, but these increase in popularity could mean that we see an increase in nefarious activity on the platform. This is might not be as bad as it seems, it is built on quite a stable secure platform and will lead to increased security on applications and service running on the system.

    Facebook backlash.
    Facebook is not the elegant social networking site it once was. Too many applications, services and third parties are in on the act and now it looks like a complete mess. It might be just me but it also seems that the hosting is always one step behind. I have heard that the next release they are working on is for collapsable menus and for hiding things, but I have already taken off information from the service.

    By timc3 on the
    January 17th, 2008
  6. NetNewsWire now free

    One of my favourite applications and one of my most used applications on the Mac is NetNewsWire from Newsgator and it has been since I started using it. I have found it to be the best way to deal with Newsfeeds for me, the integration of browser, the ease of use and probably the way it syncs with its online counterpart has kept me away from other solutions.

    MarsEdit.png

    My first thoughts when I found out that it was now free was “I paid for that!” but it only took me a couple of seconds to realise that I had already got my moneys worth and if others can now take advantage of this then all the better for everyone. After all I got it when it was bundled with Marsedit, another program that sees a lot of usage. MarsEdit has been aquired by Red Sweater software now

    NetNewsWire.png

    NetNewsWire has now been updated to version 3, and I was also really happy to see that the Windows Mobile version of Newsgator, Newsgator Go is now also a free download. I had tried the trial of this on my windows mobile and was very impressed but hadn’t got around to purchasing it. Now its another free download and perhaps one of the most useful on the Windows Mobile platform.

    Well done to Newsgator for this.

    By timc3 on the
    January 16th, 2008
  7. Fixing the screen backspace and delete key

    When running screen sometimes there is a problem using the backspace or delete key and you get the dreaded “Wuff Wuff” message.

    Try editing

    ~/.bashrc

    And adding:

    alias screen='TERM=screen screen'
    By timc3 on the
    January 2nd, 2008
  8. Inquisitor on Leopard

    Leopard ships with the latest version of Safari, and there has been much talk that Apple has disabled the use of 3rd party plugins which is bad news for fans of plugins such as the wonderful inquisitor.

    inquisitor.jpg

    Well if you download the latest version of inquisitor and are still having problems, try deleting the Input Managers folder under ~/Library and then installing again.

    By timc3 on the
    November 12th, 2007
  9. Leopard – OS X 10.5

    This has been probably blogged several million times now, but I am really enjoying the latest release of OS X – 10.5 also know as Leopard.

    Lots has been written about it including a really good review over at Arstechnica, but for me most of the downsides they note are ignorable.

    apple-mac-os-x.jpg

    1. The 3D dock – I really don’t notice it in every day action anymore, it might be because I am using Quicksilver but its not so bad.
    2. The semi-transparent menu bar – well I changed the background to black and white Leopard fur and it looks good.
    3. Time-machine – I am not using it at the moment.
    4. Stacks – useless until you create your own that makes sense to you.

    The upsides for me:

    1. Spaces. I have been waiting for this built into the OS for ages..
    2. Terminal. Tabbed and better its a much needed improvement.
    3. Speed. It does seem faster.
    4. Mail. Improved and with some nice new features
    5. iChat. I am actually using this now.
    6. Network configuration. This makes much more sense now.

    Not currently using:

    1. Coverflow in the finder. Well I did use it once. Only once apart from playing
    2. Time Machine. My external drive is almost out of space, and I have a good backup system in place anyways.
    3. The server integration. Doesn’t seem to work as I need it to.

    All in all a worthwhile upgrade despite some negative comments.

    By timc3 on the
    November 9th, 2007
  10. I found tilde!

    Finally I have found the tilde on my Swedish Mac keyboard. Its hidden under Option-¨

    What a stupid place to put it..

    By timc3 on the
    August 23rd, 2007