Using Arduino for time base correction (TBC) for analog video?

Ok thanks. How might we achieve an inexpensive DIY time base corrector (and frame stablization would be a nice added feature) from a microcontroller or otherwise commonly available parts?
Thanks again