How-To: Get Full Multimedia Support in Ubuntu and Unlock FFmpeg

Ubuntu Wallpaper

This is probably the most important guide to any Desktop Linux user who wants to work with and playback a variety of multimedia files on their system. As you know, most of the popular codecs/formats (i.e. MP3, AAC, DVD, H.264, Flash, etc.) are not included in Ubuntu or other Linux distributions because they’re proprietary and require licensing. Fortunately, however, the Ubuntu community has gone through great strides to make acquiring them a lot easier – although still technically illegal if you live in the United States (my 2-cents: playback codecs should be free to acquire for personal use, especially those that become industry standards). MORE »

Popularity: 100% [?]

Tips for Rendering NTSC 640×480 Video from Kdenlive with No Borders and at 29.97 fps

Kdenlive NTSC Video Render Bug

For some reason Kdenlive has a major rendering bug when it comes to handling NTSC video (as confirmed buy other frustrated users in the Kdenlive forums here and here), which is really a shame because at the moment Kdenlive is probably the closet thing to Apple’s iMovie that’s a free open-source non-linear video editor under Linux. But as the saying goes, “Where there’s a will there’s a way.” And thankfully, yes, I have found a way around this issue. MORE »

Popularity: 44% [?]

How-To: Install Google Earth on Linux

Surprisingly, installing Google Earth to your Linux Desktop is relatively easy to do (same instructions apply to Macs). And once installed… a lot fun to use – especially its newest feature, Google Sky, for space exploration.

Instructions:

  1. Download Google Earth from http://earth.google.com/download-earth.html (you’ll be downloading a package called GoogleEarthLinux.bin)
  2. Fire up your Terminal and cd (aka change directory) to your Desktop (or whichever folder you downloaded the package to)
  3. From the command line type: sh GoogleEarthLinux.bin

Google Earth Install

Once you’ve completed all three steps, Google Earth will automatically install itself into a folder in your user directory called google-earth, which you have the option to change (see instructions below), and will create shortcut links on your desktop and in your home folder to launch the application. In case you don’t find the program useful, you can uninstall it by double-clicking the uninstall file in the google-earth directory.

[Advanced] Instructions for All User Access:

The instructions are the same as above except you need to use sudo (or root). MORE »

Popularity: 63% [?]

How-To: Kill Misbehaving Applications and Scripts (aka Processes) Under Linux

Ever have your PC freeze up and not know what to do? The following should get you out of a bind and back to normal without having to do a hard (and harmful) reboot.

Scenario #1: X Windows is still up and running but a certain application/script has frozen or is slowing down your PC.

A. [Basic] If you’re Linux distribution is using GNOME, Go to System > Administration > System Monitor and click on the Processes tab. Once there, look to see which process is hogging up your CPU resources, click on the culprit, and then click End Process. Hopefully that should be enough to get everything back to normal.

Screenshot System Monitor

B. [Advanced] If you prefer to use the Terminal, type top at the command prompt. This will give you a dynamic view all your running processes via a command line interface. Again, look for the culprit hogging up the CPU resources and note the PID (aka Process ID) number. Next, type k and you will be prompted to enter the PID to kill. Type the number and see if the command kills the process. If yes, use Ctrl+c to exit top. If no, read on. MORE »

Popularity: 49% [?]

How-To: Use Ekiga VoIP Client for Handling Your Gizmo SIP Account

Out of curiosity I wanted to see how easy it would be to setup Ekiga (installed by default on Ubuntu and many other Linux distros) to manage my Gizmo account/service. As it turns out, it’s quite easy. So, if you’re into using free/libre software over closed source software, this guide is for you.

Instructions:

1. Open Ekiga and go to Edit > Accounts

2. Now in the Account window click +Add

3. Enter the following settings into the Account Information pane:

Account Name: Gizmo
Registrar: proxy01.sipphone.com:5060
User: 1747169XXXX (your 11-digit SIP number — find it in Gizmo by clicking Account > My Profile)
Password: YOURPASSWORD
Authentication Login: 1747169XXXX (your 11-digit SIP number)
Registration Timeout: 3600

Ekiga - Edit the Account Information

To make pc-to-phone calls, just enter the full phone number, MORE »

Popularity: 61% [?]

How-To: Dual-Boot Windows and Ubuntu with Two Drives

A while back I wrote a popular post for eHomeUpgrade detailing how to dual-boot Windows and Ubuntu on two drives. And to this day I still get questions on the best way to do this. Simply put, I recommend using two drives (which are relatively cheap these days) instead of partitioning one drive and risking Windows getting upset by changes you make to its drive size, edits to its boot loader, or just overwriting what you have in the Windows partition by accident when you install or add a Linux distro.

Instructions (the quick and easy way):

1. Install Windows on a separate hard drive (make sure that it’s setup as the PRIMARY using the drive’s jumpers) and leave the second drive unplugged.

2. After that’s done, connect the second hard drive and change the jumpers on the first hard drive (Windows) to SLAVE and make the Linux drive PRIMARY (both drives should be connected at point). Next, install Ubuntu.

3. What should happen: Ubuntu will automatically configure GRUB so that you can boot into Ubuntu by default (1st drive mounted as hd0) and Windows (2nd drive mounted as hd1) as an option. Note: when Ubuntu configures GRUB this way it will automatically trick Windows into thinking it’s the PRIMARY drive (the only way it will work) when it really is NOT.

Linux Windows PC Drives

Here’s a glimpse at what Ubuntu is doing to GRUB to make this magic work MORE »

Popularity: 70% [?]

How-To: Install Django on Your Linux Server or Development Desktop

Python-Django Terminal Screenshot

I was going to go through the trouble of documenting the process of installing Django on a Debian-based Ubuntu Server, but it looks like the python web-framework has been added to the repository in both Debian and Ubuntu (and a few others). The package has been dubbed python-django, so the install code is simply: MORE »

Popularity: 35% [?]

How-To: Add a LAMP Server to Your Linux Desktop for Development

phpinfo()

Lately I’ve been in the mood to do some PHP/MySQL development for my website. In the past, like most newbie or part-time developers, I would work on some code on my desktop and then uploaded the changes to the remote server and hit refresh — not very efficient. This time around I wanted to see how easy or hard it would be to get a production Linux/Apache/MySQL/PHP (LAMP) server working on my Debian-based Ubuntu desktop (currently running Feisty Fawn 7.04) so I can do all the development and testing locally without disturbing my LIVE remote site. Below are the steps I took to reach my objective. Notice: The instructions require basic to intermediate knowledge of Linux, how to use a Terminal, sudo, apt-get, and understanding of PHP and MySQL interaction. MORE »

Popularity: 42% [?]

How-To: Use Gizmo’s Access Numbers to Get Calls from Landline or Cellphone Users to Your VoIP Account for FREE

Recently, I lost my cellphone and haven’t had a good way for people to get a hold of me in the short-term. I did a little poking around the Gizmo Project website and discovered they offer 20 “Access Numbers” across the United States that allow landline and cellphone callers to ring Gizmo VoIP users for FREE.

Here’s how it works. Tell your friends to call you by:
1. Dialing (415) 354-1083 (My San Francisco-based Gizmo Access Number)
2. Entering your 11-digit SIP number 1747169XXXX <– found by going to Account > My Profile in Gizmo
3. Pressing the # sign when done

That’s it! Now, your buddies can get a hold of you from any standard phone and even leave you voicemail messages. Just tell them your SIP number is like your personal extension on the access number you’ve provided them – and they’ll get the picture.

Note: If you want a long-term solution for using your Gizmo VoIP account full-time, you can purchase a direct “call in” number for $35 a year.

Aside: I just noticed that Gizmo Project 3.0 has added voice calling support to Yahoo Messenger, Windows Live, Google Talk, and Jabber (very cool) — previously it was IM chat only.

UPDATE: Another quick “free” solution to easily give your traditional phone buddies a way to call you on your Gizmo softphone is to create a GrandCentral account (when you register you’ll get a free standard phone number in any area code you choose) and have their servers route your calls to your Gizmo account.

Popularity: 17% [?]

Tips for Transcoding Cinelerra Compatible Video with FFmpeg, MEncoder

Tips for Transcoding Cinelerra Compatible Video with FFmpeg, MEncoder

I just wanted to post the fruits of my labor so others could benefit. A little background first… for the past couple days I’ve been banging my head against the wall trying to figure out how to take the video produced from my digital camera (Casio Exilim EX-S500) and convert it to a format that Cinelerra (project page) would be able to work with – the following also applies to any video downloaded from the Internet. Yeah, yeah… I know I should buy a REAL camcorder. MORE »

Popularity: 84% [?]