Archive

Posts Tagged ‘ubuntu’

Fixing audio hiccup (breaking) when using mencoder for conversion

January 9th, 2010 Karthikeyan C No comments

I use recordmydesktop to produce screen casts occasionally.  I was using the below  command to convert from ogv to flv format.


mencoder -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=800:600 -o tutorial.flv out.ogv

In the output file which is tutorial.flv, there were small breaks in audio (hiccups). The ogv file was fine as when i played in movie player there were no hiccpus. So the hiccups were introduced during the conversion.

http://en.gentoo-wiki.com/wiki/HOWTO_Mencoder_Introduction_Guide helped me to make use of the command mencoder -oac help to view the options available and I chose the right options. This helped me to create the output file without any audio hiccups.

  • Share/Bookmark
Categories: Tools / Utilities Tags:

How to uninstall NetBeans from Ubuntu

December 6th, 2009 Karthikeyan C No comments

NetBeans has been releasing in short cycles (The difference between NetBeans 6.8 RC1 and RC2 was just 4 days). So how to uninstall (remove) the older installations in Ubuntu ?

There is a file uninstall.sh under the root (home) directory of NetBeans installation. Navigate to root directory and execute uninstall.sh. A window pops up and you can proceed with the uninstallation.

  • Share/Bookmark

MySQL database schema browser and SQL executor in Ubuntu 9.10

November 26th, 2009 Karthikeyan C 1 comment

To install MySQL database schema browser,  SQL executor and administrator, use the following command. It gives a cool GUI for  us to work with.


sudo apt-get install mysql-query-browser mysql-admin
  • Share/Bookmark

Delete .svn folders and subversion files to migrate subversion repository

November 18th, 2009 Karthikeyan C No comments

It may be a requirement to clean up subversion related files (like when we move from subversion to another version control system which does not support importing history from subversion). The below command can be used in Linux (Ubuntu) to do the same.


find -name "\.svn" -exec rm -rf {} \;
  • Share/Bookmark
Categories: Tools / Utilities Tags: ,

How to restore default panel in Ubuntu 9.10

November 17th, 2009 Karthikeyan C No comments

I messed up with my Ubuntu panel and lost the “Applications, Places and System” menu on the panel. This post helped me to restore and revert back to the default panel in Ubuntu 9.10.  http://martinwebster.info/2009/06/13/restore-default-ubuntu-panel/ (Though the post is for 9.04 it works fine for 9.10).

The commands to be used are

$ gconftool-2 --shutdown
$ rm -rf .gconf/apps/panel
$ pkill gnome-panel
  • Share/Bookmark

How a Java developer can migrate from windows to Ubuntu 9.10

November 12th, 2009 Karthikeyan C 6 comments

Migrating from windows to an operating system like Ubuntu which provides a better development environment is a must for a Java developer. Below are the steps involved in the migration.

While in windows download Ubuntu ISO , wubi.exe and place them in same folder. Double click wubi.exe and complete the installation of Ubuntu (which is very easy and intuitive).

Use the below command to install the required software for a Java developer.


sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin maven2 subversion ksnapshot mysql-server dia recordmydesktop gtk-recordmydesktop mencoder filezilla unrar gnochm  p7zip p7zip-full ubuntu-restricted-extras

Then install your favourite IDE (like NetBeans or Eclipse) and JEE server (like Tomcat).

Note: ubuntu-restricted-extras will install flash plugin, mp3 codecs etc.

  • Share/Bookmark