Posts Tagged ‘ Ubuntu

Convert High-Def MKV to play on xbox 360 using Linux

There are a million different tutorials out there on how to convert a MKV file into a format that an xbox360 will play. You may have found, like i did, that most of them use 50 different questionable pieces of software to manipulate individual tracks and separate the mkv, etc, etc… I think those are ridiculous.

Please read the FAQ regarding xbox360 file format compatibility.  It may help you pick better options for your particular files than the general ones i offer below.

The solution is simple: Use Avidemux.

  1. Install avidemux. To install it is simple. It’s in the Ubuntu repositories and I imagine you can also find it in other distros quite easily.
  2. Open avidemux and open the mkv you want to convert. If prompted some garbage about 264 and safemode, just use safe mode and dont worry about it.
  3. Select File -> Properties. This will tell you some info on the formats in use in your video file. Take this opportunity to identify what the xbox doesn’t like. When you are finished, click OK. If you want a second opinion, open up the folder with your mkv in it. Right click -> properties -> Audio/Video tab. This will also tell you the video and audio formats.
  4. We obviously know that it wont play a video in a MKV container, so first thing to do is change the “Format” dropdown to say “MP4″ (you can, of course use AVI, but the majority of files I run into are h.264 and aac audio. For this combo, you want mp4…)
  5. From the Properties menu, recall the video codec. H264 files show as “AVC1″ inside of avidemux. I’m sure theres a technical reason for this, but do you want to talk about it or watch your video?
    Most of the time, you can leave the video droptown in avidemux on “Copy” this is nice because it means that your processor wont be re-encoding the video. This saves you quality and time.
  6. From the properties menu, recall the audio codec. If you have a video with AAC stereo audio, leave the dropdown on “copy”.
    This is where most of my files need some love. Many MKV’s have 5.1 surround audio tracks. This is great, but not for an xbox360. To mix the audio down to stereo, select AAC on the audio dropdown, then click “filters”. In the mixer dropdown, select “stereo”.
  7. Click “save”. Avidemux will prompt you for a filename for the converted file. It does not default a file extension, so do yourself and your xbox a favor and add one yourself like “<videoname>.mp4″.

Once avidemux is finished with your file, it’s ready to go.

http://avidemux.sourceforge.net/

Tethered Blackberry Modem on Ubuntu Karmic

Using your blackberry as a 3G (in my case) modem proved to be Incredibly simple. There are five million different methods to do this and many have you compiling stuff and editing text files. I love those sorts of things, but this is much easier. I Wish that I had tried this sooner.

**Confirmed using Blackberry Tour (9630) on Verizon. **

What we will do is use a program called ‘barry’. http://www.netdirect.ca/software/packages/barry All we need to do is install some packages from the repository below. These commands are from the terminal, so launch it from “Applications -> Accessories -> Terminal” in the Menu.

Edit /etc/apt/sources.list

sudo nano /etc/apt/sources.list

add these lines:

deb http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu karmic main
deb-src http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu karmic main

install the repositories key.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 113659DF

Now update your package list

sudo aptitude update

and install the programs:

sudo aptitude install libbarry0 barry-util barrybackup-gui

Thats it! now to create the connection, the command will vary depending on your provider. The ones they have preconfigured are: ATT Cingular, China Mobile, KPN Nederland, O2 Ireland, Rogers, Sprint, T-Mobile US, Verizon.
the syntax is :
sudo pppd call barry-{provider}

for Verizon:

sudo pppd call barry-verizon

You’ll see a bunch of output, and it’ll tell you that the connection is up. to close it down, press (CTRL+C). Make it pretty by creating an application launcher on your desktop.

Vmware – Unable to change virtual machine power state: Internal error.

Ran into this while running Vmware Workstation under Ubuntu Jaunty. I got an error while shutting down the machine through an NX session.

This is a result of a zombie ‘vmware-vmx’ process running. All you need to do is kill the process. This command sends ‘signal 9′ to the process. When sent to a program, SIGKILL causes it to terminate immediately. In contrast to SIGTERM and SIGINT, this signal cannot be caught or ignored. For more information: more sigkill info.

killall -s9 vmware-vmx

After that, I was able to start up the virtual machine without issue.

In Ubuntu Jaunty, shift, ctrl,alt, and caps lock buttons stop working

This appears to be related to vmware, to correct: open up the terminal, and type:
setxkbmap. Thats it.

Pidgin OSD pop ups in Ubuntu Jaunty

You can remove or configure the Pidgin pop up’s that you see from pidgin. Buddies logging on/off, and in my case, new messages. I didn’t want every new message i receive to be blasted up on the desktop OSD. To control what you see there, Pull up your Pidgin window (buddy window, not your conversation box), then: Tools -> Plugins -> Libnotify Popups. When you have selected the libnotify pop-ups, click on “configure plug-in”. That will give you some check boxes to customize the behaviour

 

Switch to our mobile site