How to make a continuous current from a flashing source?
simulate this circuit &ndash; Schematic created using CircuitLab

You're looking for a "monostable" or "one shot" timer with a Reset input.  More specifically, it needs to be a retriggerable monostable, so that a flashing input will keep the output "on".  Set the timeout on the timer to slightly more than one second.