Capturing frames of ASX / MMS stream with MPlayer

January 20th, 2010 No comments

This will allow you to capture a single frame from a ASX / ASF / MMS stream. Be aware if the ASX contains more than 1 file, you will get more than 1 screen capture. Also remember to use the playlist option for ASX streams

mplayer -playlist http://xxxxx -ss 1 -frames 1 -vo jpeg

When building mplayer you will need libjpeg – do mplayer -vo help to list available output options.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Linux Tags:

Count number of open files in LINUX

December 9th, 2009 No comments

lsof | wc -l

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Linux Tags:

Make phone call with Iphone API

November 30th, 2009 No comments

NSURL *phoneNumberURL = [NSURL URLWithString:@"tel:8005551234"];
[[UIApplication sharedApplication] openURL:phoneNumberURL];

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: XCode / C Tags:

Mac SAY voices

November 27th, 2009 No comments

Female Voices
Agnes
Kathy
Princess
Vicki
Victoria

Male Voices
Bruce
Fred
Junior
Ralph

Novelty
Albert
Bad News
Bahh
Bells
Boing
Bubbles
Cellos
Deranged
“Good News”
Hysterical ”
“Pipe Organ”
Trinoids
Whisper
Zarvox

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Uncategorized Tags:

Unpack TAR/BZ2

November 26th, 2009 No comments

tar -jxvf filename.tar.bz2

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Uncategorized Tags: