<!– something random just like junk – yard –>

quick ffmpeg audio-video encoding usage help

Posted in LAMP, learning, linux, observation, opensource, tips, ubuntu by ganu on July 18, 2009

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

Posted in india, learning, meetup, observation, tips by ganu on May 24, 2009

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. :P

gnome-blog for wordpress.com blogs

Posted in linux, opensource, tips, ubuntu by ganu on February 16, 2009

This post will prove that, what I am writing from gnome-blog is successfully updated and uploaded.

editing again to say its success, and some more changes.

Directly this will not support ???.wordpress.com blogs. So for that in the preferences set

Blog Type : Self-Run Other
Blog Protocol : MetaWeblog
XML-RPC URL : http://{blogname}.wordpress.com/xmlrpc.php

Actually I am talking about this – gnome-blog

Happy Quick Blogging. :D

Tagged with: , , , , , ,

PHP & MySQL quick search bookmarklets

Posted in LAMP, learning, opensource, tips by ganu on January 25, 2009

If you want to quick search to MySQL, here is the fast quick bookmarklet

javascript:q=document.getSelection();
if(!q)void(q=prompt('MySQL%20Keyword:',''));
if(q)location.href='http://search.mysql.com/search?q='+escape(q)

And the same goes for PHP too same like above…

javascript:term=document.getSelection();
if(!term)void(term=prompt('PHP%20Keyword:',''));
if(term)location.href='http://in2.php.net/'+escape(term)

Happy Programming. :D

3 milestone of any software company, thoughts…

Posted in General, tips by ganu on November 24, 2008

Y’day me and my colleague yogesh salvi were discussing during daily morning tea outside our office.

3 things can be rarely achieved in software industry. 

  1. reliability - more reliable project which is perfect what client is looking for.
  2. speed – finish the project ASAP and meet the dead line.
  3. cost – get sufficient money what you are looking for.

I think for any one point one has to sacrifice.
I think if any software company can achieve all 3 points one at a time, then hats off to all staff.

Technorati Tags: , , , , , , , , , , ,

tips for a succesull job – funny saying. :: सफल नौकरी करने के कुछ नुस्खे (

Posted in Timepass, fun, hindi, learning, tips by ganu on September 15, 2008

नीचे की कुछ पंक्तिया मेरी लिखी हुई नही है, मैंने उसका सिर्फ़ हिन्दी अनुवाद किया है. …

सफल नौकरी करने के कुछ नुस्खे
१. बने रहो पगला, काम करेगा अगला.
२. काम से रहो गुल, त्वन्ख्वा पाओ फुल.
३. मत लो टेंशन, वरना परिवार पायेगा पेंशन.
४. काम से डरो नही, और काम को करो नही.
५. काम करो या न करो, काम के फिक्र जरुर करो.
और फिक्र करो या न करो, जिक्र जरुर करो.

जनहित मैं जारी.

Technorati Tags: , , , , , , , , , , ,

Tagged with: , , , , , ,