Stream from Camera, edit frame and save as mp4

I had only quickly tried and sure it would require some extra work, but if this might help you may try this.