Friday, December 03, 2010

Hidden Snake Game on YouTube

Don't know if any of you guys already know this, but there is a hidden Snake Game on th e YouTube player. How to play it? Follow these steps :

1. Open a youtube Video

2. Hold left button of muse + left arrow on keyboard + top arrow on keyboard

Thats it!

If you hit the sides of the video, the game will be over.

Monday, June 21, 2010

Introducing Triton Player

I am quite happy to introduce Triton Player, the current project that i am working on. This will be an extension of the eMplayer that was done with HTA technology using Javascript and some C code some time back. This time, the development is taking flight using Adobe AIR Technology. The most important feature that I am trying to add is Twitter integration using OAuth.


The logo for the application has been designed using Illustrator and Fireworks. The logo features a Trident with supposedly sound waves emanating from it. A sample UI Screenshot of the application's current state on my desktop is given below.
I am unable to say whether like eMplayer that this project will also come ot of Beta or if ever it would be complete. So this project would mostly be a non-release-to-public project. Lot of features are planned but i still have no idea about the completion of this one.

Add separate audio to a video file using FFMPEG

There was a need to put the "Wavin Flag" song with a video of football tricks and stuff. So i turned to FFMPEG. After tinkering with the command line parameters as much as i could do, I found the easy way is to specify the audio file and the video file as inputs and FFMPEG gave me a single video file with the desired result.

The syntax woule be

ffmpeg -i input_audio.mp3 -i input_video combined_video

Take a look at the example command.

ffmpeg.exe -i audiofile.mp3 -i source_video.mpg -b 800k output.mpg

I used -b 800k, to make sure that the output video would be with 800kbps bit rate.

Saturday, May 22, 2010

Extract Audio from FLV file and save as MP3 with FFmpeg

I had to extract MP3 from an flv video a few days back. Luckily i had FFmpeg. Since i had the command line version only, i had to dig deep to find the commands to get my task done.

The command that i used is : 

D:>ffmpeg.exe -i

This will process the video file and out put the audio at a rate of 64kbps. Although the flv contained audio at 128kbps, the result i got was only at 64kbps. 

In order to copy the sound channel directly and save it as mp3, we can use this

D:>ffmpeg.exe -i “D:\testVideo.flv” -acodec copy “D:\audio_from_video.mp3”

The option "-acodec copy" results in FFMPEG copying the audio stream present to the output file without processing it.

About FFmpeg

FFmpeg is a collection of software libraries that can record, convert and stream digital audio and video in numerous formats. It includes libavcodec, an audio/video codec library used by several other projects, and libavformat, an audio/video container mux and demux library. The name of the project comes from the MPEG video standards group, together with "FF" for "fast forward".

FFmpeg takes care of all the hard work of video processing by doing all the decoding, encoding, muxing and demuxing for you. This can make media applications much simpler to write. It's simple, written in C, fast, and can decode almost any codec you'll find in use today, as well as encode several other formats.

FFmpeg Website

Sunday, May 02, 2010

Shift

Its been a long time since i have created any blog posts on blogger. In fact i think its been more than 2 years now. Mainly because of the fact that i completed my studies and joined a software company back in Feb 2009. Had training for 6 months in Mysore and i had limited net access. So when i got access to net it was mostly to check mail, orkut and facebook. But i created a blog in our company intranet and do find time to post in that occasionally. But never had time to update my blog in the outside world, although not much people follow it.

In case you may be wondering whats the shift in the title, well i am getting to that. After 6 months of training at Mysore i got posted to Chennai. And now my home town has been shifted to Cochin, Kerala from Kottayam, Kerala. A number of factors were there when my family decided to shift. And now it gives me a lot of options to travel to my family and spend more time. 

So thats about it. :)

Saturday, May 01, 2010

Revamp in order

Over the past one and a half years, my life, perspectives, likes, dislikes and even thoughts have come leaps and bounds. So i believe a quick revamp is in need for my blog also. Feel free to comment me on the changes that you see.

This will be my 49th post. Incidentally it is a number mostly associated with my favorite football club that is arsenal. Arsenal had gone 49 consecutive Premiere League games unbeaten from 2003 to 2005 - a national record. Speaking of arsenal, i have become infected with Arsenalitis it seems. It has become a part of my blood, thoughts and life. So this 49th post is dedicated to the team that plays the best football in all the land :)

I was able to buy a sony cyber shot camera last year and have been experimenting with my photography interests for some time now. Most of my better efforts have been uploaded in mu Orkut and Facebook albums.

Opera has come out with version 10 and i had been following all the great developments from them all throughout. I use Opera mini 5 from my mobile device and it is an absolutely wonderful product. Fantastic UI design, navigation and exceptional usability makes me think that Opera have done it this time. What more can they do to improve. Will have to wait and see.

Will post more soon, chow