Relatedly, I recently made a software decoder for SECAM and PAL: https://github.com/grishka/miscellaneous/tree/master/AVDecod...

Though in my case the purpose was to digitize my video tapes and teach myself about DSP.

Looks interesting... Is there an equivalent encoder that can be used with this to generate VHS footage purely in software?