<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Martin Fleming &#187; Software</title>
	<atom:link href="http://martin-fleming.co.uk/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://martin-fleming.co.uk</link>
	<description>Sharing my experiences and knowledge</description>
	<lastBuildDate>Fri, 11 Nov 2011 15:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FFmpeg for Mac OSX</title>
		<link>http://martin-fleming.co.uk/2011/06/ffmpeg-for-mac-osx/</link>
		<comments>http://martin-fleming.co.uk/2011/06/ffmpeg-for-mac-osx/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 11:01:16 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[ffmpeg2theora]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=395</guid>
		<description><![CDATA[<p>I have just recently bought my very first Mac, a very tasty 27inch iMac with Snow Leopard.  Most of the software I use is fully cross platform, however this does not always mean its readily available for the different platforms.</p>
<p>For example I use a lot of FFmpeg for my video conversion scripts, on Ubuntu its as easy as Synaptic.  On Windows the easiest way is Cygwin Ports.  On a mac, erm﻿﻿ …</p>
<p>Rather than compiling from source I found the ffmpeg binary in the package files of <a href="http://itunes.apple.com/us/app/mirovideoconverter-mvc/id412699210?mt=12">Miro Video Converter</a>.  It does not include support for libfaac but the built in aac codec actually performs quite well compared to the Ubuntu and Cygwin versions so It can produce reasonable acc audio.  There was also the binary for ffmpeg2theora so I thought I would share this as well.</p>
<p><a href="/downloads/ffmpeg">Download ffmpeg for OSX Snow Leopard</a></p>
<p><a href="/downloads/ffmpeg"></a><a href="/downloads/ffmpeg2theora">Download ffmpeg2theora for OSX Snow Leopoard</a></p>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2011/06/ffmpeg-for-mac-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Videos for Android using Command Line FFmpeg in MPEG4 or H264</title>
		<link>http://martin-fleming.co.uk/2011/02/converting-videos-for-android-using-command-line-ffmpeg-in-mpeg4-or-h264/</link>
		<comments>http://martin-fleming.co.uk/2011/02/converting-videos-for-android-using-command-line-ffmpeg-in-mpeg4-or-h264/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 12:26:22 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[AAC]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[FFmpeg]]></category>
		<category><![CDATA[H264]]></category>
		<category><![CDATA[Maverick]]></category>
		<category><![CDATA[MPEG4]]></category>
		<category><![CDATA[transcode]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=323</guid>
		<description><![CDATA[This one has taken me a while.  I found out quickly what FFmpeg paremeters to use to convert a video to MPEG4 that will play on an Android device but the H264 was tricky.  H264 support on Android is loose at best and has a real pig to get working but I have finally managed this almost impossible feat.  H264 is the ultimate codec we have at current for mobile devices as it uses far less disc space to achieve the same quality as other codecs, although the encoding time is far greater.

Do not Google any further, I found many examples on the web but none seemed to work, these definitely do.  This has all be done on Ubuntu 10.10 (Maverick) and you will need to enable the medibuntu.org repository to get the non-free codecs for H264 to work.]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2011/02/converting-videos-for-android-using-command-line-ffmpeg-in-mpeg4-or-h264/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Transcode/Convert Videos for Cowon J3/S9 using Mencoder on Command Line</title>
		<link>http://martin-fleming.co.uk/2011/02/transcodeconvert-videos-for-cowon-j3s9-using-mencoder-on-command-line/</link>
		<comments>http://martin-fleming.co.uk/2011/02/transcodeconvert-videos-for-cowon-j3s9-using-mencoder-on-command-line/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 17:09:40 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[Cowon]]></category>
		<category><![CDATA[Cowon J3]]></category>
		<category><![CDATA[Cowon S9]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maverick]]></category>
		<category><![CDATA[Mencoder]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[transcode]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[XVID]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=253</guid>
		<description><![CDATA[There are many programs around for converting or transcoding videos, but I find GUI tools can sometimes be a lot of clicking to get the job done.  The command line is ideal for this task as in one line we can transcode and resize/resample any video we want.  The real power, however, is when we add this to a script to start automating the work for us.  In this example I have used the Mencoder tool which is part of Mplayer program but there are others such as ffmpeg and transcode (Linux only). I also believe Avidemux can be used on the command line as well.]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2011/02/transcodeconvert-videos-for-cowon-j3s9-using-mencoder-on-command-line/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Why Windows 7 Still Isn&#8217;t Good Enough</title>
		<link>http://martin-fleming.co.uk/2010/10/why-windows-7-still-isnt-good-enough/</link>
		<comments>http://martin-fleming.co.uk/2010/10/why-windows-7-still-isnt-good-enough/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 13:08:38 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=140</guid>
		<description><![CDATA[<p>I have been using Linux since Fedora Core 4, which was in 2005.  I switched over from Windows XP quite simply for the reason that I was running a OEM copy which didn&#8217;t want to work on my computer as I had changed a broken motherboard.  Apparently I would need the retail copy to work with a new motherboard as its technically a new PC.  Out of disgust for Windows licensing I made a shift to a free alternative.</p>
<p>As a web developer I need to test websites on multiple web browsers and since Safari was made available for Windows, this meant that I could run every web browser within Windows.  My current practice is to fire up Windows in a virtual machine to test IE and Safari but there was a chance this inconvenience could be over, I just needed to see if I could work with Windows as my main platform.</p>
<p>My current laptop came with an OEM disc of Windows 7 and 6 months ago I decided to install it.  I thought that I could force myself to be happy with Windows, after all most of the software I use is cross platform so all I require Windows to do is be an operating system.  I was wrong as I have found Windows to be a pain and very primitive in some cases.  I could have forced myself to continue using it but I have decided to move back to using Linux (Ubuntu), not because I am a Linux geek/fan boy or a MS hater, just because generally I feel that its a better system, especially when using Gnome window manager.</p>
<p>There are many good and bad points about all systems, even though you will not hear OSX users admit to this.  My writing here is not to be completely negative against Windows 7, just to point out the reasons why I decided to stop using it.  This is not intended to be a Windows/Ubuntu comparison as that would be unfair. It&#8217;s just the issued I am raising with Windows are problems solved with Ubuntu.  For the record, I was impressed by many aspects of Windows 7, and for use as a pleasure machine then this is the OS I would choose, but for business and productivity Ubuntu with Gnome wins in my opinion.</p>
<p><span id="more-140"></span></p>
<p>To start with installing the Operating System, installing Windows 7 was very easy, that was until it was installed and you wanted to use it.  Not much hardware seemed to work out of the box and I had a CD from Dell with tons of drivers to install.  This was not very easy as I couldn&#8217;t see an easy way to tell which drivers I needed to install as there many options depending on what hardware was actually in the machine.  Windows did try to find drivers by Windows Update but that did not work.  This point is not a major one as you could argue that this only has to be done once but it does lead me on to one of the most annoying aspects of Windows, which is consistency and uniformity.</p>
<p>For example on the uniformity point, I install the bluetooth driver which comes with the bluetooth management software.  This software looks crap next to the polished look and feel of Aero and the Windows 7 theme.  Not only does it look out of place but the whole interface to managing bluetooth devices is absolutely horrible and difficult to work and understand. Why is there no built in software that manages bluetooth devices, so regardless what bluetooth device I have, Windows will use the same integrated interface for it?<br />
My latop has built in mobile broadband, so I have to install the Sony Ericcsson driver and software.  This looks different again to the windows interface and has a big connect button, which once pressed connects and minimises to the notification area.  Now in the notification area I have the Windows Network software and the Sony Ericcsson software running, and in principle they are doing the same job, connecting me to the Internet.  Surely the mobile broadband connections could be managed by the Windows Network tools.<br />
Gnome desktop is great at providing software for a task and then using the Linux Kernel to talk to the devices.  For example the Gnome Network Manger controls Ethernet, Wireless, Mobile Broadband, Bluetooth Internet and VPN&#8217;s all from the same place and it doesn&#8217;t care what brand of Bluetooth or Broadband Dongle you have got.<br />
I had to install Dell Quickset to enable all the multimedia keys to work.  When you press one of the volume keys I get an ugly notification in the centre of the screen.  When I receive a new email, I get a notification pop up in the notification area.  In fact all software that use notifications, seem to do it in their own way.  Surely something as important as notifications should be presented by the Operating System in a uniform manor so not to confuse the user?  DBus or NotifyOSD from the Linux world solves this problem.</p>
<p>There appears to be no unified software update for Windows.  We have Windows update which updates Windows itself and possibly some drivers as well as some Microsoft software such as Internet Explorer, but wouldn&#8217;t it be nice if other software vendors could plug into this instead of having their own update mechanisms.  I notice every time Windows 7 is started, Java will run an update check and if an update is found it will launch Java&#8217;s own update tool.  Mozilla Firefox checks for its own updates and so does countless other software.  It seems I cannot escape software always performing update checks and throwing the results in my face if action is needed.  This is really annoying, prime example if the Apple Software Updater that tries to convince me I need Quicktime whenever there is a Safari update.  Even more annoying is the Adobe Flash updater that launches the Adobe Download manager and then completely fails to install the update, instead takes me to manual instructions.<br />
I do not expect Microsoft to release a tool like the Fantastic Synaptic found on Debian systems, but surely they could let plugins to Windows Update that will allow non Microsoft software to be updated from this tool from the vendors repository.</p>
<p>Windows also only seems to like to work with FAT or NTFS file systems.  I believe the whole world does not run Windows so wouldn&#8217;t it be nice to include out of the box support for HFS, Ext2+ and some other file systems.  It can be done but only with add on software which isn&#8217;t transparent and does not work completely natively within Windows.<br />
How about remote file systems? Windows explorer can mount an FTP drive but its pretty lame.  How about something like GVFS which will enable Windows Explorer to mount all sorts of remote file systems so that you can browse as if you were on your local hard drive.  There are tools like SFTP Drive, but that still requires assigning drive letters manually and its not quite native.<br />
Even for SMB networking, Windows seems to make this far harder than it has to be.  I actually gave up trying to create a share with virtual users.  Its made worse by different rules for Home, Public and Work networks.  I assume this is to help with security but if you have half a brain this is actually a hindrance.</p>
<p>The desktop interface misses some much needed functionality.  We have some good ideas such as side-by-side view but Microsoft has also wasted effort by putting in useless ideas such as shake to minimize and Aero Peek (seriously what good is this?).  How about adding multiple workspaces and an easy way to make any window stay on top, things Gnome does well.  There is software to enable Windows to perform these actions but its not where near the experience you get on Gnome.</p>
<p>And finally, something that really annoys me is that applications do not seem to be added to the system path.  I can install PHP for example and if I want to evoke it to run a simple CLI script I will need to type the full path to PHP, which becomes a complete waste of time. I tried to be clever and put a link to it in the System32 folder but running that link makes Windows try to run the link not the binary the link is to.  Really not helpful!</p>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2010/10/why-windows-7-still-isnt-good-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roadsend PHP Compiler Ubuntu 64bit deb package</title>
		<link>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/</link>
		<comments>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 10:45:48 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Bigloo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roadsend]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=73</guid>
		<description><![CDATA[<p>I have built a binary package for Roadsend Compiler.  Unfortunately It does not include support for GTK 2 but the website says support is under development.  The PHP-Qt website also says its working on support for Roadsend.  I had trouble compiling in ODBC support so I expect this will not work.<span id="more-73"></span></p>
<p>For now Roadsend can be used to compile CLI apps or webapps where you want to protect the source code.  The Roadsend Compiler is completely independent from the Zend Engine and actually compiles to a binary file for your operating system / architecture so very different from other source code protection systems such as Zend Guard, Ioncube or Bcompiler.  Roadsend also can use its PHP engine to interpret and run scripts just like the Zend Engine.</p>
<p>You will need to install the Bigloo package first then the Roadsend package.</p>
<p>Tested on Karmic (9.10)</p>
<ul>
<li><a href="/downloads/bigloo_3.2a-1_amd64.deb">bigloo_3.2a-1_amd64.deb</a></li>
<li><a href="/downloads/roadsend-php_2.9.8-1_amd64.deb">roadsend-php_2.9.8-1_amd64.deb</a></li>
</ul>
<p>You will also have to change the LD_LIBRARY_PATH before it will work.  For some unknown reason putting this in .profile wont work so we are going to export this new path in our .bashrc file</p>
<pre class="cmd">$ echo 'export LD_LIBRARY_PATH="/usr/local/lib"' | tee -a ~/.bashrc</pre>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2009/10/roadsend-php-compiler-ubuntu-64bit-deb-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-GTK Ubuntu 64bit deb package</title>
		<link>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/</link>
		<comments>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:14:25 +0000</pubDate>
		<dc:creator>Marty (admin)</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[GTK]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://martin-fleming.co.uk/?p=59</guid>
		<description><![CDATA[<p>I&#8217;ve looked everywhere for a binary deb package for PHP-GTK so I have compiled my own and posted it here to share.  To use it you will have to manually edit your php.ini file but I have writen instructions for this below.<span id="more-59"></span></p>
<p>Tested on Jaunty (9.04), Karmic (9.10)</p>
<p><a href="/downloads/php-gtk_2.0.1-1_amd64.deb">php-gtk_2.0.1-1_amd64.deb</a></p>
<h3>Installation Instructions</h3>
<p>Download the deb file for your version of Ubuntu above and double click this file when downloaded.</p>
<p>Once installed you will need to edit your php.ini file to get it to work.</p>
<pre class="cmd">$ sudo gedit /etc/php5/cli/php.ini</pre>
<p>In the Dynamic Extensions part of the file add the line extension=php_gtk2.so</p>
<pre>;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.

extension=php_gtk2.so</pre>
<p>You may wish to do a simple test to make sure all is working (taken from <a href="http://gtk.php.net/manual/en/tutorials.helloworld.php">http://gtk.php.net/manual/en/tutorials.helloworld.php</a>).</p>
<pre><code>&lt;?php
if (!class_exists('gtk')) {
 die("Please load the php-gtk2 module in your php.ini\r\n");
}

$wnd = new GtkWindow();
$wnd-&gt;set_title('Hello world');
$wnd-&gt;connect_simple('destroy', array('gtk', 'main_quit'));

$lblHello = new GtkLabel("Just wanted to say\r\n'Hello world!'");
$wnd-&gt;add($lblHello);

$wnd-&gt;show_all();
Gtk::main();
?&gt;</code></pre>
]]></description>
		<wfw:commentRss>http://martin-fleming.co.uk/2009/10/php-gtk-ubuntu-64bit-deb-package/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

