Wednesday, May 9, 2012

Convert a video to black and white on Ubuntu

Convert a video to black and white on Ubuntu 


First: Install MPlayer 
sudo apt-get install mplayer libxine-extracodecs

If you can not install libxine-extracodecs, skip it. 

Then: Convert your video 
mencoder color-video.avi -o black-white-video.avi -vf hue=0:0 -oac copy -ovc lavc
or 
mencoder color-video.avi -o black-white-video.avi -vf hue=0:0 -oac pcm -ovc lavc

Good luck:)

Tuesday, September 6, 2011

How to increase internet speed in ubuntu

Internet speeds in Ubuntu can be increased. Simply follow the steps.

* Open a Terminal via Applications->Accessories->Terminal and type the following


sudo vim /etc/sysctl.conf (press i for edit mode)


* Then Paste the Following at the end of the file:


## increase TCP max buffer size setable using setsockopt()

net.core.rmem_max = 16777216

net.core.wmem_max = 16777216

## increase Linux autotuning TCP buffer limits

## min, default, and max number of bytes to use

## set max to at least 4MB, or higher if you use very high BDP paths

net.ipv4.tcp_rmem = 4096 87380 16777216

net.ipv4.tcp_wmem = 4096 65536 16777216

## don't cache ssthresh from previous connection

net.ipv4.tcp_no_metrics_save = 1

net.ipv4.tcp_moderate_rcvbuf = 1

## recommended to increase this for 1000 BT or higher

net.core.netdev_max_backlog = 2500

## for 10 GigE, use this, uncomment below

## net.core.netdev_max_backlog = 30000

## Turn off timestamps if you're on a gigabit or very busy network

## Having it off is one less thing the IP stack needs to work on

## net.ipv4.tcp_timestamps = 0

## disable tcp selective acknowledgements.

net.ipv4.tcp_sack = 0

##enable window scaling

net.ipv4.tcp_window_scaling = 1



* Then type the follwing to exit and save what you have just done. Press ESC to quit the edit mode and type the following.


:wq


* Then type the following to to apply the settings.


sudo sysctl -p


* You can disable all these settings by removing these lines you added via:


sudo gedit /etc/sysctl.conf

Tuesday, August 16, 2011

HOW TO : Convert .flv to .mp3 in Ubuntu, Debian Linux

Converting flv to mp3 has become so easy in Linux within few minutes.

Installation of FFmpeg on Debian OR Ubuntu Linux

* root:~#apt-get install ffmpeg

Converting .flv to .mp3

* ffmpeg -i input_filename.flv -acodec copy output_filename.mp3

Good luck :)

Wednesday, August 3, 2011

How to Setup Hotmail on iDevice

Microsoft today rolled out Exchange ActiveSync (EAS), which lets users get push notifications on phones and other mobile devices, as part of the Wave 4 release of Windows Live Hotmail. Some users reported EAS working for them two months ago, but only now has Microsoft made it official: e-mail, calendar, and contacts can be pushed automatically to your phone from Hotmail. To enable EAS, use the following settings:

Field Setting
Server/URL m.hotmail.com
Username Full e-mail address (such as: yourname@hotmail.com)
Domain Leave this blank
SSL Enable this
Certificate Accept the SSL certificate when prompted
Mail, Contacts, Calendar, Tasks All can be enabled

Many phones already support ActiveSync for connecting to an Exchange server, but the feature will be particularly useful on phones that support dual ActiveSync accounts, including devices running Microsoft's upcoming Windows Phone 7 OS. Users who don't connect to an Exchange Server, but still have a device with ActiveSync support can also use the new Hotmail feature. Microsoft says over 300 million mobile devices currently support EAS; a full list is available on the Windows Live Solution Center.

Hotmail users have been begging for IMAP and other enhanced syncing capabilities for ages. Microsoft still won't budge on IMAP, but the company did rollout POP3 last year, and now with EAS support this year, it's clear the software giant is finally listening.

Try, Setup Hotmail ActiveSync on iPad device

Microsoft has provided steps for enabling Hotmail ActiveSync on iPad devices.

An iPad supports only a single ActiveSync profile. If your iPad has the existing ActiveSync profile, back up the data and delete it.

1. ON the Home Screen, tap Settings >“Mail, Contacts, Calendar” > “Add Account” > “Microsoft Exchange”
2. Enter the following in fields:

Email: your full Hotmail email address
Domain: Leave blank
Username: your full Hotmail email address
Password: your password
Description: Hotmail

Server: m.hotmail.com

SSL: Enabled
Certificate: Accept the SSL certificate when prompted
Mail, Contacts, Calendar, Tasks: All can be enabled.

3. After finishing the configure, select the data to sync and tap on Save button.

iPad will connect to Hotmail ActiveSync and perform an initial sync for the selected data. You are able to push email, calendar, and contacts with Exchange ActiveSync now. Enjoy it!