Video in sync with an external MIDI Timecode

Hello,
I’m new to vvvv and i’ve just dowloaded and installed it.

My goal it to play a video (avi) in sync with an external MIDI timecode and MMC commands (midi machine coontrol commands).

From a MIDI port I get MMC commands from an external device: the commands are PLAY, STOP, LOCATE(frame HH:MM:SS:FF)

From a second MIDI Port I get MTC (midi time code) to keep in sync the video.

(The same MIDI commands are send to my pc and to the external device which produce the timecode)

Any suggestion?

Thanks a lot!