How to screen capture in linux with FFmepg

its very easy to capture your screen as a video in linux with ffmpeg., i loved it. Please execute the below command in your terminal

ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /filename.mpg     path-to-save-in-your-local

For this you need to install ffmpeg first by using this command sudo apt-get install libav-tools

 

 

Advertisements
By karuppasamy11486 Posted in Uncategorized

Panoramic Photography

I Looking for sample a site  360 degree view.  i saw the link  http://view360.in/  and i eager to know how the websites are build in 360 degree and what is the technique for using that, i searched google and find the Keyword Panoramic. i wonder the computer and its techniques change  the human life more memorable and lovely 🙂

Here i shared some thing what i know n the source where i know. i think the time i spent a more useful.

What is Panoramic Photography?

Panoramic photography, also known as wide format photography, is a special technique that stitches multiple images from the same camera together to form a single, wide photograph (vertical or horizontal). The term “panorama” literally means “all sight” in Greek and it first originated from painters that wanted to capture a wide view of a landscape, not just a certain part of it. The first panoramic photographs were made by simply aligning printed versions of film, which did not turn out very well, because it was close to impossible to perfectly align photographs. With the invention of personal computing, advancements in computer software and digital photography, it is now much easier to stitch digital images together using specialized software. In fact, using a proper photography technique and panoramic equipment, it is now possible to create near-perfect panoramas at extremely high resolutions. Some photographers even stitch hundreds of high resolution images to create gargantuan “gigapixel” panoramas. Today, digital panoramic photography is quite popular and common not only among landscape photographers, but also among architectural and cityscape photographers.

Panoramic Photography can get quite complex and expensive, depending on what you are trying to do. For example, creating panoramic images in architectural photography requires camera and lens to be properly calibrated on special panoramic equipment to prevent curved lines, distortions and improper stitches of close objects. At the same time, you can successfully take great landscape panoramic images without investing on any camera equipment, as long as you know how to do it right. In this article, I will primarily focus on taking panoramic images either hand-held or with a tripod, without spending on any other equipment.

To Take the panoramic-photography they are use the DSLR Cameras. To Know More about DSLR Cameras and it’s working techniques please click http://mansurovs.com/what-is-a-dslr

For More Details Please follow the link  http://mansurovs.com/panoramic-photography-howto

 

How To Stop Skype Toolbar From Converting Numbers to skype Buttons in website

One of the most annoying features of the Skype toolbar is its intrusive ‘button’ injection that hijacks your website, changing phone numbers for buttons and ruining your web sites design. I’ve just installed Skype and it installed the toolbar on my machine by default and was ‘killing’ the look of some of my websites.

i have found the solution from Google

<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />

it is great plesure to share the this with you guys :)

access_level

WordPress Error: You do not have sufficient permissions to access this page

Some people, upon upgrading from WordPress 1.5.x to 2.0.x have been experiencing this error:

 

You do not have sufficient permissions to access this page

 

please find the solution from the below link

 

http://markjaquith.wordpress.com/2006/03/28/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/

 

actually the  error occur with “table_prefix” changes in the following tables in WordPress database

 

1. wp_options

2.wp_usermeta

meta key are stored as with table prefix when we upgrade our wordpress it may be changed ‘blog_capabilities ‘changed to  – ‘wp-capabilities’  so  similarly where ever my table prefix blog_ was replace by the default value ‘wp’ so that it occur after i changed that in DB i solved this problem

 

By karuppasamy11486 Posted in Uncategorized

The Father of PHP says “no-framework PHP MVC framework” on March 2006

Rasmus Lerdorf, creator of the PHP langauge, has a new tutorial on his site today that looks at the creation of a “no-framework PHP MVC framework” using PHP5, the Yahoo! User Interface Library, and JSON.

Clean separation of your views, controller logic and backend model logic is easy to do with PHP. Using these ideas, you should be able to build a clean framework aimed specifically at your requirements instead of trying to refactor a much larger and more complex external framework.

Change the Admin Password inVbulletin

Hi,

I forgot the Admin Password . when i try to get the password with the forgot option the mail is not received .but i know vbulletin save the password as MD5.

I give the MD5 for password even though it is not logged me. After a long time i found that they store the password as MD5 with the salt value

then i update the DB with the following Quert to set the new password as password for my admin login

UPDATE user
set password = MD5(concat(MD5(‘password’), user.salt))
WHERE userid = 1

now it works fine for ME. i think it may be help you enjoy the Day 🙂

Sorting the Enum Filed value in Mysql

Hi,

I’m trying to sort the Enum filed integer  value  with my own level of priority. i try in google and get the lots of result with irrelavent matches and finally i got the solution.

We can sort the enum values by using the ORDER BYoption

The index can also be used even if the ORDER BY does not match the index exactly, as long as all of the unused portions of the index and all the extra ORDER BY columns are constants in the WHERE clause.

Here is the example i used the sorting inn my own

Selecte * from table order by  FIELD ( column_name , ‘ 8′,’7′,’2′,’1′,’5′,’4’);

I think it also help for you guys 🙂 enjoy  the Day

By karuppasamy11486 Posted in Mysql, php

Find the Latitude and Longitude using Gmap

Hi,

Google gives the great Javascript Api for finding the Location latitude and longitude by just giving the address only

This is following code

<script src=”http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAANez3-95VQQxZUR1e1BaC7RQlRyH5qh-HDT3ImsMIYwyhpUeTghSwTS8yZGHT9D9mFG6mgXkotPdcKw&#8221; type=”text/javascript”></script>

var address =’chennai’;

var geocoder = new GClientGeocoder();

if ( geocoder ) {
geocoder.getLatLng(
address,
function(point) {
if ( !point ) {
//alert(address + ” not found”);
$(“#error”).html(address + ” not found”);
$(“#mapurl”).focus();
} else {
$(“#wp_geo_latitude”).val(point.lat());
$(“#wp_geo_longitude”).val(point.lng());
}
}
);
}
});

if you need more details please visit here

Bing Map Bird’s view

Hi,

i worked in a project for that my client ask to display the bing map instead of google map. i surprised why the client need’s the bing map what  is the feature  but after i saw the bing map i really feel that “Bing Map is  better than the google map”  becausebing map showing birds eye view with a photosynth overlay ,a draggable map (yes you can move this map with your mouse) ,context actions by right clicking the map (zoom in/out and ‘move map to here’) . it is very simple to integrate in your page . blow are the example i used

<body onLoad=”GetMap();”>
<div id=’myMap’ style=”position:relative; width:400px; height:400px;”></div>
<script type=”text/javascript” src=”http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2″></script&gt;
<script type=”text/javascript”>

var map = null;

function GetMap() {
map = new VEMap(‘myMap’);
map.LoadMap(new VELatLong(34.042765, -118.256063), 10, VEMapStyle.Birdseye, false);
}
</script>
</body>

This is the output of the code