Moving to a new Web Host

11 03 2011

Been years since i fell in love with wordpress. Still hosting on wordpress has its limitations, So decided to move the entire blog to a new Web Host. So the blog is now moved to dreamzalive.

Advertisements




Encoding of images to videos and Upload to web using PHP

29 12 2010

Web programming was never my cup of coffee. Its been always a black-box, which works just some how and should not be tested how :D. As part of my assignments, i was given the “black-box” task of converting a set of images into video, as if that is not enough also have to connect some how to youtube and upload the the account of the users choice.

The best part being all of this needs to be done in Silverlight. This was the first time i was getting to know we could even do programming in silverlight :D. So with the task assigned it was time to execute the unknown. After a bit of consultation with the programmers best friend “the Google”, figured out its easier to use PHP for this process rather than Silverlight. Also Silverlight does integrate with well with PHP .

The encode i chose for the my assignment was the FFMPEG. The advantage of this program other than it being free is that, its cross platform compatible and also all the features of the program can be accessed and manipulated via command line. This is the feature i plan to use as i dint have much time to go into actual video encoding programming. In-order to make sure the images are read in the correct sequence to make into video, the images get named in a specified sequence. Mostly numbers starting from 0, 1 and so on. This is easier to be read from ffmpeg command line method.

The following code can be used to convert images to videos

ffmpeg -r 10 -b 1800 -i %03d.<image_extension> <video_name>.<video_extension>

Where 10 specifies the frame rate , 1800 denotes the bit rate and the images are read in the sequence of 000.jpg or 000.png etc to 001.jpg , 002.jpg etc. This simple one line code would provide with the video in the folder in the same folder.

Next was the video uploading part.  Zend framework provides excellent support when it comes to Video processing with YouTube. The installation of the frameworks is also pretty straightforward.

 

Step 1: Download Zend Framework

Step 2: Add the path of the Zend library to the “php.ini”

Step 3: Enable openssl.dll in “php.ini”

Step 4: Restart server.

And that would be only step up required to install Zend. The samples present along with the Zend provide the code for video upload to YouTube.

 





In the world of No-Internet

26 12 2009

Now everything is too much dependent on the internet. When there is no internet around , it really gets boring , the life , as it is now is not defined without the internet. Few things which can be done when there is no internet

1. Take a rest

Take a walk out to breathe some fresh air and get work a little bit out of your system or even better look at all from aside to rethink your strategy, future goals and things you could change or do to get better what are you working on.

2. Read design related book

I bet you have several books in your bookshelf you always wanted to read but never got time! At least I have a lot of them, now is a great time to remember about them and use your free time to do what you love to do!

3. Watch Video Tutorials

Again if you are obsessed designer like I am, you certainly should have to be 30-40gb video tutorials you downloaded a while ago, but never got time to learn them! Usually in busy work-flow we forget to learn tools first, we just need to get job done, but if you continue to learn and evolve your skills, you will suddenly discover some more different ways and techniques, how to achieve necessary outcome much faster! It’s amazing how much we still don’t know after many years working in design niche!

4. Create a new design, artwork

It really helps if you store your favorite designs, photos, artworks on local hard-drive for later use, so you can get inspiration also when you have no Internet connection. Anyway you can spend hours playing with effects, fonts, textures, artworks – to perfect your skills.

5. Take a pencil, paints and paper

Take your time and enjoy how creative you can be while sketching or drawing – do something different to enjoy your life even more!

pencil-paper-paints-take-a-rest

6. Go And Meet Friend

Such things happen to everybody – in all rush, sometimes we forget about really great friends, so this time be first to call them out! If you have some good friends in your own design niche, it’s even more useful – you can meet up, exchange opinions and get fresh ideas. I really evaluate such friends, where we both can contribute in some way from each other.

7. Get out and start to do some sport

We spend a lot of our time in front of computer, but we shouldn’t forget about our health – it’s more worth than anything! Start to do yoga, play football, volleyball, swimming, run or find out where is the nearest gym from your home! You will definitely feel better each day, I assure you!

8. Listen relaxing music

Get lazy, relax, watch movie, listen music – you earned it! Whole life doesn’t consist from rush, struggling from lack of time. Take your breathe slowly and enjoy selfhanded free time!

listen-music-take-a-rest

9. Go out to museum, exhibition – any creative and inspiring place!

Find out if there are any interesting exhibitions, design conferences happening in your town and again get out!

10. Organize, clean up your workspace

It may happen to all of us – while we are working hard, we are creating mess around us and slowly it’s affecting our work-flow as well. Our environment changes us as well as people around you. Maybe you need to change also how your furniture, computer, lights are organized?

11. Organize, clean up your desktop

Sounds obvious, but you cannot imagine how much you waste time while searching through numerous folders necessary file or image, when you could easily organize everything! Clean up desktop, create folders, move files to appropriate directories! Very helpful in daily work-flow!

12. Create organized schedule

In all rush you sometimes forget things you must do? Create schedule and get used to it, definitely will help to organize your daily workflow and you will feel much better, it’s about organizing your life! Article I created a while ago could actually help you as well – Plan Your Daily Schedule: Useful Resources.

13. Don’t do anything!

If you are always running and running you should enjoy something different as well – watch movie, sleep a little bit longer – don’t make it as regular habit, but from time to time it’s really relaxing!

dont-do-anything-take-a-rest

Now that makes a better day than slogging the day in front of internet. 😀

Original Source





Google Wave: Its Different??

15 12 2009

Google Wave LogoGoogle wave, what google claims to be the next generation of email. When google introduced wave in the conference , It looked promising. Loved the concept of integrating chat and mail into 1, using privacy in the single mail. Most importantly google has come forward to give this framework to organization, rather than asking them to route data through the google servers. And also the ability to add small apps to suit to everyone personal needs. This is a welcome addition to the wave as each user can now choose to customize their account to their needs with apps available in repository or can even develop their own using the SDKs provided.

During the launch of wave , google had provided a glimpse of a very early release of the Wave. Even though it was highly unstable , they did manage to provide with the features which can be expected out of the product in the future. Sadly sandbox accounts were only provided to the developers attending the conference. With more bug fixes and polishing google announced the account available to the public, with the google trademark of invite only accounts. Google had been giving out two kinds of account to the public. One being the Developer sandbox which is purely to develop and test apps. Not good to use for communication. Developer account being a request based account and not a invite based account. The other is the preview account which is a invite based account and also a request based account. This version of wave is a being a heavily stripped down version of the actual wave shown during the launch. Although is much stable than the one shown during the launch, Its almost empty to use.

Got the invite for a preview based account a couple of weeks back. The interface is neat and clean as google always does, and google creates the new term “wave” for mails and chats done . The entire interface gets into 3 basic columns. First having the links for navigations and contacts. The second being the actual list of waves created or received. The third the view column, providing the preview of the wave.

Google Wave Preview

Few features of wave were interesting. Like it automatically adds contacts searching from my gmail contact list. Saves time in searching for friends in google wave. Second was the wave itself, the live update feature. Although it a simple implementation. Its nice to see it being implemented on a web apps. The option to turn off live update is not available in the preview account, Sad news for those people who are good in making loads of typo . Make sure u are typing exactly what the other want to see as they are reading as u type it. There is an option as to ping the other user. Not sure how that works as it also has the same effect as sending a wave. The concept of wave is to merge mail and chat into one. So including a ping option seem little weird . The other option i was eager to check out was the ability to reply for any wave in a conversation, but actually it was little hard to keep track of. even though wave updates us of all unread messages in the wave, once the wave goes more than a page, we need to scroll up and down the wave in search of the wave that we have missed. Needs some practice for ppl who are used to the top down reading in the gmail. Almost no apps have been included along with wave , except for ability to embedded youtube videos and google maps. Google maps does provide some option to choose locations. Google wave still lacks the setting option. The setting link still leads to a wave saying its the settings page :D. Overall google has started with a new idea for email and is now in the process of making some user get into it as it did for gmail. Waiting for google to loads up wave with some apps and setting .





Snow Leopard arrives

30 08 2009

Just received my copy of the apples latest OS Snow Leopard

SnowLeopardThere was a lot of expectation for this OS , as its making in competetion with the MS windows 7. So was eager to see what it hold and started with started up the DVD. Well i was disappointed with this build.

  • Installation was pretty simple , Just a confirmation is asked and the process starts. First the open applications are closed and the installtion takes 50 mins to complete. Then started the computer and there were few thinks that i liked       >The new OS ran on my setting and nothing was changed except for the logon screen wallpaper all other setting were same.

>The Stacks are made scrollable , which is a pretty cool featur.

>Quicktime is now more powerful than ever. Starting with the cool borderless player , its also able to record videos , record screen , edit movies on the fly

>Realtime Icon preview, Icons can be resized in realtime and the content of the file can be viewed , even the movies can be played as they are icons. This is a neat feature for people with loads of files .

> Considerable faster application loading.

Even though theres loads of improvement , the main feature i was looking out for in this build was the exchange support. I not been able to configure the Exchange . Even the import mailbox option does not do good work in importing the mailbox from my other mail clients. Never expected such a failure from something which was advertised as the main achievement of this build .

What problems i faced after installing snow leopard

> amsn not supported in this build and it crashes.

>Yet to figure out a way to connect to exchange.

>Webcam was not detected after the install.

Some how there is no backward compatibility for amsn . it works fine with leopard but crashes on start with snow leopard. Next is the webcam . Was in for a complete surprise when the ichat couldn’t detect the webcam. At last had to reset the mac to enable cam again

To Reset the mac

>Switch off the mac

> press Shift+Alt+Control+power button  just once

> wait for 5 seconds and then power up the mac

Overall its a good build  if you are not expecting for the exchange support.





Best Online Photo personalised gift site

3 05 2009

Past few days , was searching for some good online site to print all my photos at less least cost.  Only few sites are available in india for this.

Zoomin

zoomin

This site follows web2.0 standards . Has a neat and clean layout.

  • Has Support for Picasa and Flickr
  • Lowest print at 2.95 for a 6 x 4
  • Photo can also be uploaded directly via web
  • Payment Via Debit card
  • Print available on Glossy Matte and metallic papers
  • Gift option available
  • No Credit for first time sign on 😦
  • Requires to enter Debit card details including CCV and address before contuning

Some Stuff provided by them are

  • photomug
  • calendar
  • greeting card
  • tshirt
  • collage
  • zoomini book(5 sizes)
  • photo print(8 sizes)
  • canavas prints (7 sizes)

PicSquare

picsquare

I prefer picsquare coz of many options for gifts to choose from

  • Support for Picasa and Flickr
  • Free credit on first registration
  • Gift option available
  • Photos can also be uploaded even via web
  • Payment can be done via net banking or via ur tataindicom account(if u are a tata customer)
  • Couriers are delivered via DTDC or Overnite express
  • Very fast processing of 2 r 3 days usually
  • Photo paper quality too bad

Snapfish

snapfish

This site is too costly , too cumbersome to use

  • Has no support for flickr or picasa
  • Provides Credit points for first time registration
  • Uploading photos from computer requires a standalone app to be downloaded




uTorrent Speed charts

26 03 2009

After the famous rule by indian ISP of FUP , i restricted downloads and other bandwidth heavy applications. while my utorrent still used to run idle all day . Even under the idle condition they keep sending out datapackets at periodic intervals  producing nice charts.