Category Archives: observation

WWW-Web Site Essentials


I was reading a book couple of months back.

That book contains what are the fields you require for a good website. I noted down the points.

  • Testimonials
  • Promotions/offers
  • Photo Gallery
  • Blog
  • A good domain name
  • A good hosting company
  • CMS
  • Content update facility
  • Social media integration
  • RSS
  • Newsletter
  • Sitemap
  • About Us Page
  • Contact Us Page
  • Location Page
  • Client List / Affiliate List
  • Site Backup Facility
  • Site Analytics
  • Email Processes
  • Press Releases
  • Download
  • Search site
  • Notifications.
  • Security

Huff!! That contain so many things. This is not all.

If a site has all these things then this is complete site for ready for users.
Then it depends that what are the target users and who will use the site.
Based on that dynamic content can be added into the site.

Happy Web.

quick ffmpeg audio-video encoding usage help


o from last 2-3 days I spent my so much time on file conversion with ffmpeg and mencoder.

After work done, I got some good links to follow for my future help and for all other readers.

The command what I tried for my use is like this

For High Quality and FFMPEG and libx264 vcodec i used this.

/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-b 1M -bt 4M -vcodec libx264 -pass 2 -vpre hq -acodec libfaac
-ac 2 -ar 44100 -ab 192k -threads 0 -s 552x311 -bufsize 200000000
-f flv -y /home/ganu/public_html/flvideo/316x.flv

Finally I used this this is working fine.

/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-r 30000/1001 -b 2M -bt 4M -acodec libfaac -ac 2 
-ar 44100 -ab 192k -s 552x311 -f flv -y /home/ganu/public_html/flvideo/316x.flv
/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-f image2 -ss 00:00:1 -s 120x90 -vframes 2
-y /home/ganu/public_html/tmp/thumbs/316/%08d.jpg

For metadata injection i used like this.

/usr/bin/flvtool2 -Uv
/home/ganu/public_html/flvideo/316x.flv
/home/ganu/public_html/flvideo/316.flv

So first say the file 316.mp4 is converted to 316x.flv. And after flvtool2 the meta information is injected and final file will be 316.flv

So this is how, the flv conversion is done.

Happy Programming. 🙂

india startup tips in proto.in


No , No I am not a strtup guy. I don’t have any thing to start now.

Yea but I can work for you. So if you have any thing to work/code/analyse/test/hack then let me know, that I can do that.

Yesterday I was watching the Official proto.in video channel and after so many days I liked the talk given my Mr. Mahesh Murthy. I really got some energy to think more for some idea and work for it. Let see.

Here i am summarizing the points what he mentioned in his talk, that will be helpful for me and other in future.

  • If you have a product in your mind don’t even bother just go ahead. Your idea is your idea and if you think is good then just go ahead.
  • Price – Price of the product is your weapon.
    • Never give lesser price to your product. Analyze the price and give the competitive price of your product. Your price would give the tension to your competitor.
    • He gave good example that if you are 20 person company then by lesser price you can never catch a 2000 person company, they will be
      always ahead.
    • Only competitive price will give tension to the opposite party.
  • User Interface – UI should be good. No compromise with UI.
    • bad, crappy UI shows the cheapness in your product.
    • Good UI will give good competition.
  • Customers – Getting customers/users for your site.
    • Any startup look for first 100 customers. If they are with feel-good-fector then automatically 100 will converted to 100*n times.
    • Get your customers/users from confs/events/get-together. At these places you can adv your product free of your cost.
    • For paid confs/events, represent your self as speaker so your will get free entry. 🙂
  • Marketing – He gave one statement, sorry I dont understant that.
    • Not necessary that more budget will give more success.
    • “Competence is a marketer, is inversely proportional to your marketing budget.” I really don’t understood this. 😦
    • “More the budget is less the brain”. 🙂
  • Be the Master
    • Be the master in your field.
    • Do some research in your field and you should be thought leader in your field.
  • Don’t follow the trends
    • You can almost never be successful by following the trend.
    • Trend is like end.

Wow, what a nice talk, you can get/see/watch/listen more talk on Official proto.in video channel.

Till then I will collect more talk and summarize this for you all and for me too. 🙂

Happy Startup. 😛

फोटो चलचित्र, मैं और flickr


flickr use करना मुझे अच्छा लगता है, हलाकि मैं इतना दमदार photographer नहीं हु, पर फिर भी काम चल जाता है.
Flickr का नाम मैंने तब सुना था जब मैं Yahoo! बंगलोर मैं था, ( अरे भाई as employee नहीं, on client side from my parent company for 3-4 months. 😐 ) सभी लोग Flickr use करते थे. बस फिर क्या था, मैंने भी Flickring करना शुरू कर दिया. 😎

लो इतना सब बता दिया पर मैं link तो दी ही नहीं, My Flickr Photos

अब ये wordpress.com वाले javascript embd tag का option तो देते नहीं है, तो फिर flickriver से अपना badge तैयार कर लिया है.

ganuullu - View my most interesting photos on Flickriver

I am using Sony DSC-W30

अब मेरे बहुत सारे दोस्त कहते है की भाई, अब Flickr का pro account खरीदने की क्या जरुरत है. तो मेरे प्यारे दोस्तों ३६५ (365) दिनों के १२६० (1260) Rs. , तो १ दिन का हो गया ३.५ (3.5) rs.
मात्र ३ और ५० पैसे ( लगभग ) प्रतिदिन, ध्यान से सोचो, कुछ महँगा सौदा नहीं है.

Any way, have fun, today I have extended my flickr pro account for 1 more year, keep in touch.

Happy Photography.

prototype and jquery conflict-clash-compatibility issue


Yesterday we got major clash/compatibility issue or conflict 😯 with jQuery and Prototype.
We were using javascript slider and menu with jQuery and some popup window with prototype window.

Searched a lot 👿 , Then finally came up with 2 solution.

  1. Every one says change in jQuery, prototype doesnt have any thing like this.
  2. we got this link solving the conflict/clash/compatibility withing jQuery and Prototype
var $j = jQuery.noConflict();

     // Use jQuery via $j(...)
     $j(document).ready(function(){
       $j("div").hide();
     });

     // Use Prototype with $(...), etc.
     $('someid').hide();

So where ever you are getting “$” change this to “$j” or any variable what ever you like.

Really, jQuery is built is such at superb way, so this proves that this is fully dynamic.

What a solution sir ji, wah!! 3 cheers to jQuery guys.

Lession learnt : first see the requirment, dont just use any js library that suites your requirment. See the dependency then go ahead. 😎

चांदनी चौक to चाइना, कुछ समझ मैं आए ना. :)


चांदनी चौक to चाइना, कुछ समझ मैं आय ना.

मना किया था, सब ने मना किया था, पर मैं  था जो मानने को तैयार ही नहीं था, सोचा चलो मैं भी ये movie देख ही लेता हु.

फिर क्या था, समय निकल ही नहीं रहा था, movie main क्या चल रहा था ?

मानो ऐसा लग रहा था की परीक्षा कक्ष मैं पर्चा दे रहे है, कुछ आता नहीं नहीं है और समय है की तीन(३) घंटे पुरे ही नहीं हो रहे है. कुछ पता नहीं पड़ रहा था, पता नहीं “कंहा पर चोटी थी और कंहा पर धोती थी “.
यकायक धयान आया – अपनी अक्ल मत लगाओ, कभी कभी लोगो की बाते भी मान लिया करो. 🙂

माननीय अक्षय कुमार जी, आपने क्या समझा था, की  singh is king की अपार सफलता के बाद, और एक pop गाना गा लेने के बाद भी ये movie हिट हो जायेगी. अरे !! जनता जनार्दन को क्या “मामू” समझा है क्या. ? 😀
और महोदया दीपिका जी, आप तो बस रहने ही दीजिये, काम पर ध्यान दीजिये. 🙂

श्रीमान निर्देशक महोदय निखिल जी, आपके अगले निदेर्शन का बे-सबरी से इंतज़ार रहेगा. 😛

तो फिर rating रहेगा 2/10

और अंत मैं पता लगा की अभी तो “चांदनी चौक तो अफ्रीका” भी है, then बस आशा ही कर सकता हु, और पूरी cc2c team को all the best दे सकता हु.

exploring mumbai for pav-bhaji


So yesterday was friday. I called my cousin After my office which is in borivali, and his office is in vikroli. I asked him dude, where to go.

He told, lets come to matunga central, you will get good pav-bhaji there. I think it was kings circle or maheshweri circle.
And I said wow, for 25 rs pav-bhaji we went all the way to matunga.

Reached there at 2230 and reached home at 0100 :D.

And at last we ended with awesome pav-bhaji, where pav is “lasan wala pav” then “eagle (goregaon) wala icecream { chiku and kesar flavor } 😛

जमीन पर चटाई बिछा रखी थी, ऐसा लग रहा था मानो पंगत मैं बैठ कर खाना खा रहे हो.
बस, फ़िर उसके बाद eagle wala ice-cream, अरे वही अपने गोरेगांव वाला eagle ice-cream. 😀

But we explored a lot that day. That is how we called as pure food junkies. 😛

Wow, nice weekend is waiting for us.

obsarvation at borivali station – railfanning


A railfan, railway enthusiast or railway buff is a person interested in an amateur capacity in rail transport.

Though I love planes too but rail fanning is another adventure.

At 2100 hrs I was at borivali station BVI.

  • 2104 IST WCAM – 2 Shatabdi Express ahmedabad mumbai. at PF 5
  • 2121 IST WCAM #21818 Ahmedabad – Dhanu Road. PF5
  • 2130 IST 9005 BCT-OKAH ( Mumbai Central – Okha ) at PF 4
  • 2140 IST WCAM #21816 Bandra Jaipur Aravali Expresee 9707 at PF 6

So you know what this WCAM means. This is the indian railway engine code.

WCAM
W – A loco which run on broad guage.
CA – Electric loco ( AC/DC ) which run on both AC/DC
M – Loco used for both passenger and goods trains.

So thats why its WCAM model. So next time if you see any engine which says WCAM then you will also get the same idea.

Now a days I am learning more about rail stuffs. I will update soon as I will learn any thing more on same.

Happy Railfanning. 🙂

%d bloggers like this: