Archive for the 'OSX' Category

Simple podcasting with Skype on OS X

For a while now, I am doing the podcast “Breakfast @manuspielt’s”. We are doing a show daily, so we need a workflow which does not involve any editing and as little manual work as possible.

The podcast is recorded using the excellent Skype Call Recorder by Ecamm. This software acts as an add-on to Skype, offering some new preferences and a new window called “Call recorder”, which controls the recording. The output of this is a .mov file with two audio tracks, one for both partners in the conversation. It also comes with some GUI tools to convert this into various other formats.

However, using a GUI for such a simple task everyday gets old, not to mention that there is some other stuff involved until the podcast can reach the listeners. That is why I have created nachocast, a shell-script which utilizes some command-line tools to do the heavy lifting. It converts the podcast to MP3, adds a cover-image, applies some audio filters and uploads the result via FTP.

In case you want to convert those files, too, try these commands for doing so:

$ ffmpeg -i foo.mov -map 0:0 track1.wav
$ ffmpeg -i foo.mov -map 0:1 track2.wav
$ sox -m track1.wav track2.wav foo.wav
$ ffmpeg -i foo.wav foo.mp3

We are using WordPress and PodPress for the actual site itself. The hosting is done at DreamHost, which works quite okay for a reasonable price.

You now should have all the information to get you started with your own podcast easily. Just do it, it is fun!

Advertisements

tweets from the commandline – on OSX

Linux kernel hacker gregkh has written a small tool for tweeting from the commandline. By default, it does not compile on OSX, because of some little Linuxisms, just apply this patch to compile it (tested on Leopard).

SweetCron Quick Install on OSX

Recently heard about SweetCron on Bits und So. Here’s my really quick install guide for OSX:

  1. Get MySQL and install it. By default, a user root with no password exists.
  2. Start the MySQL daemon using the PrefPane
  3. Enable Web Sharing in the Sharing Tab of System Preferences
  4. Enable PHP by editing /etc/apache2/httpd.conf, look for the line which says LoadModule php* and remove the comment sign. Also set AllowOverride for the directory you want to put SweetCron in to All. Note: I had problems with putting it into ~Sites, so you might want to use /Library/Documents/WebServer for it. Restart your webserver using sudo apachectl restart.
  5. You have to add a database for SweetCron to your MySQL installation. For n00bs, the easiest way is to get phpMyAdmin and install it somewhere. Follow the documentation for that, but remember to copy /etc/php.ini.default to /etc/php.ini and put /tmp/mysql.sock in for mysqli.socket. Also use socket as connection type in the phpMyAdmin administration wizard. Do not forget to restart your webserver using sudo apachectl restart after changing the php.ini. In phpMyAdmin itself, you can easily set passwords, add accounts and create a database.
  6. Configure SweetCron as stated in the documentation. In database.php you only need to put in the user and database you just created using phpMyAdmin.
  7. Visit SweetCron in your browser to configure your stuff and enjoy.