Although not principally intended for use with video editing, this new Windows software will convert a Midi file into a CSV file; including the realtime (in seconds) of each midi event.
For video users, the CSV can also include a calculated Frame number for each event. I have also included a small demonstration of the data being used to generate an Adobe After Effects script can be used to display all the notes; in time with the music. (Separate Layers exist for each Note and MidiChannel, notes 'appear and disapear' by changing the Opacity of the relevent Layer when the Note starts or ends).
"MIDIanal" is free from
http://www.tima.demon.co.uk/midianal.htm