Guys...! I'm a complete newbie to this area of audio/video formats/codecs, their players, their exposed APIs, etc. Would greatly appreciate your patience as well as advice on this question of mine.
Question: Almost all audio/video players show time-passage information in hh:mm:ss format. I want to be able to register a callback of mine -- which could either be a Java/applet callback or a Javascript callback -- which gets called at every 'time tick' and runs my custom code. Perhaps it's not a time tick but a 'frame-passage' event in the lingo of codecs. Perhaps, these codecs/players allow you to even specify the frequency of callback (every so many frames or seconds)...
Secondly, I wish to be able to do this for both recorded content as well as live/streaming content.
What opensource software, tools, APIs, 'concepts', etc I should be looking at? I'd like to be able to handle the most popular formats such as flv, avi, mp3, mpeg. Ideally, I would prefer to deal with something in Java / Javascript.
Not sure where to start. A sample, a code snippet, or even just the process/steps I need to follow would be a great help. Thanks again.