Archive for November, 2009

Video in ASCII using VLC, SSH and refine with ffmpeg

This is how a video looks in ASCII.



How did we achieve it ?

- Login to a remote machine using ssh

- play a video using cvlc ( command line vlc )

- record the video using istanbul session recorder ( if u are in linux )

- convert it to mp4 format using ffmpeg

ffmpeg -i file.ogg -sameq  file.mp4

- Overlay the sound using ffmpeg and .mp3 of the same video. As in the sound would have played on remote machine and hence istanbul session recorder would not capture it.

ffmpeg -i file.mp4 -map 0.0 -i file.mp3 -map 1.0 -acodec copy -vcodec copy -ab 128k -ar 44100 file.mp4

- Crop the video, if you want to remove stuffs of your desktop before upload

ffmpeg -i output.mp4 -croptop 50 -cropbottom 50 output1.mp4

Tags : , , ,

How to make Bhelpuri at home in few easy steps !

Bhelpuri, the exotic Indian snacks can be prepared easily at home in the following easy steps.

=> Get a large packet of Haldiram Bhujia Sev

From Food

=> Get two tomatoes, two onion, 4 lemons, 1-2 green chillies, black pepper powder etc

From Food

=> Cut the tomatoes and onion in small pieces and lemon into 2 halves as shown below

From Food

=> Mix onion and tomatoes in a large bowl

From Food

=> Add black pepper ( don’t add too much of it, as it may upset the stomach)

From Food

=> Squeeze all the lemon in a different bowl and remove the seeds

From Food

=> Empty the haldiram bhujia sev pack in the bowl containing onion and tomatoes

From Food

=> Add the lemon juice in the mixture and mix well.

From Food

=> Add topping of coriander leaves and nicely cut green chillies, mix well and it is ready to serve

From Food

The chef can be reached here

Tags : ,

Huntplace – The idea, reason and future

Travelling, excursions, adventures who doesn’t like them . A vast chunk of population likes to freak out on  small adventurous trips on weekends. The reason for this drive is to get rid of the mundane and mechanical cycle of office-home-offce and destress oneself. But the major question that arises is where to go? why this one and why not that one ? what kind of place is it ( historic, nature, modern etc).   How do we decide on this, googling and talking to colleagues. After all this exercise of mining tonnes of pages and talking to bunch of friends, the decision becomes more difficult. Differences of opinion starts among the group.

Huntplace as the name suggests let’s you hunt for the place where you want to go . It basically aggregates/mines the data from resourceful and rich web applications like Flickr, Youtube, Wiki, etc. and makes your life easier. Instead of stumbling upon those stale and old sites, get the data from the popular and reliable sources. It is a mashup that calls the pulic APIs and let’s u explore your travel destination based on the content received.

The whole idea is in a very early phase and has been implemented. There are bunch of enhancements and ramifications that can be done.

Tags :