I am trying to make a Composite Video Sync Pulse generator with the Help of a micro Controller STM32 ,
I have a wireless video source that is transmitted from a VTX So there is a PAL Camera that is connected to the VTX . From the other side i have a VRX (receiver) that is connected to a monitor. When the video signal goes bad , Synch Loss , tearing, rolling etc , So i need to regenerate the Synch Pulses into the video out just as it was when the video was crystal clear and solid , in order to stabilize the image...
What i have done so far.
-I can generate PAL or NTSC signal pulses from my Micro Controller.
-I can get the Horizontal and VErtical synch pulses with the LM1881 from my video source.
i tried programmatically to monitor the timing for the Hsynch and Vsynch from the LM1881 while the video was Crystal clear, and right after that i tried to push back the "cloned" sync pulses with my micro controller , but it doesn't seem to synchronize, because i cant see any deference in the image.
SO before i start digging more into the code ,
First of all , id like to know from you guys if what i am trying to do is possible,
is there an IC that does this dirty job? (take a Composite video in and spit out a synced ,stable signal out?)