I'm after a little advice, please, with regard to a job that I've been asked to do at VWorker.
Basically their company manufactures a little box that logs data electronically about a cars performance. Recently, they have decided to provide a facility whereby video footage is linked to the logged data. The idea is that somebody can click on a point in a graph of the logged data and see the corresponding frame from the accompanying video. BUT! The video camera and the data logger are in no way linked and the point at which the data begins to be logged is not necessarily the same point in time that the video camera started recording. As a solution to this, they have devised an approach whereby the camera's mic socket is shorted-out to signify that data-logging has commenced.
In summary (still with me? LOL), there is a video file for each logging session wherein, somewhere in the audio track, there is an audible pop.
Anyway, onto my proposed solution, which determines how much effort is required on my part:
- Extract audio from the Video File to a WAV (using DirectShow File Writer)
- Analyse the amplitude of each audio sample in order to identify mic short-outs
- Store the Start and End points identified above, to be used later for frame-seeking
I know this is all kinda wordy, but I want to get these points across as this is all non-trivial stuff in VB6. The tenderer privately offered me $200 to do this work but I am of the opinion that this is too low: DirectShow is complicated at the best of times and doesn't play well with VB6. Besides that, the audio analysis is non-trivial too and the solution also requires me to develop a player.