Abhishek Gupta

The Sun won’t set at NIT Durgapur !

Archive for August, 2009

How To Convert Video File in Linux through command line

Posted by abhiitechie on August 30, 2009

Get the ffmpeg package first from the repo by

sudo apt-get install ffmpeg

Then follow the following command lines to get going


3gp to avi : ffmpeg -i source.3gp -f avi -vcodec xvid -acodec mp3 -ar 22050 destination.avi

flv to 3gp : ffmpeg -i source.flv -s 176×144 -vcodec h263 -r 25 -b 200 -ab 64 -acodec mp3 -ac 1 -ar 8000 destination.3gp

flv to mp4 : ffmpeg -i source.flv -vcodec h264 -r 25 -b 200 -ab 128 -acodec mp3 -ac 2 -ar 44100 destination.mp3

avi to mp4 : ffmpeg -i source.avi -f psp -r 29.97 -b 768k -ar 24000 -ab 64k -s 320×240 destination.mp4

mp4 to 3gp : ffmpeg -i source.mp4 -s 176×144 -vcodec h263 -r 25 -b 12200 -ab 12200 -ac 1 -ar 8000 destination.3gp

avi to 3gp : ffmpeg -i source.avi-s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y destination.3gp

mpg to 3gp : ffmpeg -i source.mpg -s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -ab 32 -y destination.3gp

Enjoy !

Posted in linux, Personal | Tagged: , , , , , , , , , | 5 Comments »

All about QFlicks

Posted by abhiitechie on August 16, 2009

Hi people , this post is all about a project which I started roughly a month ago by the name of “QFlicks”. It was named so because the graphics library I chose to use is the popular Ot and the  application is a movie collection cataloger which scans the disk for media files and gets film informations (duration, plot, cover ,rating ,poster cover , casts  etc) from the popular Amazon’s http://imdb.com or the Internet Movie Database . It also allows the user to filter his possessions based on movie titles,genre,ratings  , seen or unseen etc.

The later versions of the software will witness subtitle downloader extention and many more.

Here are the basic features which I plan to inmplement in version 1.0

  • Scanning user-chosen directories to find media files (films in a first time)

Status : Done

How : Used a recursive OS walk algorithm to extract movies from all folders , sub-folders , sub-sub folders etc.

  • Extracting film titles from file names (tough one if files are not properly named)

Status: Done

How: Using Neural Network algorithms and and basic Regular Expression.

  • Create a list of these names in a database get films information (duration, plot, poster cover , rating , casts etc) from imdb

Status : Done

How: Used a library named IMDBPy as imdb.com does not provide and API (Another example of Amazon’s miserness). The database used is MySQL which experienced developers feel is a wrong choice for desktop.

  • display films list and information of the selected one

Status: Done

  • basic settings handling

Status: More or less done until someone comes out with bugs

  • Filtering based on genre , title ,rating seen or unseen etc.

Status: Not Done

To Do: Learn multiple substring search in SQL ( SQL sucks , I hate it)

  • Clean and simple gui

Status : The Gui is simple but not clean and hangs as I have not implemented the Multi-threading

To Do : Learn Multi-threading and make the network call fuctions run in separate threads in the background and also need to implement customized Progress Bars for UI

Plugins (towards upper versions):

  • subtitle downloader
  • playlist manager
  • automatic new files inclusion (directory survey)
  • music album and video series handling

Tools Used:

  • Python as the Programming Language
  • Qt as Graphics Library
  • QtDesigner for the Gui
  • SVN as versioning program
  • MySQL as database software
  • IMDBPy as the library
  • GPLv3 licence

Here is the screen-shot of my Work :
Screenshot
The sourceforge Link for the project is :

Get the source from the Repository :

Current OS Support :
Gnu/Linux with Qt >= 4.5 and MySQL >= 5.0

Newbies who don’t know how to use SVN or are facing problems with code can mail me at
mailto: abhii.cse.nitdgp@gmail.com

The project is likely to see its first release on 24th of August 2009

Posted in mysql, Personal | Tagged: , , , , , , , , , , , , , , , | 4 Comments »

“Kya Apke toothpaste me Namak Hai ?”- I love facebook

Posted by abhiitechie on August 9, 2009

I was onto my usual facebook quizzes when my eyes fell on my friend Govind’s status which asked

“Kya Apke Toothpaste me namak hai ??”

This was enough to provoke something like this (see below) with the help of some more contributors namely my friends Alok Sharma and Piu Chatterjee .

Here is the list of the worst television advertisements ever…….

Govind Daga Kya aapke toothpaste mein namak hai!!??

about an hour ago · Delete
Alok Sharma
Alok Sharma

Bloody ghatiya advertisement 😀
about an hour ago
Richi Parasrampuria
Richi Parasrampuria

Naa.. Mere toothpaste me bi namak nai hai.. 😛
about an hour ago
Govind Daga
Govind Daga

@ Abhishek : Canteen theke noon ne ar tooth paste e diye de.. Same effect, provided you use a toothpaste…

@ Alok : You cant use ” 😀 ” smiley if you dont have namak in your toothpaste… Haan, advertisement to amazingly ghatiya hai… lolz. Makes me go ROFL whenever I see it..

@ Richi : The salt gods are going to curse your teeth~!

about an hour ago
Alok Sharma
Alok Sharma

The ad creates such hype…!u see…if u eat healthy everyday…stay healthy…wtf toothpaste mein namak…do u think our ancestors had namak in their toothpastes??or moreover…toothpaste bhi tha kya… 😀 ……!!
about an hour ago
Govind Daga
Govind Daga

+ it makes you think that if you do “aaaah” with your face on the cheek then a beautiful girl might come into the room or wherever you are…!! Chor log!!
about an hour ago
Abhishek Gupta
Abhishek Gupta

kya aapke toothpaste me namak hai???!!!

few months later…
kya aapke toothpaste me kaali mirch hai???

about an hour ago · Delete
Abhishek Gupta
Abhishek Gupta

Student sleeping. Wakes up with a start. Cries out loudly,
Grandmother enters.
Granny : “Beta kya hua?? Koi bura sapna dekha??”Kid: Haan daadi, maine dekha, ke mere daaton main bahut dard hain aur main exam nahi de pa raha hoon….”
Granny : Beta, pareshan mat ho. Hamare desh main sadiyo se namak ki madad se daaton ka khayal rakha jaata hain. Tu
bhi namak se apne daat saaaf kar, tujhe kabhi dard nahi hoga
about an hour ago · Delete
Govind Daga
Govind Daga

jyada future mein gaya to we would be using Biryani to clean our teeth~!
about an hour ago
Abhishek Gupta
Abhishek Gupta

tata sky ad………ispe laga dala to life jhingalala
about an hour ago · Delete
Govind Daga
Govind Daga

Plane scene..
Passenger has something that is too much for his gums. Cries out loudly.
A *very pretty lady* comes in with a mic andh a camera crew.

Lady: Kya aapke masooron mein dard hai?… Read More

about an hour ago
Govind Daga
Govind Daga

Tata sky ads ka mera fav line : “Blllooodddiii Picckturee Qwallttyy!!”
about an hour ago
Abhishek Gupta
Abhishek Gupta

the thing to be noticed here is that it is a Plane scene … very inovative
about an hour ago · Delete
Govind Daga
about an hour ago
Abhishek Gupta
Abhishek Gupta

duniya ke sabhi dentist sirf issi toothpaste ko hi is temaal karte hain “indian dental assosiation dwara pramanit”=====pepsodent !!! Is there really an Indian Dental Association
about an hour ago · Delete
Govind Daga
Govind Daga

That is indeed a very good question~! And id it is, they discuss about which toothpaste is the best… Yawn~!
about an hour ago
Abhishek Gupta
Abhishek Gupta

Pepsodent Toothpaste :: raat bhar kitaanoo ke sath..dhisum dhisum dhisum dhisum
about an hour ago · Delete
Govind Daga
Govind Daga

People may buy these fancy products but for me it is : Dabur Lal Dant Manjan and they always have a free gift..
about an hour ago
Abhishek Gupta
Abhishek Gupta

kya aap close up karte hai?
……aap close up kyun nahi karte hain? (all in nasal tone)
about an hour ago · Delete
Govind Daga
Govind Daga

And believe me on this one : There is a brand, most prolly Colgate powder, that “SUNIEL SHETTY” endorses… Who on Earth would but that?????????????????????? ?
about an hour ago
Abhishek Gupta
Abhishek Gupta

I got this from net :
Tata Indicom: With Ajay Devgan in double roll! And the dumbwitted kajol too

‘Firangi log aaye hain, bijeneshh laaye hain!
Chineesshhh, Japaneeshh, Thank you pleasssh, Badtameesh!’ :pound:

about an hour ago · Delete
Abhishek Gupta
Abhishek Gupta

I am loving facebook very much
about an hour ago · Delete
Govind Daga
Govind Daga

We need to have FACEBOOK ads too…. lolz. Facebook toke Creative Director niye nebe~~!! lolz… Hamare ko bhi job wob dilaiyega!!
about an hour ago
Abhishek Gupta
Abhishek Gupta

Kya Lux Cozy wakai Lucky hai chachoo” A boy asks Sunny Deol…
and suddenly some SAMOSAz come…….

Kuch Bhi…Kahin Bhi :

about an hour ago · Delete
Govind Daga
Govind Daga

Are woh SUNNNNNY DEOL hai bhai~~!!
What about : Sawd Sugandh ka raja….. Badshah Masala!!!
59 minutes ago
Abhishek Gupta
Abhishek Gupta

and how about Zandu Kesari Jeevan
51 minutes ago · Delete
Govind Daga
Govind Daga

Belmont Academy of Style!!!!!
50 minutes ago
Alok Sharma
Alok Sharma

Sanjay dutt and TMT sariya 😀

and do u think amitabh eats dabur chyawanprash???..or navratan cool cool oil??

49 minutes ago
Govind Daga
Govind Daga

If he were to be using those actually he would have been charging 50 times more…
48 minutes ago
Alok Sharma
Alok Sharma

Ye to bada toing hai….;)…now for god’s sake…wtf is this toing???
48 minutes ago
Piu Chatterjee
Piu Chatterjee

i dont like salty toothpastes…i love the taste of close-up and pepsodent…!!!! 😛 *sheepish grin*
48 minutes ago
Govind Daga
Govind Daga

The SALT GODS!!!!
*Yeh to bada toing hai* ——– ULTIMATE!!!!!!!
46 minutes ago
Alok Sharma
Alok Sharma

Lol……!!!…feels like raymond…the complete man…since 1925…so before that,u can imagine-never was a complete man ever….:D…
45 minutes ago
Abhishek Gupta
Abhishek Gupta

kya apke pass hai…meter wala pen?
45 minutes ago · Delete
Govind Daga
Govind Daga

Sabki Pasand — Manikchand!!!
44 minutes ago
Alok Sharma
Alok Sharma

Ye andar ki baat hai….lux andarwear;)…wear a chaddi baniyan and girls go gaga over u…and u beat so many hatta katta ppl…..
43 minutes ago
Abhishek Gupta
Abhishek Gupta

@Alok :
‘toing’ may have something to do with the tensile strength of the elastics used in underwears
43 minutes ago · Delete
Govind Daga
Govind Daga

*Toing might also be…..*

** Munh mein Rajnigandha, kadamon mein duniya **

41 minutes ago
Alok Sharma
Alok Sharma

……..bsnl’s ads….-ultimate!!2mbps superspeed…bsnl is all we need:D….bloody weed!!!…..
41 minutes ago
Piu Chatterjee
Piu Chatterjee

*toing* is a verry subtle yet wierdly cheap was of describing what sex appeal the males exude after they wear tham blasted briefs!
p.s – i do not like the briefs advertiesment billboards staring down at me from the streets!!!! :O
40 minutes ago
Alok Sharma
Alok Sharma

Lycra…do u have it???
39 minutes ago
Govind Daga
Govind Daga

@ Piu : They are not staring at you… They are staring at……
38 minutes ago
Alok Sharma
Alok Sharma

Ganesh sattu!!!
37 minutes ago
Govind Daga
Govind Daga

Boroplus and Kareena Kapoor : Dulhe ke yaar thoda Boroplus lagale… What people would do for money !!!!
36 minutes ago
Alok Sharma
Alok Sharma

Jab ghar mein ho sun…tan tana tan…..god…there should have been another tan at the end for rhyming pleasure atleast!!
33 minutes ago
Alok Sharma
Alok Sharma

Imagine kishan kumar in an ad…wid all the glamor babes around….raymond-the complete man!!!…….
31 minutes ago
Abhishek Gupta
Abhishek Gupta

Cheetah bhi peeta hai
30 minutes ago · Delete
Govind Daga
Govind Daga

Chup chup ke kyun ladkiyon ki cream lagaye…??? 😛
29 minutes ago
Alok Sharma
Alok Sharma

Bru-sip lick hmmm……..is that really coffee????
29 minutes ago
Abhishek Gupta
Abhishek Gupta

Miss Palanpur… Radha Ms. Palanpur ban gai… kitne saare gaavon se log aae the.. Ab toh ye filmein bhi karegi… Kuch meetha ho jaaye…
28 minutes ago · Delete
Alok Sharma
Alok Sharma

Hum chlormint kyun khaatey hain???now if no one knows the reason,stop eating!!why beat the ones who eat:D
27 minutes ago
Govind Daga
Govind Daga

WHAT ABOUT THE TOILET CLEANING ADS?????? esp. the ones by infamous Aman Verma… 😀
27 minutes ago
Govind Daga
Govind Daga

@ Alok : =))
26 minutes ago
Alok Sharma
Alok Sharma

Meetha hai khaana aaj pahli tareekh hai……???now what really is that??!!
25 minutes ago
Govind Daga
Govind Daga

Tide hai to White hai… **Swwwwwoooooosssssshhhhh**
24 minutes ago
Alok Sharma
Alok Sharma

Kal raat…kal raat maine precaution nahin liya….UNWANTED 72….
23 minutes ago
Govind Daga
Govind Daga

‘eeeeeeeeeeeeeeeeeeeeeeeeeeeeee’
22 minutes ago
Alok Sharma
Alok Sharma

Tedha hai par mera hai…..is that really kurkure u r talking abt????????
22 minutes ago
Govind Daga
Govind Daga

“Paragon lagu babuji” — Pairon ke liye Paragon!!!
21 minutes ago
Alok Sharma
Alok Sharma

Set wet….and the styles they show r like eeeeeeeeeeuk!!!just wid hairstyle ladki mil jaayegi????
20 minutes ago
Govind Daga
Govind Daga

Fair and Lovely Ayurvedic: A woman becomes supermodel after her father gives ayurvedic treatment. Why did the father not give her the same treatment earlier?
18 minutes ago
Alok Sharma
Alok Sharma

Best ad-and really nice-mentos-dimag ki batti jala de-the donkey monkey thing!
17 minutes ago
Abhishek Gupta
Abhishek Gupta

Swagat Baniyaan:: A bearish kind of man…I call him that coz of hair on his body , wears swaagat and a lady in backgroundg says ”Peheniye Swaagat Shriman”
16 minutes ago · Delete
Govind Daga
Govind Daga

Best is the Naukri.com wala ad : HARI SADU : H for Hitler, A for arrogant, R for Rascal, I for Idiot…. Now SADU…
15 minutes ago
Alok Sharma
Alok Sharma

Santan dosh…sautan ka lafda…business problems…health samasyaen…call karein baba pasha…fee only 100rs….
13 minutes ago
Abhishek Gupta
Abhishek Gupta

Voltas AC : India ka AC , Korea ka nai
12 minutes ago · Delete
Alok Sharma
Alok Sharma

That’s nice!true
12 minutes ago
Alok Sharma
Alok Sharma

Walk when you talk..
11 minutes ago
Alok Sharma
Alok Sharma

Chocolate axe??????just by spraying any deo???girls are so cheap???literally??
9 minutes ago
Govind Daga
Govind Daga

The English Guru ads…. Man have sat through the entire ads….. 😛
8 minutes ago
Alok Sharma
Alok Sharma

Haldiram prabhuji ke????kya;)
7 minutes ago
Govind Daga
Govind Daga

lolzzzzz…..
7 minutes ago
Govind Daga
Govind Daga

Jab hasin ke mauke aate hain… fatfatya kyun aap chalate hain.???
6 minutes ago
Abhishek Gupta
Abhishek Gupta

safffedi tujhe salaam..safedi tujhe salaam.
3 minutes ago · Delete
Govind Daga
Govind Daga

26 comments to 100~~!!!
2 minutes ago
Abhishek Gupta
Abhishek Gupta

hey put this to your blog , titled Worst Tele-Ads
about a minute ago · Delete
Govind Daga
Govind Daga

Yeah… Was thinking about it… And credits to the contributors too… 😛
14 seconds ago


All this went on for about an hour and half till we decided – lets stop and make this PIECE OF ART available to AAM JANTA through my blog.

Credits : Govind , Me , Alok and Piu

CopyLeft – All rights unreserved

Credits :

1. Govind Daga (Initiator)

2.Abhishek Gupta

3.Alok Sharma

4.Piu Chatterjee

Posted in Personal | Tagged: , , , , | 2 Comments »